public abstract class Request
extends java.lang.Object
Constructor and Description |
---|
Request() |
Modifier and Type | Method and Description |
---|---|
FileDetails |
getFileForTransmission()
If a file transmission is required, get the file object representing
the file to transmit after the request string.
|
abstract java.lang.String |
getRequestString()
Get the request String that will be passed to the server
|
abstract boolean |
isResponseExpected()
Is a response expected from the server?
|
boolean |
modifiesInputStream()
Does this request modify the input stream?
|
void |
modifyInputStream(Connection connection)
Modify streams on the connection if necessary
|
void |
modifyOutputStream(Connection connection)
Modify streams on the connection if necessary
|
public abstract java.lang.String getRequestString() throws UnconfiguredRequestException
UnconfiguredRequestException
- if the request has not been
properly configuredpublic abstract boolean isResponseExpected()
public FileDetails getFileForTransmission()
public void modifyOutputStream(Connection connection) throws java.io.IOException
java.io.IOException
public void modifyInputStream(Connection connection) throws java.io.IOException
java.io.IOException
public boolean modifiesInputStream()
Built on January 12 2013. | Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.