| Home >> All >> com >> psibt >> framework >> [ net Javadoc ] |
com.psibt.framework.net: Javadoc index of package com.psibt.framework.net.
Package Samples:
com.psibt.framework.net
Classes:
PluggableHTTPServer: This class implements a HTTP-server frame. All HTTP-requests are handled by HTTPRequestHandler classes which implement the HTTPRequestHandler interface. Every RequestHandler has to be registered in the PluggableHTTPServer with the addRequestHandler method. A new thread is created for each connection to handle the request. If all reply data are sent to the client the connection is closed and the thread ends. An example how to use the PluggableHTTPServer class can be found in the main method at the end of the source file.
Log4jRequestHandler: This class implements a RequestHandler for log4j configuration. It serves the "/log4j/" path in the PluggableHTTPServer. If this path is requested a list of all current log4j categories with their current priorities is created. All priority settings can be changed by the user and can be submitted and taken over.
UserDialogRequestHandler: 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.
RootRequestHandler: This class implements a RequestHandler for the root path "/" in the PluggableHTTPServer. A simple HTML message will be replied to the client.
HTTPRequestHandler: This interface defines all methods that have to be implemented for a HTTPRequestHandler for the PluggableHTTPServer.
| Home | Contact Us | Privacy Policy | Terms of Service |