Class UseHttpForHttpsProcessor

    • Constructor Detail

      • UseHttpForHttpsProcessor

        protected UseHttpForHttpsProcessor()
        Constructor.
    • Method Detail

      • extraValidation

        protected void extraValidation​(java.util.List<java.lang.Throwable> validationErrors,
                                       Configuration configuration)
        Description copied from class: AbstractProcessor
        Perform any extra validation a subclass may need to perform.
        Overrides:
        extraValidation in class AbstractClientHttpRequestFactoryProcessor
        Parameters:
        validationErrors - a list to add errors to so that all validation errors are reported as one.
        configuration - the containing configuration
      • setPortMapping

        public void setPortMapping​(java.util.Map<java.lang.Integer,​java.lang.Integer> portMapping)
        Set the https port to http port mapping.
        Parameters:
        portMapping - the mappings to add.
      • setHosts

        public void setHosts​(java.util.List<java.lang.String> hosts)
        Set the patterns to use for selecting the hosts to apply the https -> http mapping to.
        • If the host starts and ends with / then it is compiled as a regular expression
        • Otherwise the hosts must exactly match
        Parameters:
        hosts - hosts to match. Can be regular expressions