public class ResourceBasedAuthorizationInterceptor extends Object implements org.apache.http.HttpRequestInterceptor
HttpRequestInterceptor that adds an Authorization header with a value
obtained from a Resource.| Constructor and Description |
|---|
ResourceBasedAuthorizationInterceptor(org.springframework.core.io.Resource resource) |
| Modifier and Type | Method and Description |
|---|---|
void |
process(org.apache.http.HttpRequest httpRequest,
org.apache.http.protocol.HttpContext httpContext) |
public ResourceBasedAuthorizationInterceptor(org.springframework.core.io.Resource resource)
public void process(org.apache.http.HttpRequest httpRequest,
org.apache.http.protocol.HttpContext httpContext)
throws org.apache.http.HttpException,
IOException
process in interface org.apache.http.HttpRequestInterceptororg.apache.http.HttpExceptionIOExceptionCopyright © 2017 Pivotal Software, Inc.. All rights reserved.