@Immutable public class ResponseServer extends Object implements HttpResponseInterceptor
Server
header. This
interceptor is recommended for server side protocol processors.
The following parameters can be used to customize the behavior of this class:
Constructor and Description |
---|
ResponseServer() |
public void process(HttpResponse response, HttpContext context) throws HttpException, IOException
HttpResponseInterceptor
process
in interface HttpResponseInterceptor
response
- the response to postprocesscontext
- the context for the requestHttpException
- in case of an HTTP protocol violationIOException
- in case of an I/O errorCopyright © 2005-2015 The Apache Software Foundation. All Rights Reserved.