|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.utils.webdav.CustomiseWebDAV
public class CustomiseWebDAV
This class should be used to customise the components WebDAV uses.
These include:
CustomiseWebDAV and the use of WebDAVRepository should be in a synchronized block, so the other threads do not modify your settings.
Constructor Summary | |
---|---|
CustomiseWebDAV()
|
Method Summary | |
---|---|
static boolean |
getKeepAlive()
This method returns the keep alive setting. |
static int |
getReceiveBufferSize()
This method returns the receive buffer size setting. |
static int |
getSendBufferSize()
This method returns the send buffer size setting. |
static int |
getTimeout()
This method returns the timeout setting in milliseconds. |
static void |
setKeepAlive(boolean flag)
Enable/Disable keep the socket alive. |
static void |
setReceiveBufferSize(int size)
Sets the receive buffer size to the parameter size. |
static void |
setSendBufferSize(int size)
Sets the send buffer size to the parameter size. |
static void |
setTimeout(int amount)
Sets the send buffer size to the parameter amount. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CustomiseWebDAV()
Method Detail |
---|
public static boolean getKeepAlive()
public static int getReceiveBufferSize()
public static int getSendBufferSize()
public static int getTimeout()
public static void setKeepAlive(boolean flag)
flag
- - if it is true, the keep alive is enable; otherwise
it is disable.public static void setReceiveBufferSize(int size)
size
- - how many bytes are used for this buffere.public static void setSendBufferSize(int size)
size
- - how many bytes are used for this buffere.public static void setTimeout(int amount)
amount
- - how many bytes are used for this buffere.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |