public class RequestIdentityInterceptor extends Object implements HandlerInterceptor
HandlerInterceptor that inspects the request for the presence of the X-Broker-API-Request
-Identity header and sets the corresponding value in the same response header| Constructor and Description |
|---|
RequestIdentityInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
preHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler)
Sets the X-Broker-API-Request-Identity header in the response if a value is received in the request
from the platform
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterCompletion, postHandlepublic boolean preHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler)
preHandle in interface HandlerInterceptorrequest - response - handler -