public final class HTTPDigestAuthFilter extends ClientFilter
| Constructor and Description |
|---|
HTTPDigestAuthFilter(java.lang.String user,
byte[] password)
Creates a new HTTP Digest Authentication filter using provided username
and password credentials.
|
HTTPDigestAuthFilter(java.lang.String user,
java.lang.String password)
Creates a new HTTP Digest Authentication filter using provided username
and password credentials.
|
| Modifier and Type | Method and Description |
|---|---|
ClientResponse |
handle(ClientRequest request)
Handle a HTTP request as a
ClientRequest and return the HTTP
response as a ClientResponse. |
getNextpublic HTTPDigestAuthFilter(java.lang.String user,
java.lang.String password)
user - usernamepassword - passwordpublic HTTPDigestAuthFilter(java.lang.String user,
byte[] password)
user - usernamepassword - passwordpublic ClientResponse handle(ClientRequest request) throws ClientHandlerException
ClientHandlerClientRequest and return the HTTP
response as a ClientResponse.handle in interface ClientHandlerhandle in class ClientFilterrequest - the HTTP request.ClientHandlerException - if the client
handler fails to process the request or response.Copyright © 2016 Oracle Corporation. All Rights Reserved.