|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.utils.webdav.WebDAVSocketHTTP
public class WebDAVSocketHTTP
This class is the implementation of a Socket for use over a HTTP connection. It's methods are defined in the WebDAVSocket interface.
Constructor Summary | |
---|---|
WebDAVSocketHTTP()
|
Method Summary | |
---|---|
void |
close()
3. |
void |
open(java.lang.String server,
int port)
1. |
byte[] |
sendAndReceive(byte[] message)
2. |
java.lang.String |
sendAndReceive(java.lang.String message)
2. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebDAVSocketHTTP()
Method Detail |
---|
public void open(java.lang.String server, int port) throws java.net.UnknownHostException, java.io.IOException
WebDAVSocket
open
in interface WebDAVSocket
java.io.IOException
java.net.UnknownHostException
public java.lang.String sendAndReceive(java.lang.String message) throws java.io.IOException
WebDAVSocket
sendAndReceive
in interface WebDAVSocket
message
- client request message
java.io.IOException
public byte[] sendAndReceive(byte[] message) throws java.io.IOException
WebDAVSocket
sendAndReceive
in interface WebDAVSocket
message
- client request message in binary
java.io.IOException
public void close() throws java.io.IOException
WebDAVSocket
close
in interface WebDAVSocket
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |