|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WebDAVSocket
This interface provides the steps required for a successful HTTP transaction. 1. A HTTP client opens a connection. 2. Sends a request message to a HTTP server and the server returns a response message, containing the requested data or an error. 3. Closes the connection.
Method Summary | |
---|---|
void |
close()
3. |
void |
open(java.lang.String host,
int port)
1. |
byte[] |
sendAndReceive(byte[] message)
2. |
java.lang.String |
sendAndReceive(java.lang.String message)
2. |
Method Detail |
---|
void open(java.lang.String host, int port) throws java.io.IOException
host
- port
-
java.io.IOException
java.lang.String sendAndReceive(java.lang.String message) throws java.io.IOException
message
- client request message
java.io.IOException
byte[] sendAndReceive(byte[] message) throws java.io.IOException
message
- client request message in binary
java.io.IOException
void close() throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |