java.lang.Object
com.psibt.framework.net.RootRequestHandler
com.psibt.framework.net.UserDialogRequestHandler
- All Implemented Interfaces:
- HTTPRequestHandler
- public class UserDialogRequestHandler
- extends RootRequestHandler
This class implements a RequestHandler for the path "/userdialog/" in the PluggableHTTPServer.
A simple input form is presented in the browser where you can enter a message. This message will be sent
to the PluggableHTTPServer and shown in a JOptionPane MessageDialog.
|
Method Summary |
boolean |
handleRequest(java.lang.String request,
Writer out)
Handles the given request and writes the reply to the given out-stream. |
| Methods inherited from class com.psibt.framework.net.RootRequestHandler |
getDescription, getHandledPath, getReplyHTML, getReplyType, getTitle, handleRequest, setDescription, setHandledPath, setReplyHTML, setReplyType, setTitle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parentComponent
private Component parentComponent
UserDialogRequestHandler
public UserDialogRequestHandler()
- Creates a new UserDialogRequestHandler object
UserDialogRequestHandler
public UserDialogRequestHandler(Component parentComponent)
- Creates a new UserDialogRequestHandler object with a parentComponent reference
handleRequest
public boolean handleRequest(java.lang.String request,
Writer out)
- Handles the given request and writes the reply to the given out-stream.
- Overrides:
handleRequest in class RootRequestHandler