Class IrDataClientImpl.StatefulRestTemplateInterceptor
- java.lang.Object
-
- de.bausdorf.simracing.irdataapi.client.impl.IrDataClientImpl.StatefulRestTemplateInterceptor
-
- All Implemented Interfaces:
org.springframework.http.client.ClientHttpRequestInterceptor
- Enclosing class:
- IrDataClientImpl
public static class IrDataClientImpl.StatefulRestTemplateInterceptor extends Object implements org.springframework.http.client.ClientHttpRequestInterceptor
-
-
Constructor Summary
Constructors Constructor Description StatefulRestTemplateInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidflushCookies()org.springframework.http.client.ClientHttpResponseintercept(org.springframework.http.HttpRequest request, byte[] body, org.springframework.http.client.ClientHttpRequestExecution execution)
-
-
-
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:
interceptin interfaceorg.springframework.http.client.ClientHttpRequestInterceptor- Throws:
IOException
-
flushCookies
public void flushCookies()
-
-