public class RedirectionInterceptor extends Object implements ResponseInterceptor
ResponseInterceptor the returns the value of the location header
when appropriate.ResponseInterceptor.Chain| Constructor and Description |
|---|
RedirectionInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
Object |
intercept(InvocationContext invocationContext,
ResponseInterceptor.Chain chain)
Called by
ResponseHandler after refreshing the response and wrapped around the whole
decode process, must either manually invoke ResponseInterceptor.Chain.next(InvocationContext) or manually
create a new response object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandThen, applypublic Object intercept(InvocationContext invocationContext, ResponseInterceptor.Chain chain) throws Exception
ResponseInterceptorResponseHandler after refreshing the response and wrapped around the whole
decode process, must either manually invoke ResponseInterceptor.Chain.next(InvocationContext) or manually
create a new response objectintercept in interface ResponseInterceptorinvocationContext - information surrounding the response being decodedExceptionCopyright © 2012–2024 OpenFeign. All rights reserved.