|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.catalina.core.StandardHostMapper
Implementation of Mapper for a Host,
designed to process HTTP requests. This mapper selects an appropriate
Context based on the request URI included in the request.
IMPLEMENTATION NOTE: This Mapper only works with a
StandardHost, because it relies on internal APIs.
| Constructor Summary | |
StandardHostMapper()
|
|
| 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 StandardHostMapper()
| Method Detail |
public Container getContainer()
getContainer in interface Mapperpublic void setContainer(Container container)
setContainer in interface Mappercontainer - The newly associated Container
java.lang.IllegalArgumentException - if this Container is not
acceptable to this Mapperpublic java.lang.String getProtocol()
getProtocol in interface Mapperpublic void setProtocol(java.lang.String protocol)
setProtocol in interface Mapperprotocol - The newly associated protocol
public Container map(Request request,
boolean update)
null instead.
map in interface Mapperrequest - 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 | |||||||||