Package org.hawaiiframework.async.http
Class AbortedHttpRequestInterceptor
- java.lang.Object
-
- org.hawaiiframework.async.http.AbortedHttpRequestInterceptor
-
- All Implemented Interfaces:
org.springframework.http.client.ClientHttpRequestInterceptor
public class AbortedHttpRequestInterceptor extends Object implements org.springframework.http.client.ClientHttpRequestInterceptor
HTTP request interceptor to set a task id as a header on an HTTP request.- Since:
- 2.0.0
- Author:
- Rutger Lubbers
-
-
Constructor Summary
Constructors Constructor Description AbortedHttpRequestInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.client.ClientHttpResponse
intercept(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:
intercept
in interfaceorg.springframework.http.client.ClientHttpRequestInterceptor
- Throws:
IOException
-
-