|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FilterContext
Provides the functionality to set properties, sending requests and continue the filter chain.
| Method Summary | ||
|---|---|---|
String |
getCompleteRequestPath()
|
|
Method |
getRequestMethod()
|
|
String |
getRequestPath()
|
|
|
getValue(String name)
Get a value |
|
Response |
next(FilterableRequestSpecification request,
FilterableResponseSpecification response)
Continue to the next filter in the chain. |
|
Response |
send(RequestSender requestSender)
Send a request to the same request path and with the same request method as the original request. |
|
void |
setValue(String name,
Object value)
Add a value that may be used be subsequent filters. |
|
| Method Detail |
|---|
void setValue(String name,
Object value)
name - The name of the valuevalue - The value itself<T> T getValue(String name)
T - The type of the valuename - The name of the value
null if no value was found for the supplied name.Response send(RequestSender requestSender)
requestSender - The response or request specification.
Method getRequestMethod()
String getRequestPath()
String getCompleteRequestPath()
Response next(FilterableRequestSpecification request,
FilterableResponseSpecification response)
request - The request specificationresponse - The response specification
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||