Class ForwardedSchemeHeaderRule

public class ForwardedSchemeHeaderRule extends HeaderRule
Set the scheme for the request
  • Constructor Details

    • ForwardedSchemeHeaderRule

      public ForwardedSchemeHeaderRule()
  • Method Details

    • getScheme

      public String getScheme()
    • setScheme

      public void setScheme(String scheme)
      scheme - the scheme to set on the request. Defaults to "https"
    • apply

      protected String apply(String target, String value, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Description copied from class: HeaderRule
      Apply the rule to the request
      Specified by:
      apply in class HeaderRule
      target - field to attempt match
      value - header value found
      request - request object
      response - response object
      The target (possible updated)