org.apache.jmeter.protocol.http.sampler
public abstract class HTTPAbstractImpl extends Object implements Interruptible, HTTPConstantsInterface
Modifier and Type | Field and Description |
---|---|
protected HTTPSamplerBase |
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 |
HTTPAbstractImpl(HTTPSamplerBase testElement) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
interrupt
protected final HTTPSamplerBase testElement
protected HTTPAbstractImpl(HTTPSamplerBase testElement)
protected abstract HTTPSampleResult sample(URL url, String method, boolean areFollowingRedirect, int frameDepth)
protected void threadFinished()
protected HTTPSampleResult errorResult(Throwable t, HTTPSampleResult res)
protected Arguments getArguments()
HTTPSamplerBase.getArguments()
protected AuthManager getAuthManager()
HTTPSamplerBase.getAuthManager()
protected boolean getAutoRedirects()
protected CacheManager getCacheManager()
protected int getConnectTimeout()
protected String getContentEncoding()
protected CookieManager getCookieManager()
protected HeaderManager getHeaderManager()
protected HTTPFileArg[] getHTTPFiles()
HTTPSamplerBase.getHTTPFiles()
protected String getIpSource()
HTTPSamplerBase.getIpSource()
protected String getProxyHost()
HTTPSamplerBase.getProxyHost()
protected String getProxyPass()
HTTPSamplerBase.getProxyPass()
protected int getProxyPortInt()
protected String getProxyUser()
HTTPSamplerBase.getProxyUser()
protected int getResponseTimeout()
protected boolean getSendFileAsPostBody()
protected boolean getSendParameterValuesAsPostBody()
protected boolean getUseKeepAlive()
protected boolean getUseMultipartForPost()
protected boolean getDoBrowserCompatibleMultipart()
protected boolean hasArguments()
HTTPSamplerBase.hasArguments()
protected boolean isMonitor()
HTTPSamplerBase.isMonitor()
protected boolean isSuccessCode(int errorLevel)
protected byte[] readResponse(SampleResult res, InputStream instream, int responseContentLength) throws IOException
IOException
protected byte[] readResponse(SampleResult res, BufferedInputStream in, int contentLength) throws IOException
IOException
protected HTTPSampleResult resultProcessing(boolean areFollowingRedirect, int frameDepth, HTTPSampleResult res)
protected void setUseKeepAlive(boolean b)
protected void notifySSLContextWasReset()
Copyright © 1998-2014 Apache Software Foundation. All Rights Reserved.