Class DecorateClientHttpRequestInterceptor

java.lang.Object
com.huaweicloud.common.adapters.web.DecorateClientHttpRequestInterceptor
All Implemented Interfaces:
org.springframework.core.Ordered, org.springframework.http.client.ClientHttpRequestInterceptor

public class DecorateClientHttpRequestInterceptor extends Object implements org.springframework.http.client.ClientHttpRequestInterceptor, org.springframework.core.Ordered
  • Constructor Details

  • 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
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered