@Immutable public class RequestUserAgent extends Object implements HttpRequestInterceptor
User-Agent header.
This interceptor is recommended for client side protocol processors.
The following parameters can be used to customize the behavior of this class:
| Constructor and Description |
|---|
RequestUserAgent() |
public void process(HttpRequest request, HttpContext context) throws HttpException, IOException
HttpRequestInterceptorprocess in interface HttpRequestInterceptorrequest - the request to preprocesscontext - the context for the requestHttpException - in case of an HTTP protocol violationIOException - in case of an I/O errorCopyright © 2005–2013 The Apache Software Foundation. All rights reserved.