Class ClientConfigProviderFilter
java.lang.Object
org.jboss.resteasy.client.jaxrs.internal.ClientConfigProviderFilter
- All Implemented Interfaces:
ClientRequestFilter
Client filter that will attach authorization header with either HTTP Basic auth or Bearer token auth.
Credentials and token are loaded from ClientConfigProvider implementation.
- Author:
- dvilkola@redhat.com
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfilter(ClientRequestContext requestContext) Filter method called before a request has been dispatched to a client transport layer.
-
Constructor Details
-
ClientConfigProviderFilter
-
-
Method Details
-
filter
Description copied from interface:ClientRequestFilterFilter method called before a request has been dispatched to a client transport layer. Filters in the filter chain are ordered according to theirjakarta.annotation.Priorityclass-level annotation value.- Specified by:
filterin interfaceClientRequestFilter- Parameters:
requestContext- request context.- Throws:
IOException- if an I/O exception occurs.
-