| java.lang.Object org.archive.httpclient.HttpRecorderMethod
HttpRecorderMethod | public class HttpRecorderMethod (Code) | | This class encapsulates the specializations supplied by the
overrides
HttpRecorderGetMethod and
HttpRecorderPostMethod .
It keeps instance of HttpRecorder and HttpConnection.
author: stack version: $Revision: 3351 $, $Date: 2005-04-07 21:44:47 +0000 (Thu, 07 Apr 2005) $ |
handleAddProxyConnectionHeader | public void handleAddProxyConnectionHeader(HttpMethod method)(Code) | | If a 'Proxy-Connection' header has been added to the request,
it'll be of a 'keep-alive' type. Until we support 'keep-alives',
override the Proxy-Connection setting and instead pass a 'close'
(Otherwise every request has to timeout before we notice
end-of-document).
Parameters: method - Method to find proxy-connection header in. |
setConnection | public void setConnection(HttpConnection connection)(Code) | | Parameters: connection - The connection to set. |
|
|