|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--org.apache.catalina.connector.warp.WarpConnector
フィールドの概要 | |
protected int |
uniqueId
The unique ID of this connector instance. |
インタフェース org.apache.catalina.Lifecycle から継承したフィールド |
START_EVENT, STOP_EVENT |
コンストラクタの概要 | |
WarpConnector()
Construct a new instance of a WarpConnector . |
メソッドの概要 | |
void |
addLifecycleListener(LifecycleListener listener)
Add a LifecycleEvent listener to this
Connector . |
protected Context |
applicationContext(int id)
Return the application for a given ID. |
protected int |
applicationId(Context context)
Return the application ID for a given Context . |
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. |
LifecycleListener[] |
findLifecycleListeners()
Get the lifecycle listeners associated with this lifecycle. |
int |
getAcceptCount()
Return the accept count for this Connector. |
java.lang.String |
getAddress()
Return the IP address to which this Connector will bind to. |
java.lang.String |
getAppBase()
Get the applications base directory for hosts created via WARP. |
Container |
getContainer()
Return the Container instance which will process all
requests received by this Connector . |
int |
getDebug()
Return the debug level. |
boolean |
getEnableLookups()
Return the "enable DNS lookups" flag. |
ServerSocketFactory |
getFactory()
Return the ServerSocketFactory used by this
Connector to generate ServerSocket instances. |
java.lang.String |
getInfo()
Return descriptive information about this Connector . |
int |
getPort()
Return the port to which this Connector will bind to. |
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). |
void |
initialize()
Initialize this connector (create ServerSocket here!) |
boolean |
isStarted()
Check whether this service was started or not. |
void |
removeLifecycleListener(LifecycleListener listener)
Remove a LifecycleEvent listener from this
Connector . |
void |
run()
Start accepting WARP requests from the network. |
void |
setAcceptCount(int count)
Set the accept count for this Connector. |
void |
setAddress(int port)
Set the IP address to which this Connector will bind to. |
void |
setAddress(java.lang.String address)
Set the IP address to which this Connector will bind to. |
void |
setAppBase(java.lang.String appBase)
Set the applications base directory for hosts created via WARP. |
void |
setContainer(Container container)
Set the Container instance which will process all requests
received by this Connector . |
void |
setDebug(int debug)
Set the debug level. |
void |
setEnableLookups(boolean enableLookups)
Set the "enable DNS lookups" flag. |
void |
setFactory(ServerSocketFactory factory)
Set the ServerSocketFactory used by this
Connector to generate ServerSocket instances. |
void |
setInfo(java.lang.String info)
Set descriptive information about this Connector . |
void |
setPort(int port)
Set the port to which this Connector will bind to. |
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 |
start()
Start accepting connections by this Connector . |
void |
stop()
Stop accepting connections by this Connector . |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
protected int uniqueId
コンストラクタの詳細 |
public WarpConnector()
WarpConnector
.メソッドの詳細 |
public Container getContainer()
Container
instance which will process all
requests received by this Connector
.Connector
内の getContainer
public void setContainer(Container container)
Container
instance which will process all requests
received by this Connector
.Connector
内の setContainer
container
- The new Container to usepublic boolean getEnableLookups()
Connector
内の getEnableLookups
public void setEnableLookups(boolean enableLookups)
Connector
内の setEnableLookups
enableLookups
- The new "enable DNS lookups" flag valuepublic ServerSocketFactory getFactory()
ServerSocketFactory
used by this
Connector
to generate ServerSocket
instances.Connector
内の getFactory
public void setFactory(ServerSocketFactory factory)
ServerSocketFactory
used by this
Connector
to generate ServerSocket
instances.Connector
内の setFactory
factory
- The new server socket factorypublic 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 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 java.lang.String getInfo()
Connector
.Connector
内の getInfo
public void setInfo(java.lang.String info)
Connector
.public java.lang.String getAddress()
Connector
will bind to.public void setAddress(java.lang.String address)
Connector
will bind to.address
- The bind IP addresspublic int getPort()
Connector
will bind to.public void setPort(int port)
Connector
will bind to.port
- The bind portpublic void setAddress(int port)
Connector
will bind to.address
- The bind IP addresspublic int getAcceptCount()
public void setAcceptCount(int count)
count
- The new accept countpublic java.lang.String getAppBase()
public void setAppBase(java.lang.String appBase)
appBase
- The appbase property.public int getDebug()
public void setDebug(int debug)
public void addLifecycleListener(LifecycleListener listener)
LifecycleEvent
listener to this
Connector
.Lifecycle
内の addLifecycleListener
listener
- The listener to addpublic LifecycleListener[] findLifecycleListeners()
public void removeLifecycleListener(LifecycleListener listener)
LifecycleEvent
listener from this
Connector
.Lifecycle
内の removeLifecycleListener
listener
- The listener to removepublic void initialize() throws LifecycleException
Connector
内の initialize
org.apache.catalina.Connector
からコピーされたタグ:LifecycleException
- If this server was already initialized.public void start() throws LifecycleException
Connector
.Lifecycle
内の start
org.apache.catalina.Lifecycle
からコピーされたタグ:java.lang.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
Connector
.Lifecycle
内の stop
org.apache.catalina.Lifecycle
からコピーされたタグ:java.lang.IllegalStateException
- if this component has not been startedLifecycleException
- if this component detects a fatal error
that needs to be reportedpublic boolean isStarted()
protected int applicationId(Context context)
Context
.protected Context applicationContext(int id)
public Request createRequest()
Connector
内の createRequest
public Response createResponse()
Connector
内の createResponse
public void run()
java.lang.Runnable
内の run
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |