|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.client.filter.HttpBasicAuthFilter
public final class HttpBasicAuthFilter
Client filter adding HTTP Basic Authentication header to the HTTP request, if no such header is already present.
| Constructor Summary | |
|---|---|
HttpBasicAuthFilter(String username,
byte[] password)
Creates a new HTTP Basic Authentication filter using provided username and password credentials. |
|
HttpBasicAuthFilter(String username,
String password)
Creates a new HTTP Basic Authentication filter using provided username and password credentials. |
|
| Method Summary | |
|---|---|
void |
filter(ClientRequestContext rc)
Filter method called before a request has been dispatched to a client transport layer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpBasicAuthFilter(String username,
String password)
username - user namepassword - password
public HttpBasicAuthFilter(String username,
byte[] password)
username - user namepassword - password| Method Detail |
|---|
public void filter(ClientRequestContext rc)
throws IOException
ClientRequestFilterjavax.annotation.Priority
class-level annotation value.
filter in interface ClientRequestFilterrc - request context.
IOException - if an I/O exception occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||