|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.lib.cvsclient.request.Request
org.netbeans.lib.cvsclient.request.GzipStreamRequest
public class GzipStreamRequest
This class implements the Gzip-Stream request that is used to indicate that all further communication with the server is to be gzipped.
Constructor Summary | |
---|---|
GzipStreamRequest()
Creates new GzipStreamRequest with gzip level 6 |
|
GzipStreamRequest(int level)
Creates new GzipStreamRequest |
Method Summary | |
---|---|
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 |
Methods inherited from class org.netbeans.lib.cvsclient.request.Request |
---|
getFileForTransmission |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GzipStreamRequest()
public GzipStreamRequest(int level)
level
- the level of zipping to use (between 1 and 9)Method Detail |
---|
public java.lang.String getRequestString() throws UnconfiguredRequestException
getRequestString
in class Request
UnconfiguredRequestException
- if the request has not been
properly configuredpublic boolean isResponseExpected()
isResponseExpected
in class Request
public void modifyOutputStream(Connection connection) throws java.io.IOException
modifyOutputStream
in class Request
java.io.IOException
public void modifyInputStream(Connection connection) throws java.io.IOException
modifyInputStream
in class Request
java.io.IOException
public boolean modifiesInputStream()
modifiesInputStream
in class Request
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |