org.apache.xmlrpc.secure

Class SecureWebServer

public class SecureWebServer extends WebServer implements SecurityConstants

A minimal web server that exclusively handles XML-RPC requests over a secure channel. Standard security properties must be set before the SecureWebserver can be used. The SecurityTool takes care of retrieving these values, but the parent application must set the necessary values before anything will work.

Version: $Id: SecureWebServer.java 233919 2005-04-22 10:26:17Z hgomez $

Author: Jason van Zyl

Constructor Summary
SecureWebServer(int port)
Creates a secure web server configured to run on the specified port number.
SecureWebServer(int port, InetAddress addr)
Creates a secure web server configured to run on the specified port number and IP address.
SecureWebServer(int port, InetAddress addr, XmlRpcServer xmlrpc)
Creates a secure web server at the specified port number and IP address.
Method Summary
protected ServerSocketcreateServerSocket(int port, int backlog, InetAddress add)
static voidmain(String[] argv)
This can be called from command line, but you'll have to edit and recompile to change the server port or handler objects.

Constructor Detail

SecureWebServer

public SecureWebServer(int port)
Creates a secure web server configured to run on the specified port number.

Parameters: int port number of secure web server.

See Also: SecureWebServer

SecureWebServer

public SecureWebServer(int port, InetAddress addr)
Creates a secure web server configured to run on the specified port number and IP address.

Parameters: int port number of the secure web server addr The IP address to bind to.

See Also: WebServer

SecureWebServer

public SecureWebServer(int port, InetAddress addr, XmlRpcServer xmlrpc)
Creates a secure web server at the specified port number and IP address.

Method Detail

createServerSocket

protected ServerSocket createServerSocket(int port, int backlog, InetAddress add)

See Also: WebServer

main

public static void main(String[] argv)
This can be called from command line, but you'll have to edit and recompile to change the server port or handler objects.

See Also: addDefaultHandlers

Copyright B) 1999-2002 Apache Software Foundation. All Rights Reserved.