org.jboss.remoting.transport.http.ssl
Class HTTPSServerInvoker

java.lang.Object
  extended byorg.jboss.remoting.AbstractInvoker
      extended byorg.jboss.remoting.ServerInvoker
          extended byorg.jboss.remoting.transport.web.WebServerInvoker
              extended byorg.jboss.remoting.transport.http.HTTPServerInvoker
                  extended byorg.jboss.remoting.transport.http.ssl.HTTPSServerInvoker
All Implemented Interfaces:
Invoker, java.lang.Runnable, ServerInvokerMBean

public class HTTPSServerInvoker
extends HTTPServerInvoker

Extension of the HTTPserverInvoker which uses a custom server socket which is created using custom server socket factory that can support SSL.

Author:
Tom Elrod

Field Summary
protected  javax.net.ServerSocketFactory serverSocketFactory
           
 
Fields inherited from class org.jboss.remoting.transport.http.HTTPServerInvoker
backlog, HTML, HTTP_KEEP_ALIVE_TIMEOUT_KEY, HTTP_THREAD_POOL_CLASS_KEY, keepAliveTimeout, MAX_NUM_HTTP_THREADS_KEY, PLAIN, SOAP
 
Fields inherited from class org.jboss.remoting.transport.web.WebServerInvoker
HEADER_SESSION_ID, HEADER_SUBSYSTEM
 
Fields inherited from class org.jboss.remoting.ServerInvoker
callbackHandlers, CLIENT_CONNECT_ADDRESS_KEY, CLIENT_CONNECT_PORT_KEY, CLIENT_LEASE_PERIOD, clientCallbackListener, DEFAULT_CLIENT_LEASE_PERIOD, handlers, MAX_NUM_ONEWAY_THREADS, MAX_NUM_ONEWAY_THREADS_KEY, ONEWAY_THREAD_POOL_CLASS_KEY, SERVER_BIND_ADDRESS_KEY, SERVER_BIND_PORT_KEY, SERVER_SOCKET_FACTORY, TIMEOUT
 
Fields inherited from class org.jboss.remoting.AbstractInvoker
classbyteloader, configuration, localServerLocators, locator, log, serializationType
 
Constructor Summary
HTTPSServerInvoker(InvokerLocator locator)
           
HTTPSServerInvoker(InvokerLocator locator, java.util.Map configuration)
           
 
Method Summary
protected  java.net.ServerSocket createServerSocket(int serverBindPort, int backlog, java.net.InetAddress bindAddress)
           
 void setServerSocketFactory(javax.net.ServerSocketFactory serverSocketFactory)
          Sets the server socket factory for the SocketServerInvoker to use.
 
Methods inherited from class org.jboss.remoting.transport.http.HTTPServerInvoker
getHTTPThreadPool, getKeepAliveTimeout, getMaxNumberOfHTTPThreads, run, setHTTPThreadPool, setKeepAliveTimeout, setMaxNumberOfHTTPThreads, setup, start, stop
 
Methods inherited from class org.jboss.remoting.transport.web.WebServerInvoker
createNewInvocationRequest, getContentLength, getDefaultDataType, getInvocationRequest, getMarshaller, getSessionId, getUnMarshaller, isTransportBiDirectional
 
Methods inherited from class org.jboss.remoting.ServerInvoker
addConnectionListener, addInvocationHandler, create, createServerSocketFactory, destroy, getClientConnectAddress, getClientConnectPort, getConfiguration, getDataType, getDefaultServerSocketFactory, getInvocationHandler, getInvocationHandlers, getLeasePeriod, getMaxNumberOfOnewayThreads, getMBeanObjectName, getMBeanServer, getOnewayThreadPool, getServerBindAddress, getServerBindPort, getServerSocketFactory, getSupportedSubsystems, getTimeout, hasInvocationHandler, invoke, invoke, isStarted, postProcess, preProcess, removeCallbackListener, removeConnectionListener, removeInvocationHandler, setClientConnectAddress, setClientConnectPort, setConfiguration, setLeasePeriod, setMaxNumberOfOnewayThreads, setMBeanServer, setOnewayThreadPool, setTimeout
 
Methods inherited from class org.jboss.remoting.AbstractInvoker
addClientLocator, getClassLoader, getClientLocator, getLocator, getSerializationType, setClassLoader, setSerializationType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serverSocketFactory

protected javax.net.ServerSocketFactory serverSocketFactory
Constructor Detail

HTTPSServerInvoker

public HTTPSServerInvoker(InvokerLocator locator)

HTTPSServerInvoker

public HTTPSServerInvoker(InvokerLocator locator,
                          java.util.Map configuration)
Method Detail

createServerSocket

protected java.net.ServerSocket createServerSocket(int serverBindPort,
                                                   int backlog,
                                                   java.net.InetAddress bindAddress)
                                            throws java.io.IOException
Overrides:
createServerSocket in class HTTPServerInvoker
Throws:
java.io.IOException

setServerSocketFactory

public void setServerSocketFactory(javax.net.ServerSocketFactory serverSocketFactory)
Sets the server socket factory for the SocketServerInvoker to use. Can produce normal server socket or ssl server socket, depending on implementation passed.

Overrides:
setServerSocketFactory in class ServerInvoker
Parameters:
serverSocketFactory -


Copyright ? 1998-2005 JBoss Inc . All Rights Reserved.