org.apache.geronimo.jetty6.connector
Class HTTPSocketConnector

java.lang.Object
  extended by org.apache.geronimo.jetty6.connector.JettyConnector
      extended by org.apache.geronimo.jetty6.connector.HTTPSocketConnector
All Implemented Interfaces:
GBeanLifecycle, JettyWebConnector, NetworkConnector, WebConnector

public class HTTPSocketConnector
extends JettyConnector


Field Summary
static GBeanInfo GBEAN_INFO
           
 
Fields inherited from class org.apache.geronimo.jetty6.connector.JettyConnector
CONNECTOR_CONTAINER_REFERENCE, listener
 
Constructor Summary
HTTPSocketConnector(JettyContainer container, ThreadPool threadPool)
           
 
Method Summary
 int getDefaultPort()
           
static GBeanInfo getGBeanInfo()
           
 String getProtocol()
          Gets the network protocol that this connector handles.
 void setRedirectPort(int port)
          Gets the network port to which traffic will be redirected if this connector handles insecure traffic and the request requires a secure connection.
 
Methods inherited from class org.apache.geronimo.jetty6.connector.JettyConnector
doFail, doStart, doStop, getAcceptQueueSize, getBufferSizeBytes, getConnectUrl, getDefaultScheme, getHost, getLingerMillis, getListenAddress, getMaxIdleTimeMs, getMaxThreads, getPort, getRedirectPort, isTcpNoDelay, setAcceptQueueSize, setBufferSizeBytes, setHost, setLingerMillis, setMaxIdleTimeMs, setMaxThreads, setPort, setTcpNoDelay
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GBEAN_INFO

public static final GBeanInfo GBEAN_INFO
Constructor Detail

HTTPSocketConnector

public HTTPSocketConnector(JettyContainer container,
                           ThreadPool threadPool)
Method Detail

getProtocol

public String getProtocol()
Description copied from interface: NetworkConnector
Gets the network protocol that this connector handles.

Specified by:
getProtocol in interface NetworkConnector
Specified by:
getProtocol in class JettyConnector

getDefaultPort

public int getDefaultPort()
Specified by:
getDefaultPort in class JettyConnector

setRedirectPort

public void setRedirectPort(int port)
Description copied from interface: WebConnector
Gets the network port to which traffic will be redirected if this connector handles insecure traffic and the request requires a secure connection. Needless to say, this should point to another connector configured for SSL. If no SSL connector is available, any port can be used as they all fail equally well. :)

Specified by:
setRedirectPort in interface WebConnector
Overrides:
setRedirectPort in class JettyConnector

getGBeanInfo

public static GBeanInfo getGBeanInfo()


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.