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_LOOPBACKtestElementAPPLICATION_X_WWW_FORM_URLENCODED, CACHE_CONTROL, CONNECT, CONNECTION_CLOSE, DATE, 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, PATCH, POST, PROTOCOL_HTTP, PROTOCOL_HTTPS, PUT, TRACE, TRANSFER_ENCODING| Modifier | Constructor and Description |
|---|---|
protected |
HTTPHC4Impl(HTTPSamplerBase testElement) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getCharsetWithDefault(org.apache.http.params.HttpParams putParams)
If contentEncoding is not set by user, then Platform encoding will be used to convert to String
|
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, isNullOrEmptyTrimmed, isPartialMatch, isStaticProxyerrorResult, 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, setUseKeepAliveprotected HTTPHC4Impl(HTTPSamplerBase testElement)
protected HTTPSampleResult sample(URL url, String method, boolean areFollowingRedirect, int frameDepth)
sample in class HTTPAbstractImplprotected void setDefaultRequestHeaders(org.apache.http.HttpRequest request)
request - the HttpRequest to be usedprotected String getCharsetWithDefault(org.apache.http.params.HttpParams putParams)
putParams - HttpParamspublic void threadFinished()
threadFinished in class HTTPAbstractImplpublic boolean interrupt()
Interruptibletrue if there was an operation to interrupt.protected void notifySSLContextWasReset()
notifySSLContextWasReset in class HTTPAbstractImplCopyright © 1998-2013 Apache Software Foundation. All Rights Reserved.