public class ResponseDateInterceptor extends Object implements org.apache.http.HttpResponseInterceptor
Constructor and Description |
---|
ResponseDateInterceptor() |
Modifier and Type | Method and Description |
---|---|
void |
process(org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context)
Add a date header and possibly rewrite the 'Expires' header (see class documentation).
|
public void process(org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context) throws org.apache.http.HttpException, IOException
process
in interface org.apache.http.HttpResponseInterceptor
org.apache.http.HttpException
IOException
Copyright © 2015–2024 Frank Stock. All rights reserved.