|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.exolab.core.http.HttpClient
| Constructor Summary | |
HttpClient(java.lang.String url,
java.lang.String label)
Creates an HttpClient Object. |
|
| Method Summary | |
void |
close()
Implementation of IpcIfc.close the channel. |
java.net.URL |
getURL()
Return the server URL |
java.lang.Object |
receive()
Return the value of any send reply. |
void |
send(java.io.Serializable ob)
Send the specified object. |
void |
send(java.io.Serializable ob,
java.lang.String host,
java.lang.String port)
Send the specified object. |
void |
sendWithoutResponse(java.io.Serializable ob)
Send the specified object. |
void |
sendWithoutResponse(java.io.Serializable ob,
java.lang.String host,
java.lang.String port)
Send the specified object. |
java.lang.String |
toString()
Returns a unique id for this connection. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public HttpClient(java.lang.String url,
java.lang.String label)
throws java.net.MalformedURLException
url - The URL of the server hosting the OpenJMS servlet.label - An id for this client.
java.net.MalformedURLException - if url syntax is incorrect.| Method Detail |
public void close()
throws java.io.IOException
close in interface IpcIfcjava.io.IOException
public void send(java.io.Serializable ob,
java.lang.String host,
java.lang.String port)
throws java.io.IOException
ob - The object to send. Must be serializable.
java.io.IOException - If the data fails to write to the output stream.
public void send(java.io.Serializable ob)
throws java.io.IOException
send in interface IpcIfcob - The object to send. Must be serializable.
java.io.IOException - If the data fails to write to the output stream.
public void sendWithoutResponse(java.io.Serializable ob)
throws java.io.IOException
ob - The object to send. Must be serializable.
java.io.IOException - If the data fails to write to the output stream.
public void sendWithoutResponse(java.io.Serializable ob,
java.lang.String host,
java.lang.String port)
throws java.io.IOException
ob - The object to send. Must be serializable.
java.io.IOException - If the data fails to write to the output stream.public java.lang.Object receive()
receive in interface IpcIfcpublic java.net.URL getURL()
public java.lang.String toString()
toString in interface IpcIfc
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||