Class PreemptiveBearerAuthInterceptor
java.lang.Object
com.peterphi.std.guice.restclient.resteasy.impl.PreemptiveBearerAuthInterceptor
- All Implemented Interfaces:
org.apache.http.HttpRequestInterceptor
public class PreemptiveBearerAuthInterceptor
extends Object
implements org.apache.http.HttpRequestInterceptor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)
-
Constructor Details
-
PreemptiveBearerAuthInterceptor
public PreemptiveBearerAuthInterceptor()
-
-
Method Details
-
process
public void process(org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context) throws org.apache.http.HttpException, IOException - Specified by:
processin interfaceorg.apache.http.HttpRequestInterceptor- Throws:
org.apache.http.HttpExceptionIOException
-