|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectwebwork.action.client.ClientDispatcher
The ClientDispatcher is used by remote clients to execute actions on a server running WebWork.
| Field Summary | |
static java.lang.String |
DISPATCHER
Standard dispatcher servlet URL |
| Constructor Summary | |
ClientDispatcher(java.applet.Applet anApplet,
java.lang.String context)
Create a new dispatcher with an applet providing the URL. |
|
ClientDispatcher(java.lang.String aHost)
Create a new dispatcher. |
|
| Method Summary | |
protected java.io.ObjectInputStream |
createObjectInputStream(java.io.InputStream in)
Create an object input stream that wraps the URL connection stream. |
protected java.io.ObjectOutputStream |
createObjectOutputStream(java.io.OutputStream out)
Create an object input stream that wraps the URL connection stream. |
ActionResult |
execute(Action anAction)
Execute the action on the server. |
java.lang.String |
getHost()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String DISPATCHER
| Constructor Detail |
public ClientDispatcher(java.applet.Applet anApplet,
java.lang.String context)
throws java.net.MalformedURLException
public ClientDispatcher(java.lang.String aHost)
aHost - The URL of the servlet handler| Method Detail |
public java.lang.String getHost()
public ActionResult execute(Action anAction)
throws java.lang.Exception
java.lang.Exception
protected java.io.ObjectInputStream createObjectInputStream(java.io.InputStream in)
throws java.io.IOException
in - the underlying stream. It is buffered
java.io.IOException
protected java.io.ObjectOutputStream createObjectOutputStream(java.io.OutputStream out)
throws java.io.IOException
out - The OutputStream to wrap
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||