Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.http.protocol
Class ResponseDate  view ResponseDate download ResponseDate.java

java.lang.Object
  extended byorg.apache.http.protocol.ResponseDate
All Implemented Interfaces:
org.apache.http.HttpResponseInterceptor

public class ResponseDate
extends java.lang.Object
implements org.apache.http.HttpResponseInterceptor

A response interceptor that adds a Date header. For use on the server side.

Since:
4.0
Version:
$Revision: 408172 $

Field Summary
private static HttpDateGenerator DATE_GENERATOR
           
 
Constructor Summary
ResponseDate()
           
 
Method Summary
 void process(org.apache.http.HttpResponse response, HttpContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATE_GENERATOR

private static final HttpDateGenerator DATE_GENERATOR
Constructor Detail

ResponseDate

public ResponseDate()
Method Detail

process

public void process(org.apache.http.HttpResponse response,
                    HttpContext context)
             throws org.apache.http.HttpException,
                    java.io.IOException
Specified by:
process in interface org.apache.http.HttpResponseInterceptor