Class DefaultSapPassportRequestDecorator

    • Constructor Detail

      • DefaultSapPassportRequestDecorator

        public DefaultSapPassportRequestDecorator()
    • Method Detail

      • decorate

        public org.springframework.http.HttpEntity<java.util.Map<java.lang.String,​java.lang.Object>> decorate​(org.springframework.http.HttpHeaders httpHeaders,
                                                                                                                    java.util.Map<java.lang.String,​java.lang.Object> payload,
                                                                                                                    DecoratorContext context,
                                                                                                                    DecoratorExecution execution)
        Description copied from interface: OutboundRequestDecorator
        Decorates an Outbound request
        Specified by:
        decorate in interface OutboundRequestDecorator
        Parameters:
        httpHeaders - The headers to be used for the outgoing request.
        payload - The payload used for the request
        context - Some extra information that can be used by decorators.
        execution - The execution chain.
        Returns:
        An HttpEntity containing the result of the decoration. Normally by calling execution.createHttpEntity()
      • setSapPassportService

        public void setSapPassportService​(SapPassportService sapPassportService)