@Contract(threading=SAFE) public class RequestDate extends Object implements HttpRequestInterceptor
Date
header
to the outgoing requests This interceptor is optional for client side
protocol processors.Constructor and Description |
---|
RequestDate() |
public void process(HttpRequest request, EntityDetails entity, HttpContext context) throws HttpException, IOException
HttpRequestInterceptor
process
in interface HttpRequestInterceptor
request
- 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–2021 The Apache Software Foundation. All rights reserved.