|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.catalina.connector.warp.WarpConnector
Fields inherited from interface org.apache.catalina.Lifecycle |
START_EVENT, STOP_EVENT |
Constructor Summary | |
WarpConnector()
|
Method Summary | |
void |
addLifecycleListener(LifecycleListener listener)
Add a lifecycle event listener to this component. |
Request |
createRequest()
Create and return a Request object suitable for receiving the contents of a Request from the responsible Container. |
Response |
createResponse()
Create and return a Response object suitable for receiving the contents of a Response from the responsible Container. |
int |
getAcceptCount()
Return the accept count for this Connector. |
Container |
getContainer()
Return the Container used for processing requests received by this Connector. |
boolean |
getEnableLookups()
Return the "enable DNS lookups" flag for this Connector. |
ServerSocketFactory |
getFactory()
Return the server socket factory used by this Connector. |
java.lang.String |
getInfo()
Return descriptive information about this implementation. |
int |
getPort()
Return the port number on which we listen for HTTP requests. |
int |
getRedirectPort()
Return the port number to which a request should be redirected if it comes in on a non-SSL port and is subject to a security constraint with a transport guarantee that requires SSL. |
java.lang.String |
getScheme()
Return the scheme that will be assigned to requests received through this connector. |
boolean |
getSecure()
Return the secure connection flag that will be assigned to requests received through this connector. |
void |
log(java.lang.Exception exc)
Dump information for an Exception. |
void |
log(java.lang.String msg)
Dump a log message. |
void |
removeLifecycleListener(LifecycleListener listener)
Remove a lifecycle event listener from this component. |
void |
run()
Run the acceptor thread, the thread that will wait on the server socket and create new connections. |
void |
setAcceptCount(int acceptcount)
Set the accept count for this Connector. |
void |
setContainer(Container container)
Set the Container used for processing requests received by this Connector. |
void |
setEnableLookups(boolean enableLookups)
Set the "enable DNS lookups" flag for this Connector. |
void |
setFactory(ServerSocketFactory factory)
Set the server socket factory used by this Container. |
void |
setPort(int port)
Set the port number on which we listen for HTTP requests. |
void |
setRedirectPort(int redirectPort)
Set the redirect port number. |
void |
setScheme(java.lang.String scheme)
Set the scheme that will be assigned to requests received through this connector. |
void |
setSecure(boolean secure)
Set the secure connection flag that will be assigned to requests received through this connector. |
void |
start()
Begin processing requests via this Connector. |
void |
stop()
Terminate processing requests via this Connector. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WarpConnector()
Method Detail |
public void run()
run
in interface java.lang.Runnable
public Request createRequest()
createRequest
in interface Connector
public Response createResponse()
createResponse
in interface Connector
public void start() throws LifecycleException
start
in interface Lifecycle
org.apache.catalina.Lifecycle
IllegalStateException
- if this component has already been
startedLifecycleException
- if this component detects a fatal error
that prevents this component from being usedpublic void stop() throws LifecycleException
stop
in interface Lifecycle
org.apache.catalina.Lifecycle
IllegalStateException
- if this component has not been startedLifecycleException
- if this component detects a fatal error
that needs to be reportedpublic void addLifecycleListener(LifecycleListener listener)
addLifecycleListener
in interface Lifecycle
org.apache.catalina.Lifecycle
listener
- The listener to addpublic void removeLifecycleListener(LifecycleListener listener)
removeLifecycleListener
in interface Lifecycle
org.apache.catalina.Lifecycle
listener
- The listener to removepublic java.lang.String getInfo()
getInfo
in interface Connector
public int getRedirectPort()
getRedirectPort
in interface Connector
public void setRedirectPort(int redirectPort)
setRedirectPort
in interface Connector
redirectPort
- The redirect port number (non-SSL to SSL)public boolean getSecure()
getSecure
in interface Connector
public void setSecure(boolean secure)
setSecure
in interface Connector
org.apache.catalina.Connector
secure
- The new secure connection flagpublic java.lang.String getScheme()
getScheme
in interface Connector
public void setScheme(java.lang.String scheme)
setScheme
in interface Connector
org.apache.catalina.Connector
scheme
- The new schemepublic Container getContainer()
getContainer
in interface Connector
public void setContainer(Container container)
setContainer
in interface Connector
org.apache.catalina.Connector
container
- The new Container to usepublic boolean getEnableLookups()
getEnableLookups
in interface Connector
public void setEnableLookups(boolean enableLookups)
setEnableLookups
in interface Connector
org.apache.catalina.Connector
enableLookups
- The new "enable DNS lookups" flag valuepublic ServerSocketFactory getFactory()
getFactory
in interface Connector
public void setFactory(ServerSocketFactory factory)
setFactory
in interface Connector
org.apache.catalina.Connector
factory
- The new server socket factorypublic int getPort()
public void setPort(int port)
public int getAcceptCount()
public void setAcceptCount(int acceptcount)
acceptcount
- The new accept countpublic void log(java.lang.String msg)
public void log(java.lang.Exception exc)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |