|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PreMatchRequestFilter
Interface implemented by filters invoked at the
Filters implementing
this interface MUST be annotated with Provider.
This type of filters is supported only as part of the Server API.
RequestFilter| Method Summary | |
|---|---|
void |
preMatchFilter(FilterContext context)
Filter method called at the |
| Method Detail |
|---|
void preMatchFilter(FilterContext context)
throws java.io.IOException
Filter method called at the
Filters in a chain are ordered according to their binding
priority (see BindingPriority). If a pre-match
request filter produces a response by calling
FilterContext.setResponse(javax.ws.rs.core.Response), the execution of the pre-match request
chain is stopped and the response is returned without matching a resource
method. For example, a caching filter may produce a response in this way.
Note that responses produced in this manner are still processed by
the response filter chain.
context - invocation context
java.io.IOException - if an I/O exception occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||