Class Constants


  • public final class Constants
    extends java.lang.Object
    Constants.
    Author:
    Remy Maucherat
    • Constructor Detail

      • Constants

        public Constants()
    • Method Detail

      • getMethodForCode

        public static final java.lang.String getMethodForCode​(int code)
        Converts an AJP coded HTTP method to the method name.
        Parameters:
        code - the coded value
        Returns:
        the string value of the method
      • getHeaderForCode

        public static final java.lang.String getHeaderForCode​(int code)
        Converts an AJP coded HTTP request header to the header name.
        Parameters:
        code - the coded value
        Returns:
        the string value of the header name
      • getResponseHeaderForCode

        public static final java.lang.String getResponseHeaderForCode​(int code)
        Converts an AJP coded response header name to the HTTP response header name.
        Parameters:
        code - the coded value
        Returns:
        the string value of the header
      • getResponseAjpIndex

        public static final int getResponseAjpIndex​(java.lang.String header)