.
| Method from org.apache.cactus.mock.MockHttpURLConnection Detail: |
public void connect() {
}
|
public void disconnect() {
}
|
public String getHeaderField(int theFieldNumber) {
if (this.getHeaderFieldValue == null)
{
throw new RuntimeException(
"Must call setExpectedGetHeaderField() first !");
}
return this.getHeaderFieldValue;
}
|
public InputStream getInputStream() {
if (this.getInputStreamValue == null)
{
throw new RuntimeException(
"Must call setExpectedGetInputStream() first !");
}
return this.getInputStreamValue;
}
|
public void setExpectedGetHeaderField(String theValue) {
this.getHeaderFieldValue = theValue;
}
Sets the header field value that will be returned by
getHeaderField(). |
public void setExpectedGetInputStream(InputStream theValue) {
this.getInputStreamValue = theValue;
}
Sets the input stream value that will be returned by
getInputStream(). |
public boolean usingProxy() {
return false;
}
|