|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.catalina.core.FastEngineMapper
Implementation of Mapper
for an Engine
,
designed to process HTTP requests. This mapper selects an appropriate
Host
based on the server name included in the request.
IMPLEMENTATION NOTE: This Mapper only works with a
StandardEngine
, because it relies on internal APIs.
Fields inherited from interface org.apache.catalina.Lifecycle |
START_EVENT,
STOP_EVENT |
Constructor Summary | |
FastEngineMapper()
|
Method Summary | |
void |
addLifecycleListener(LifecycleListener listener)
Add a lifecycle event listener to this component. |
void |
containerEvent(ContainerEvent event)
Acknowledge the occurrence of the specified event. |
Container |
getContainer()
Return the Container with which this Mapper is associated. |
java.lang.String |
getProtocol()
Return the protocol for which this Mapper is responsible. |
Container |
map(Request request,
boolean update)
Return the child Container that should be used to process this Request, based upon its characteristics. |
void |
propertyChange(java.beans.PropertyChangeEvent event)
Process a property change event. |
void |
removeLifecycleListener(LifecycleListener listener)
Remove a lifecycle event listener from this component. |
void |
setContainer(Container container)
Set the Container with which this Mapper is associated. |
void |
setProtocol(java.lang.String protocol)
Set the protocol for which this Mapper is responsible. |
void |
start()
Prepare for active use of the public methods of this Component. |
void |
stop()
Gracefully shut down active use of the public methods of this Component. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public FastEngineMapper()
Method Detail |
public Container getContainer()
public void setContainer(Container container)
container
- The newly associated Containerpublic java.lang.String getProtocol()
public void setProtocol(java.lang.String protocol)
protocol
- The newly associated protocolpublic Container map(Request request, boolean update)
null
instead.request
- Request being processedupdate
- Update the Request to reflect the mapping selection?public void containerEvent(ContainerEvent event)
event
- ContainerEvent that has occurredpublic void addLifecycleListener(LifecycleListener listener)
listener
- The listener to addpublic void removeLifecycleListener(LifecycleListener listener)
listener
- The listener to removepublic void start() throws LifecycleException
public void stop() throws LifecycleException
public void propertyChange(java.beans.PropertyChangeEvent event)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |