public final class HttpBasicAuthFilter extends Object implements ClientRequestFilter
| Constructor and Description |
|---|
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.
|
public HttpBasicAuthFilter(String username, String password)
username - user namepassword - passwordpublic HttpBasicAuthFilter(String username, byte[] password)
username - user namepassword - passwordpublic void filter(ClientRequestContext rc) throws IOException
filter in interface ClientRequestFilterIOExceptionCopyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.