@Contract(threading=IMMUTABLE) public class RequestUserAgent extends Object implements HttpRequestInterceptor
User-Agent header.
 This interceptor is recommended for client side protocol processors.| Constructor and Description | 
|---|
| RequestUserAgent() | 
| RequestUserAgent(String userAgent) | 
public RequestUserAgent(String userAgent)
public RequestUserAgent()
public void process(HttpRequest request, EntityDetails entity, HttpContext context) throws HttpException, IOException
HttpRequestInterceptorprocess in interface HttpRequestInterceptorrequest - the request to processentity - the request entity details or null if not availablecontext - the context for the requestHttpException - in case of an HTTP protocol violationIOException - in case of an I/O errorCopyright © 2005–2022 The Apache Software Foundation. All rights reserved.