public interface RequestDelegationService
Service Interface for delegating request processing inside WarpFilter .
Delegates will be asked to handle request processing (through
canDelegate(HttpServletRequest)). Delegates who decide to actually process the request, will
need to perform all processing inside RequestDelegationService#delegate(HttpServletRequest, HttpServletResponse) .
Request processing is performed outside Arquillian's context. No Manager instance is created.
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDelegate(javax.servlet.http.HttpServletRequest request)
Method to decide if delegate can handle the request
|
void |
delegate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain)
Actual request processing for delegate.
|
boolean canDelegate(javax.servlet.http.HttpServletRequest request)
Method to decide if delegate can handle the request
request - the incoming HttpServletRequest.true if delegate can handle the request. false otherwise.void delegate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain)
Actual request processing for delegate.
This method will be called only if canDelegate(HttpServletRequest) returned
true
request - the incoming HttpServletRequest.response - the HttpServletResponse to send.filterChain - the filter chainCopyright © 2019 JBoss by Red Hat. All rights reserved.