Class ForwardedSchemeHeaderRule


public class ForwardedSchemeHeaderRule extends HeaderRule

Sets the request URI scheme, by default https.

  • Constructor Details

    • ForwardedSchemeHeaderRule

      public ForwardedSchemeHeaderRule()
  • Method Details

    • getScheme

      public String getScheme()
    • setScheme

      public void setScheme(String scheme)
    • apply

      protected Rule.Handler apply(Rule.Handler input, String value)
      Description copied from class: HeaderRule

      Invoked after the header matched the Request headers to apply the rule's logic.

      Specified by:
      apply in class HeaderRule
      Parameters:
      input - the input Request and Handler
      value - the header value
      Returns:
      the possibly wrapped Request and Handler