org.codehaus.wadi.jetty5
Class SocketListener

java.lang.Object
  extended byorg.mortbay.util.ThreadPool
      extended byorg.mortbay.util.ThreadedServer
          extended byorg.mortbay.http.SocketListener
              extended byorg.codehaus.wadi.jetty5.SocketListener
All Implemented Interfaces:
org.mortbay.http.HttpListener, LifeCycle, Serializable

public class SocketListener
extends org.mortbay.http.SocketListener

A Jetty Listener, which defines a type of Connection on which we may set a flag to indicate whether it should be considered secure.

Version:
$Revision: 1139 $
Author:
Jules Gosnell
See Also:
Serialized Form

Nested Class Summary
static class SocketListener.HttpConnection
           
 
Nested classes inherited from class org.mortbay.util.ThreadPool
ThreadPool.PoolThread
 
Field Summary
 
Fields inherited from class org.mortbay.util.ThreadPool
__DAEMON, __PRIORITY
 
Fields inherited from interface org.mortbay.http.HttpListener
ATTRIBUTE
 
Constructor Summary
SocketListener()
           
 
Method Summary
protected  org.mortbay.http.HttpConnection createConnection(Socket socket)
           
 boolean isConfidential(org.mortbay.http.HttpConnection connection)
           
 boolean isIntegral(org.mortbay.http.HttpConnection connection)
           
 
Methods inherited from class org.mortbay.http.SocketListener
customizeRequest, customizeRequest, getBufferReserve, getBufferSize, getConfidentialPort, getConfidentialScheme, getDefaultScheme, getHttpHandler, getHttpServer, getIdentifyListener, getIntegralPort, getIntegralScheme, getLowResourcePersistTimeMs, getLowResources, handleConnection, isLowOnResources, isOutOfResources, persistConnection, setBufferReserve, setBufferSize, setConfidentialPort, setConfidentialScheme, setDefaultScheme, setHttpHandler, setHttpServer, setIdentifyListener, setIntegralPort, setIntegralScheme, setLowResourcePersistTimeMs, setLowResources, start, stop
 
Methods inherited from class org.mortbay.util.ThreadedServer
acceptSocket, acceptSocket, getAcceptorThreads, getAcceptQueueSize, getHost, getInetAddress, getInetAddrPort, getLingerTimeSecs, getMaxReadTimeMs, getPort, getServerSocket, getTcpNoDelay, handle, handleConnection, newServerSocket, open, setAcceptorThreads, setAcceptQueueSize, setHost, setInetAddress, setInetAddrPort, setLingerTimeSecs, setMaxReadTimeMs, setPort, setTcpNoDelay, stopJob, toString
 
Methods inherited from class org.mortbay.util.ThreadPool
getIdleThreads, getMaxIdleTimeMs, getMaxThreads, getMinThreads, getName, getPoolName, getThreads, getThreadsPriority, isDaemon, isStarted, join, run, setDaemon, setMaxIdleTimeMs, setMaxStopTimeMs, setMaxThreads, setMinThreads, setName, setPoolName, setThreadsPriority, shrink
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mortbay.http.HttpListener
getHost, getPort, setHost, setPort
 
Methods inherited from interface org.mortbay.util.LifeCycle
isStarted
 

Constructor Detail

SocketListener

public SocketListener()
Method Detail

createConnection

protected org.mortbay.http.HttpConnection createConnection(Socket socket)
                                                    throws IOException
Throws:
IOException

isIntegral

public boolean isIntegral(org.mortbay.http.HttpConnection connection)

isConfidential

public boolean isConfidential(org.mortbay.http.HttpConnection connection)


Copyright © 2004-2006 Core Developers Network Ltd.. All Rights Reserved.