Class ConfigClientRequestTemplateFactory.GenericRequestHeaderInterceptor

    • Constructor Detail

      • GenericRequestHeaderInterceptor

        public GenericRequestHeaderInterceptor​(Map<String,​String> headers)
    • Method Detail

      • intercept

        public org.springframework.http.client.ClientHttpResponse intercept​(org.springframework.http.HttpRequest request,
                                                                            byte[] body,
                                                                            org.springframework.http.client.ClientHttpRequestExecution execution)
                                                                     throws IOException
        Specified by:
        intercept in interface org.springframework.http.client.ClientHttpRequestInterceptor
        Throws:
        IOException