Class Constants

java.lang.Object
org.apache.coyote.ajp.Constants

public final class Constants extends Object
Constants.
Author:
Remy Maucherat
  • Field Details

  • Constructor Details

    • Constants

      public Constants()
  • Method Details

    • getMethodForCode

      public static 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 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 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 int getResponseAjpIndex(String header)