Author: sebb
Date: Thu Dec 2 23:31:19 2010
New Revision: 1041644
URL: http://svn.apache.org/viewvc?rev=1041644&view=rev
Log:
Sort; add Javadoc
Modified:
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPAbstractImpl.java
Modified:
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPAbstractImpl.java
URL:
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPAbstractImpl.java?rev=1041644&r1=1041643&r2=1041644&view=diff
==============================================================================
---
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPAbstractImpl.java
(original)
+++
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPAbstractImpl.java
Thu Dec 2 23:31:19 2010
@@ -52,119 +52,204 @@ public abstract class HTTPAbstractImpl i
// Provide access to HTTPSamplerBase methods
- protected HeaderManager getHeaderManager() {
- return testElement.getHeaderManager();
- }
-
- protected HTTPFileArg[] getHTTPFiles() {
- return testElement.getHTTPFiles();
+ /**
+ * Invokes {...@link HTTPSamplerBase#errorResult(Throwable,
HTTPSampleResult)}
+ */
+ protected HTTPSampleResult errorResult(IllegalArgumentException e,
+ HTTPSampleResult res) {
+ return testElement.errorResult(e, res);
}
- protected AuthManager getAuthManager() {
- return testElement.getAuthManager();
+ /**
+ * Invokes {...@link HTTPSamplerBase#errorResult(Throwable,
HTTPSampleResult)}
+ */
+ protected HTTPSampleResult errorResult(IOException iex, HTTPSampleResult
res) {
+ return testElement.errorResult(iex, res);
}
+ /**
+ * Invokes {...@link HTTPSamplerBase#getArguments()}
+ */
protected Arguments getArguments() {
return testElement.getArguments();
}
- protected CookieManager getCookieManager() {
- return testElement.getCookieManager();
- }
-
- protected HTTPSampleResult errorResult(IOException iex, HTTPSampleResult
res) {
- return testElement.errorResult(iex, res);
+ /**
+ * Invokes {...@link HTTPSamplerBase#getAuthManager()}
+ */
+ protected AuthManager getAuthManager() {
+ return testElement.getAuthManager();
}
- protected byte[] readResponse(SampleResult res, BufferedInputStream in,
- int contentLength) throws IOException {
- return testElement.readResponse(res, in, contentLength);
+ /**
+ * Invokes {...@link HTTPSamplerBase#getAutoRedirects()}
+ */
+ protected boolean getAutoRedirects() {
+ return testElement.getAutoRedirects();
}
+ /**
+ * Invokes {...@link HTTPSamplerBase#getCacheManager()}
+ */
protected CacheManager getCacheManager() {
return testElement.getCacheManager();
}
- protected boolean getUseKeepAlive() {
- return testElement.getUseKeepAlive();
+ /**
+ * Invokes {...@link HTTPSamplerBase#getConnectTimeout()}
+ */
+ protected int getConnectTimeout() {
+ return testElement.getConnectTimeout();
}
- protected int getResponseTimeout() {
- return testElement.getResponseTimeout();
+ /**
+ * Invokes {...@link HTTPSamplerBase#getContentEncoding()}
+ */
+ protected String getContentEncoding() {
+ return testElement.getContentEncoding();
}
- protected int getConnectTimeout() {
- return testElement.getConnectTimeout();
+ /**
+ * Invokes {...@link HTTPSamplerBase#getCookieManager()}
+ */
+ protected CookieManager getCookieManager() {
+ return testElement.getCookieManager();
}
- protected boolean getAutoRedirects() {
- return testElement.getAutoRedirects();
+ /**
+ * Invokes {...@link HTTPSamplerBase#getHeaderManager()}
+ */
+ protected HeaderManager getHeaderManager() {
+ return testElement.getHeaderManager();
}
- protected int getProxyPortInt() {
- return testElement.getProxyPortInt();
+ /**
+ * Invokes {...@link HTTPSamplerBase#getHTTPFiles()}
+ */
+ protected HTTPFileArg[] getHTTPFiles() {
+ return testElement.getHTTPFiles();
}
+ /**
+ * Invokes {...@link HTTPSamplerBase#getIpSource()}
+ */
+ protected String getIpSource() {
+ return testElement.getIpSource();
+ }
+
+ /**
+ * Invokes {...@link HTTPSamplerBase#getProxyHost()}
+ */
protected String getProxyHost() {
return testElement.getProxyHost();
}
- protected HTTPSampleResult resultProcessing(boolean areFollowingRedirect,
- int frameDepth, HTTPSampleResult res) {
- return testElement.resultProcessing(areFollowingRedirect, frameDepth,
res);
+ /**
+ * Invokes {...@link HTTPSamplerBase#getProxyPass()}
+ */
+ protected String getProxyPass() {
+ return testElement.getProxyPass();
}
- protected boolean isSuccessCode(int errorLevel) {
- return testElement.isSuccessCode(errorLevel);
+ /**
+ * Invokes {...@link HTTPSamplerBase#getProxyPortInt()}
+ */
+ protected int getProxyPortInt() {
+ return testElement.getProxyPortInt();
}
- protected void setUseKeepAlive(boolean b) {
- testElement.setUseKeepAlive(b);
+ /**
+ * Invokes {...@link HTTPSamplerBase#getProxyUser()}
+ */
+ protected String getProxyUser() {
+ return testElement.getProxyUser();
}
- protected boolean isMonitor() {
- return testElement.isMonitor();
- }
- protected boolean getSendParameterValuesAsPostBody() {
- return testElement.getSendParameterValuesAsPostBody();
+ /**
+ * Invokes {...@link HTTPSamplerBase#getResponseTimeout()}
+ */
+ protected int getResponseTimeout() {
+ return testElement.getResponseTimeout();
}
+ /**
+ * Invokes {...@link HTTPSamplerBase#getSendFileAsPostBody()}
+ */
protected boolean getSendFileAsPostBody() {
return testElement.getSendFileAsPostBody();
}
- protected boolean hasArguments() {
- return testElement.hasArguments();
+ /**
+ * Invokes {...@link HTTPSamplerBase#getSendParameterValuesAsPostBody()}
+ */
+ protected boolean getSendParameterValuesAsPostBody() {
+ return testElement.getSendParameterValuesAsPostBody();
}
- protected String getContentEncoding() {
- return testElement.getContentEncoding();
+ /**
+ * Invokes {...@link HTTPSamplerBase#getUseKeepAlive()}
+ */
+ protected boolean getUseKeepAlive() {
+ return testElement.getUseKeepAlive();
}
+ /**
+ * Invokes {...@link HTTPSamplerBase#getUseMultipartForPost()}
+ */
protected boolean getUseMultipartForPost() {
return testElement.getUseMultipartForPost();
}
- protected String getProxyPass() {
- return testElement.getProxyPass();
- }
-
- protected String getProxyUser() {
- return testElement.getProxyUser();
+ /**
+ * Invokes {...@link HTTPSamplerBase#hasArguments()}
+ */
+ protected boolean hasArguments() {
+ return testElement.hasArguments();
}
- protected String getIpSource() {
- return testElement.getIpSource();
+ /**
+ * Invokes {...@link HTTPSamplerBase#isMonitor()}
+ */
+ protected boolean isMonitor() {
+ return testElement.isMonitor();
}
- protected HTTPSampleResult errorResult(IllegalArgumentException e,
- HTTPSampleResult res) {
- return testElement.errorResult(e, res);
+ /**
+ * Invokes {...@link HTTPSamplerBase#isSuccessCode(int)}
+ */
+ protected boolean isSuccessCode(int errorLevel) {
+ return testElement.isSuccessCode(errorLevel);
}
+ /**
+ * Invokes {...@link HTTPSamplerBase#readResponse(SampleResult,
InputStream, int)}
+ */
protected byte[] readResponse(HTTPSampleResult res, InputStream instream,
int responseContentLength) throws IOException {
return testElement.readResponse(res, instream, responseContentLength);
}
+ /**
+ * Invokes {...@link HTTPSamplerBase#readResponse(SampleResult,
InputStream, int)}
+ */
+ protected byte[] readResponse(SampleResult res, BufferedInputStream in,
+ int contentLength) throws IOException {
+ return testElement.readResponse(res, in, contentLength);
+ }
+
+ /**
+ * Invokes {...@link HTTPSamplerBase#resultProcessing(boolean, int,
HTTPSampleResult)}
+ */
+ protected HTTPSampleResult resultProcessing(boolean areFollowingRedirect,
+ int frameDepth, HTTPSampleResult res) {
+ return testElement.resultProcessing(areFollowingRedirect, frameDepth,
res);
+ }
+
+ /**
+ * Invokes {...@link HTTPSamplerBase#setUseKeepAlive(boolean)}
+ */
+ protected void setUseKeepAlive(boolean b) {
+ testElement.setUseKeepAlive(b);
+ }
+
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]