|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.remoting.AbstractInvoker
org.jboss.remoting.ServerInvoker
org.jboss.remoting.transport.web.WebServerInvoker
org.jboss.remoting.transport.http.HTTPServerInvoker
public class HTTPServerInvoker
This is the stand alone http server invoker which acts basically as a web server. Server invoker implementation based on http protocol. Is basically a stand alone http server whose request are forwared to the invocation handler and responses from invocation handler are sent back to caller as http response.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.jboss.remoting.transport.web.WebServerInvoker |
---|
WebServerInvoker.CreatedInvocationRequest |
Nested classes/interfaces inherited from class org.jboss.remoting.ServerInvoker |
---|
ServerInvoker.InvalidStateException |
Nested classes/interfaces inherited from class org.jboss.remoting.AbstractInvoker |
---|
AbstractInvoker.CallbackLocatorHolder |
Field Summary | |
---|---|
protected int |
backlog
Deprecated. |
static java.lang.String |
HTML
Deprecated. |
static java.lang.String |
HTTP_KEEP_ALIVE_TIMEOUT_KEY
Deprecated. |
static java.lang.String |
HTTP_THREAD_POOL_CLASS_KEY
Deprecated. |
protected int |
keepAliveTimeout
Deprecated. |
static java.lang.String |
MAX_NUM_HTTP_THREADS_KEY
Deprecated. |
static java.lang.String |
PLAIN
Deprecated. |
static java.lang.String |
SOAP
Deprecated. |
Fields inherited from class org.jboss.remoting.transport.web.WebServerInvoker |
---|
HEADER_SESSION_ID, HEADER_SUBSYSTEM |
Fields inherited from class org.jboss.remoting.AbstractInvoker |
---|
classbyteloader, configuration, localServerLocators, locator, passConfigMapToMarshalFactory, serializationType, socketFactory, socketFactoryCreatedFromSSLParameters |
Constructor Summary | |
---|---|
HTTPServerInvoker(InvokerLocator locator)
Deprecated. |
|
HTTPServerInvoker(InvokerLocator locator,
java.util.Map configuration)
Deprecated. |
Method Summary | |
---|---|
protected java.net.ServerSocket |
createServerSocket(int serverBindPort,
int backlog,
java.net.InetAddress bindAddress)
Deprecated. |
org.jboss.util.threadpool.ThreadPool |
getHTTPThreadPool()
Deprecated. |
int |
getKeepAliveTimeout()
Deprecated. |
int |
getMaxNumberOfHTTPThreads()
Deprecated. |
void |
run()
Deprecated. |
void |
setHTTPThreadPool(org.jboss.util.threadpool.ThreadPool pool)
Deprecated. |
void |
setKeepAliveTimeout(int keepAliveTimeout)
Deprecated. |
void |
setMaxNumberOfHTTPThreads(int numOfThreads)
Deprecated. |
void |
setNewServerSocketFactory(javax.net.ServerSocketFactory serverSocketFactory)
Deprecated. |
protected void |
setup()
Deprecated. |
void |
start()
Deprecated. Subclasses should override to provide any specific start logic. |
void |
stop()
Deprecated. Subclasses should override to provide any specific stop logic. |
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.AbstractInvoker |
---|
addClientLocator, createSocketFactory, getClassLoader, getClientLocator, getClientLocators, getLocator, getSerializationType, getSocketFactory, isCompleteSocketFactory, isSocketFactoryCreatedFromSSLParameters, needsCustomSSLConfiguration, setClassLoader, setSerializationType, setSocketFactory, wrapSocketFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String MAX_NUM_HTTP_THREADS_KEY
public static final java.lang.String HTTP_THREAD_POOL_CLASS_KEY
public static final java.lang.String HTTP_KEEP_ALIVE_TIMEOUT_KEY
protected int backlog
protected int keepAliveTimeout
public static java.lang.String HTML
public static java.lang.String PLAIN
public static java.lang.String SOAP
Constructor Detail |
---|
public HTTPServerInvoker(InvokerLocator locator)
public HTTPServerInvoker(InvokerLocator locator, java.util.Map configuration)
Method Detail |
---|
public int getKeepAliveTimeout()
public void setKeepAliveTimeout(int keepAliveTimeout)
public void setNewServerSocketFactory(javax.net.ServerSocketFactory serverSocketFactory)
protected void setup() throws java.lang.Exception
setup
in class ServerInvoker
java.lang.Exception
public void setMaxNumberOfHTTPThreads(int numOfThreads)
public int getMaxNumberOfHTTPThreads()
public org.jboss.util.threadpool.ThreadPool getHTTPThreadPool()
public void setHTTPThreadPool(org.jboss.util.threadpool.ThreadPool pool)
public void start() throws java.io.IOException
ServerInvoker
start
in interface ServerInvokerMBean
start
in class ServerInvoker
java.io.IOException
protected java.net.ServerSocket createServerSocket(int serverBindPort, int backlog, java.net.InetAddress bindAddress) throws java.io.IOException
java.io.IOException
public void run()
run
in interface java.lang.Runnable
public void stop()
ServerInvoker
stop
in interface ServerInvokerMBean
stop
in class ServerInvoker
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |