|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--org.apache.catalina.connector.http.HttpConnector
Implementation of an HTTP/1.1 connector.
フィールドの概要 | |
protected Container |
container
The Container used for processing requests received by this Connector. |
protected LifecycleSupport |
lifecycle
The lifecycle event support for this component. |
protected int |
minProcessors
The minimum number of processors to start at initialization time. |
インタフェース org.apache.catalina.Lifecycle から継承したフィールド |
START_EVENT, STOP_EVENT |
コンストラクタの概要 | |
HttpConnector()
|
メソッドの概要 | |
void |
addLifecycleListener(LifecycleListener listener)
Add a lifecycle event listener to this component. |
Request |
createRequest()
Create (or allocate) and return a Request object suitable for specifying the contents of a Request to the responsible Container. |
Response |
createResponse()
Create (or allocate) 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. |
java.lang.String |
getAddress()
Return the bind IP address for this Connector. |
int |
getBufferSize()
Return the input buffer size for this Connector. |
int |
getConnectionTimeout()
Return the connection timeout for this Connector. |
Container |
getContainer()
Return the Container used for processing requests received by this Connector. |
int |
getCurProcessors()
Return the current number of processors that have been created. |
int |
getDebug()
Return the debugging detail level for this component. |
boolean |
getEnableLookups()
Return the "enable DNS lookups" flag. |
ServerSocketFactory |
getFactory()
Return the server socket factory used by this Container. |
java.lang.String |
getInfo()
Return descriptive information about this Connector implementation. |
int |
getMaxProcessors()
Return the maximum number of processors allowed, or <0 for unlimited. |
int |
getMinProcessors()
Return the minimum number of processors to start at initialization. |
int |
getPort()
Return the port number on which we listen for HTTP requests. |
java.lang.String |
getProxyName()
Return the proxy server name for this Connector. |
int |
getProxyPort()
Return the proxy server port for this Connector. |
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. |
Service |
getService()
Return the Service with which we are associated (if any). |
boolean |
getTcpNoDelay()
Return the TCP no delay flag value. |
void |
initialize()
Initialize this connector (create ServerSocket here!) |
boolean |
isAvailable()
Is this connector available for processing requests? |
boolean |
isChunkingAllowed()
Get the allow chunking flag. |
void |
removeLifecycleListener(LifecycleListener listener)
Remove a lifecycle event listener from this component. |
void |
run()
The background thread that listens for incoming TCP/IP connections and hands them off to an appropriate processor. |
void |
setAcceptCount(int count)
Set the accept count for this Connector. |
void |
setAddress(java.lang.String address)
Set the bind IP address for this Connector. |
void |
setAllowChunking(boolean allowChunking)
Set the allow chunking flag. |
void |
setBufferSize(int bufferSize)
Set the input buffer size for this Connector. |
void |
setConnectionTimeout(int connectionTimeout)
Set the connection timeout for this Connector. |
void |
setContainer(Container container)
Set the Container used for processing requests received by this Connector. |
void |
setDebug(int debug)
Set the debugging detail level for this component. |
void |
setEnableLookups(boolean enableLookups)
Set the "enable DNS lookups" flag. |
void |
setFactory(ServerSocketFactory factory)
Set the server socket factory used by this Container. |
void |
setMaxProcessors(int maxProcessors)
Set the maximum number of processors allowed, or <0 for unlimited. |
void |
setMinProcessors(int minProcessors)
Set the minimum number of processors to start at initialization. |
void |
setPort(int port)
Set the port number on which we listen for HTTP requests. |
void |
setProxyName(java.lang.String proxyName)
Set the proxy server name for this Connector. |
void |
setProxyPort(int proxyPort)
Set the proxy server port for this Connector. |
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 |
setService(Service service)
Set the Service with which we are associated (if any). |
void |
setTcpNoDelay(boolean tcpNoDelay)
Set the TCP no delay flag which will be set on the socket after accepting a connection. |
void |
start()
Begin processing requests via this Connector. |
void |
stop()
Terminate processing requests via this Connector. |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
protected Container container
protected LifecycleSupport lifecycle
protected int minProcessors
コンストラクタの詳細 |
public HttpConnector()
メソッドの詳細 |
public Service getService()
Service
with which we are associated (if any).Connector
内の getService
public void setService(Service service)
Service
with which we are associated (if any).Connector
内の setService
service
- The service that owns this Enginepublic int getConnectionTimeout()
public void setConnectionTimeout(int connectionTimeout)
count
- The new connection timeoutpublic int getAcceptCount()
public void setAcceptCount(int count)
count
- The new accept countpublic boolean isChunkingAllowed()
public void setAllowChunking(boolean allowChunking)
allowChunking
- Allow chunking flagpublic java.lang.String getAddress()
public void setAddress(java.lang.String address)
address
- The bind IP addresspublic boolean isAvailable()
public int getBufferSize()
public void setBufferSize(int bufferSize)
bufferSize
- The new input buffer size.public Container getContainer()
Connector
内の getContainer
public void setContainer(Container container)
Connector
内の setContainer
container
- The new Container to usepublic int getCurProcessors()
public int getDebug()
public void setDebug(int debug)
debug
- The new debugging detail levelpublic boolean getEnableLookups()
Connector
内の getEnableLookups
public void setEnableLookups(boolean enableLookups)
Connector
内の setEnableLookups
enableLookups
- The new "enable DNS lookups" flag valuepublic ServerSocketFactory getFactory()
Connector
内の getFactory
public void setFactory(ServerSocketFactory factory)
Connector
内の setFactory
factory
- The new server socket factorypublic java.lang.String getInfo()
Connector
内の getInfo
public int getMinProcessors()
public void setMinProcessors(int minProcessors)
minProcessors
- The new minimum processorspublic int getMaxProcessors()
public void setMaxProcessors(int maxProcessors)
maxProcessors
- The new maximum processorspublic int getPort()
public void setPort(int port)
port
- The new port numberpublic java.lang.String getProxyName()
public void setProxyName(java.lang.String proxyName)
proxyName
- The new proxy server namepublic int getProxyPort()
public void setProxyPort(int proxyPort)
proxyPort
- The new proxy server portpublic int getRedirectPort()
Connector
内の getRedirectPort
public void setRedirectPort(int redirectPort)
Connector
内の setRedirectPort
redirectPort
- The redirect port number (non-SSL to SSL)public java.lang.String getScheme()
Connector
内の getScheme
public void setScheme(java.lang.String scheme)
Connector
内の setScheme
scheme
- The new schemepublic boolean getSecure()
Connector
内の getSecure
public void setSecure(boolean secure)
Connector
内の setSecure
secure
- The new secure connection flagpublic boolean getTcpNoDelay()
public void setTcpNoDelay(boolean tcpNoDelay)
tcpNoDelay
- The new TCP no delay flagpublic Request createRequest()
Connector
内の createRequest
public Response createResponse()
Connector
内の createResponse
public void run()
java.lang.Runnable
内の run
public void addLifecycleListener(LifecycleListener listener)
Lifecycle
内の addLifecycleListener
listener
- The listener to addpublic void removeLifecycleListener(LifecycleListener listener)
Lifecycle
内の removeLifecycleListener
listener
- The listener to addpublic void initialize() throws LifecycleException
Connector
内の initialize
org.apache.catalina.Connector
からコピーされたタグ:LifecycleException
- If this server was already initialized.public void start() throws LifecycleException
Lifecycle
内の start
LifecycleException
- if a fatal startup error occurspublic void stop() throws LifecycleException
Lifecycle
内の stop
LifecycleException
- if a fatal shutdown error occurs
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |