JavaXT
|
|||
Server ClassA lightweight, multi-threaded web server used to process HTTP requests and send responses back to the client. The server requires an implementation of the HttpServlet class. As new requests come in, they are passed to the HttpServlet.processRequest() method which is used to generate a response.
ConstructorsPropertiesdebug
Public MethodssetMinTLSVersion( Double tlsVersion ) returns void By default, the server is configured to support TLS 1.0, 1.1, and 1.2. You can disable older ciphers by specifying a minimum TLS version (e.g. 1.2), run( ) returns void Used to start the web server. Creates a thread pool and instantiates a socket listener for each specified port/address. Static Methodsmain( String[] args ) returns void Entry point for the application. Accepts command line arguments to specify which port to use and the maximum number of concurrent threads.
log( Object obj ) returns void Used to log messages to the standard output stream when the server is in debug mode. |