Class OutgoingRestInterceptor

java.lang.Object
dev.inspector.spring.interceptors.rest.OutgoingRestInterceptor
All Implemented Interfaces:
org.springframework.http.client.ClientHttpRequestInterceptor

@Component public class OutgoingRestInterceptor extends Object implements org.springframework.http.client.ClientHttpRequestInterceptor
  • Constructor Details

    • OutgoingRestInterceptor

      public OutgoingRestInterceptor()
  • Method Details

    • 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