public class BasicAuthInterceptor extends Object implements IClientInterceptor
See the HAPI Documentation for information on how to use this class.
| Constructor and Description |
|---|
BasicAuthInterceptor(String theUsername,
String thePassword) |
| Modifier and Type | Method and Description |
|---|---|
void |
interceptRequest(IHttpRequest theRequest) |
void |
interceptResponse(IHttpResponse theResponse) |
public BasicAuthInterceptor(String theUsername, String thePassword)
public void interceptRequest(IHttpRequest theRequest)
interceptRequest in interface IClientInterceptorpublic void interceptResponse(IHttpResponse theResponse) throws IOException
interceptResponse in interface IClientInterceptorIOExceptionCopyright © 2014–2018 University Health Network. All rights reserved.