public class GzipStreamRequest extends Request
| Constructor and Description |
|---|
GzipStreamRequest()
Creates new GzipStreamRequest with gzip level 6
|
GzipStreamRequest(int level)
Creates new GzipStreamRequest
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getRequestString()
Get the request String that will be passed to the server
|
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
|
getFileForTransmissionpublic GzipStreamRequest()
public GzipStreamRequest(int level)
level - the level of zipping to use (between 1 and 9)public java.lang.String getRequestString()
throws UnconfiguredRequestException
getRequestString in class RequestUnconfiguredRequestException - if the request has not been
properly configuredpublic boolean isResponseExpected()
isResponseExpected in class Requestpublic void modifyOutputStream(Connection connection) throws java.io.IOException
modifyOutputStream in class Requestjava.io.IOExceptionpublic void modifyInputStream(Connection connection) throws java.io.IOException
modifyInputStream in class Requestjava.io.IOExceptionpublic boolean modifiesInputStream()
modifiesInputStream in class Request