|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.catalina.core.StandardEngineMapper
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.
Constructor Summary | |
StandardEngineMapper()
|
Method Summary | |
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 |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StandardEngineMapper()
Method Detail |
public Container getContainer()
getContainer
in interface Mapper
public void setContainer(Container container)
setContainer
in interface Mapper
container
- The newly associated Container
java.lang.IllegalArgumentException
- if this Container is not
acceptable to this Mapperpublic java.lang.String getProtocol()
getProtocol
in interface Mapper
public void setProtocol(java.lang.String protocol)
setProtocol
in interface Mapper
protocol
- The newly associated protocolpublic Container map(Request request, boolean update)
null
instead.
map
in interface Mapper
request
- Request being processedupdate
- Update the Request to reflect the mapping selection?
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |