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_THREAD_POOL_CLASS_KEY, MAX_NUM_HTTP_THREADS_KEY, PLAIN, SOAP
 
Fields inherited from class org.jboss.remoting.transport.web.WebServerInvoker
BINARY, HEADER_SESSION_ID, HEADER_SUBSYSTEM
 
Fields inherited from class org.jboss.remoting.ServerInvoker
callbackHandlers, CLIENT_CONNECT_ADDRESS_KEY, CLIENT_CONNECT_PORT_KEY, handlers, MAX_NUM_ONEWAY_THREADS, MAX_NUM_ONEWAY_THREADS_KEY, ONEWAY_THREAD_POOL_CLASS_KEY, SERVER_BIND_ADDRESS_KEY, SERVER_BIND_PORT_KEY
 
Fields inherited from class org.jboss.remoting.AbstractInvoker
classbyteloader, localServerLocators, locator, log
 
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
getDefaultDataType, getHTTPThreadPool, getMaxNumberOfHTTPThreads, run, setHTTPThreadPool, setMaxNumberOfHTTPThreads, setup, start, stop
 
Methods inherited from class org.jboss.remoting.transport.web.WebServerInvoker
createNewInvocationRequest, getContentLength, getInvocationRequest, getSessionId, isBinary, isTransportBiDirectional
 
Methods inherited from class org.jboss.remoting.ServerInvoker
addInvocationHandler, create, destroy, getClientConnectAddress, getClientConnectPort, getConfiguration, getDataType, getInvocationHandler, getInvocationHandlers, getMaxNumberOfOnewayThreads, getMBeanObjectName, getMBeanServer, getOnewayThreadPool, getServerBindAddress, getServerBindPort, getSupportedSubsystems, hasInvocationHandler, invoke, invoke, isStarted, postProcess, preProcess, removeInvocationHandler, setClientConnectAddress, setClientConnectPort, setConfiguration, setMaxNumberOfOnewayThreads, setMBeanServer, setOnewayThreadPool
 
Methods inherited from class org.jboss.remoting.AbstractInvoker
addClientLocator, getClassLoader, getClientLocator, getLocator, setClassLoader
 
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.

Parameters:
serverSocketFactory -


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