public class HttpRecorderMethod
extends java.lang.Object
HttpRecorderGetMethod and HttpRecorderPostMethod.
It keeps instance of HttpRecorder and HttpConnection.| Modifier and Type | Field and Description |
|---|---|
protected static java.util.logging.Logger |
logger |
| Constructor and Description |
|---|
HttpRecorderMethod(Recorder recorder) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.commons.httpclient.HttpConnection |
getConnection() |
Recorder |
getHttpRecorder() |
void |
handleAddProxyConnectionHeader(org.apache.commons.httpclient.HttpMethod method)
If a 'Proxy-Connection' header has been added to the request,
it'll be of a 'keep-alive' type.
|
void |
markContentBegin(org.apache.commons.httpclient.HttpConnection c) |
void |
setConnection(org.apache.commons.httpclient.HttpConnection connection) |
public HttpRecorderMethod(Recorder recorder)
public void markContentBegin(org.apache.commons.httpclient.HttpConnection c)
public org.apache.commons.httpclient.HttpConnection getConnection()
public void setConnection(org.apache.commons.httpclient.HttpConnection connection)
connection - The connection to set.public Recorder getHttpRecorder()
public void handleAddProxyConnectionHeader(org.apache.commons.httpclient.HttpMethod method)
method - Method to find proxy-connection header in.Copyright © 2019 The International Internet Preservation Consortium. All Rights Reserved.