public class BasicAuthInterceptor extends RequestInterceptor
| Constructor and Description |
|---|
BasicAuthInterceptor(String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
com.sun.jersey.api.client.ClientResponse |
handle(com.sun.jersey.api.client.ClientRequest cr) |
void |
processRequest(Request request,
Connector connector) |
void |
setAuth(String username,
String password) |
public BasicAuthInterceptor(String username, String password)
public void processRequest(Request request, Connector connector)
processRequest in class RequestInterceptorpublic com.sun.jersey.api.client.ClientResponse handle(com.sun.jersey.api.client.ClientRequest cr) throws com.sun.jersey.api.client.ClientHandlerException
handle in interface com.sun.jersey.api.client.ClientHandlerhandle in class RequestInterceptorcom.sun.jersey.api.client.ClientHandlerExceptionCopyright © 2019 Nuxeo. All rights reserved.