Package javax.ws.rs.client
Interface ClientRequestFilter
-
public interface ClientRequestFilterAn extension interface implemented by client request filters. Filters implementing this interface MUST be annotated with@Provider. This type of filters is supported only as part of the Client API.- Since:
- 2.0
- See Also:
ClientResponseFilter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfilter(ClientRequestContext requestContext)Filter method called before a request has been dispatched to a client transport layer.
-
-
-
Method Detail
-
filter
void filter(ClientRequestContext requestContext) throws java.io.IOException
Filter method called before a request has been dispatched to a client transport layer. Filters in the filter chain are ordered according to their priority (seePriority).- Parameters:
requestContext- request context.- Throws:
java.io.IOException- if an I/O exception occurs.
-
-