Class SeataRestTemplateInterceptor

java.lang.Object
com.alibaba.cloud.seata.rest.SeataRestTemplateInterceptor
All Implemented Interfaces:
org.springframework.http.client.ClientHttpRequestInterceptor

public class SeataRestTemplateInterceptor extends Object implements org.springframework.http.client.ClientHttpRequestInterceptor
Author:
xiaojing
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.http.client.ClientHttpResponse
    intercept(org.springframework.http.HttpRequest httpRequest, byte[] bytes, org.springframework.http.client.ClientHttpRequestExecution clientHttpRequestExecution)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.http.client.ClientHttpRequestInterceptor

    andThen, apply
  • Constructor Details

    • SeataRestTemplateInterceptor

      public SeataRestTemplateInterceptor()
  • Method Details

    • intercept

      public org.springframework.http.client.ClientHttpResponse intercept(org.springframework.http.HttpRequest httpRequest, byte[] bytes, org.springframework.http.client.ClientHttpRequestExecution clientHttpRequestExecution) throws IOException
      Specified by:
      intercept in interface org.springframework.http.client.ClientHttpRequestInterceptor
      Throws:
      IOException