User-Agent header.
This interceptor is recommended for client side protocol processors.
| Modifier and Type | Field and Description |
|---|---|
| public static final HttpRequestInterceptor | INSTANCE
Singleton instance. |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | process(final HttpRequest
the request to process request, final EntityDetails the request entity details or entity, final HttpContext null if not availablethe context for the request context)Implements org. |
| INSTANCE | back to summary |
|---|---|
| public static final HttpRequestInterceptor INSTANCE Singleton instance.
| |
| userAgent | back to summary |
|---|---|
| private final String userAgent | |
| RequestUserAgent | back to summary |
|---|---|
| public RequestUserAgent(final String userAgent) | |
| RequestUserAgent | back to summary |
|---|---|
| public RequestUserAgent() | |
| process | back to summary |
|---|---|
| public void process(final HttpRequest request, final EntityDetails entity, final HttpContext context) throws HttpException, IOException Implements org. Doc from org. Processes a request. On the client side, this step is performed before the request is sent to the server. On the server side, this step is performed on incoming messages before the message body is evaluated.
| |