@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.| 限定符和类型 | 字段和说明 |
|---|---|
static HttpRequestInterceptor |
INSTANCE
Singleton instance.
|
| 构造器和说明 |
|---|
RequestDate() |
public static final HttpRequestInterceptor INSTANCE
public void process(HttpRequest request, EntityDetails entity, HttpContext context) throws HttpException, IOException
HttpRequestInterceptorprocess 在接口中 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 © 2023. All rights reserved.