public class HTTPHC4Impl extends HTTPHCAbstractImpl
CPS_HTTP, CPS_HTTPS, HTTP_VERSION, localAddress, localHost, NONPROXY_HOSTS, nonProxyHostFull, nonProxyHostSuffix, nonProxyHostSuffixSize, PROXY_DEFINED, PROXY_DOMAIN, PROXY_HOST, PROXY_PASS, PROXY_PORT, PROXY_USER, SO_TIMEOUT, USE_LOOPBACK
testElement
APPLICATION_X_WWW_FORM_URLENCODED, CACHE_CONTROL, CONNECT, CONNECTION_CLOSE, DEFAULT_HTTP_PORT, DEFAULT_HTTP_PORT_STRING, DEFAULT_HTTPS_PORT, DEFAULT_HTTPS_PORT_STRING, DELETE, ENCODING_GZIP, ETAG, EXPIRES, GET, HEAD, HEADER_AUTHORIZATION, HEADER_CONNECTION, HEADER_CONTENT_DISPOSITION, HEADER_CONTENT_ENCODING, HEADER_CONTENT_LENGTH, HEADER_CONTENT_TYPE, HEADER_COOKIE, HEADER_HOST, HEADER_LOCATION, HEADER_SET_COOKIE, HTTP_1_1, IF_MODIFIED_SINCE, IF_NONE_MATCH, KEEP_ALIVE, LAST_MODIFIED, MULTIPART_FORM_DATA, OPTIONS, POST, PROTOCOL_HTTP, PROTOCOL_HTTPS, PUT, TRACE, TRANSFER_ENCODING
Modifier | Constructor and Description |
---|---|
protected |
HTTPHC4Impl(HTTPSamplerBase testElement) |
Modifier and Type | Method and Description |
---|---|
boolean |
interrupt()
Interrupt the current operation if possible.
|
protected void |
notifySSLContextWasReset()
Called by testIterationStart if the SSL Context was reset.
|
protected HTTPSampleResult |
sample(URL url,
String method,
boolean areFollowingRedirect,
int frameDepth) |
protected void |
setDefaultRequestHeaders(org.apache.http.HttpRequest request)
Set any default request headers to include
|
void |
threadFinished() |
isDynamicProxy, isNonProxy, isPartialMatch, isStaticProxy
errorResult, getArguments, getAuthManager, getAutoRedirects, getCacheManager, getConnectTimeout, getContentEncoding, getCookieManager, getDoBrowserCompatibleMultipart, getHeaderManager, getHTTPFiles, getIpSource, getProxyHost, getProxyPass, getProxyPortInt, getProxyUser, getResponseTimeout, getSendFileAsPostBody, getSendParameterValuesAsPostBody, getUseKeepAlive, getUseMultipartForPost, hasArguments, isMonitor, isSuccessCode, readResponse, readResponse, resultProcessing, setUseKeepAlive
protected HTTPHC4Impl(HTTPSamplerBase testElement)
protected HTTPSampleResult sample(URL url, String method, boolean areFollowingRedirect, int frameDepth)
sample
in class HTTPAbstractImpl
protected void setDefaultRequestHeaders(org.apache.http.HttpRequest request)
request
- the HttpRequest to be usedpublic void threadFinished()
threadFinished
in class HTTPAbstractImpl
public boolean interrupt()
Interruptible
true
if there was an operation to interrupt.protected void notifySSLContextWasReset()
notifySSLContextWasReset
in class HTTPAbstractImpl
Copyright © 1998-2012 Apache Software Foundation. All Rights Reserved.