@Contract(threading=SAFE) public class ResponseDate extends Object implements HttpResponseInterceptor
Date header to the
outgoing responses. This interceptor is recommended for server side protocol
processors.| Constructor and Description |
|---|
ResponseDate() |
| Modifier and Type | Method and Description |
|---|---|
void |
process(HttpResponse response,
EntityDetails entity,
HttpContext context)
Processes a response.
|
public void process(HttpResponse response, EntityDetails entity, HttpContext context) throws HttpException, IOException
HttpResponseInterceptorprocess in interface HttpResponseInterceptorresponse - the response 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.