Package org.jboss.resteasy.client.jaxrs
Class BasicAuthentication
java.lang.Object
org.jboss.resteasy.client.jaxrs.BasicAuthentication
- All Implemented Interfaces:
javax.ws.rs.client.ClientRequestFilter
Client filter that will do basic authentication. You must allocate it and then register it with the Client or WebTarget
- Version:
- $Revision: 1 $
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
filter
(javax.ws.rs.client.ClientRequestContext requestContext)
-
Field Details
-
authHeader
-
-
Constructor Details
-
BasicAuthentication
- Parameters:
username
-password
-
-
-
Method Details
-
filter
- Specified by:
filter
in interfacejavax.ws.rs.client.ClientRequestFilter
- Throws:
IOException
-