public abstract class Request extends Object implements Serializable
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 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 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 IOException
IOException
public void modifyInputStream(Connection connection) throws IOException
IOException
public boolean modifiesInputStream()
Copyright © 2016. All rights reserved.