Methods Summary |
---|
public void | abort()
throw new UnsupportedOperationException();
|
public int | getExecCount()
return this.execCount;
|
public java.lang.String | getMethod()
return this.method;
|
public org.apache.http.HttpRequest | getOriginal()
return this.original;
|
public org.apache.http.ProtocolVersion | getProtocolVersion()
if (this.version != null) {
return this.version;
} else {
return HttpProtocolParams.getVersion(getParams());
}
|
public org.apache.http.RequestLine | getRequestLine()
String method = getMethod();
ProtocolVersion ver = getProtocolVersion();
String uritext = null;
if (uri != null) {
uritext = uri.toASCIIString();
}
if (uritext == null || uritext.length() == 0) {
uritext = "/";
}
return new BasicRequestLine(method, uritext, ver);
|
public java.net.URI | getURI()
return this.uri;
|
public void | incrementExecCount()
this.execCount++;
|
public boolean | isAborted()
return false;
|
public boolean | isRepeatable()
return true;
|
public void | resetHeaders()
// Make a copy of original headers
this.headergroup.clear();
setHeaders(this.original.getAllHeaders());
|
public void | setMethod(java.lang.String method)
if (method == null) {
throw new IllegalArgumentException("Method name may not be null");
}
this.method = method;
|
public void | setProtocolVersion(org.apache.http.ProtocolVersion version)
this.version = version;
|
public void | setURI(java.net.URI uri)
this.uri = uri;
|