public final class HTTPDigestAuthFilter extends ClientFilter
Constructor and Description |
---|
HTTPDigestAuthFilter(String user,
byte[] password)
Creates a new HTTP Digest Authentication filter using provided username
and password credentials.
|
HTTPDigestAuthFilter(String user,
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 . |
getNext
public HTTPDigestAuthFilter(String user, String password)
user
- usernamepassword
- passwordpublic HTTPDigestAuthFilter(String user, byte[] password)
user
- usernamepassword
- passwordpublic ClientResponse handle(ClientRequest request) throws ClientHandlerException
ClientHandler
ClientRequest
and return the HTTP
response as a ClientResponse
.handle
in interface ClientHandler
handle
in class ClientFilter
request
- the HTTP request.ClientHandlerException
- if the client
handler fails to process the request or response.Copyright © 2013 Oracle Corporation. All rights reserved.