public interface HttpRequestInterceptor
Protocol Interceptors can also manipulate content entities enclosed with messages. Usually this is accomplished by using the 'Decorator' pattern where a wrapper entity class is used to decorate the original entity.
Protocol interceptors must be implemented as thread-safe. Similarly to servlets, protocol interceptors should not use instance variables unless access to those variables is synchronized.
void process(HttpRequest request, HttpContext context) throws HttpException, IOException
Copyright © 2005–2017 The Apache Software Foundation. All rights reserved.