|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServerContainer
A server container is a object can can hold a server. It is used to do initial processing of the data in a request before a server is created. This can be used to make some decisions on the server creating based on the request to allow more advanced server. Usually the server can implement both this interface and the server interface since the usage is rather linked.
Method Summary | |
---|---|
Rule |
getRule()
Returns the mapped rule. |
Server |
getServer(HttpServletRequest request)
Do any processing needed before this server can be used. |
Server |
getServerMapped(java.lang.String link)
Finds a server with the full path specified by the location sent in. |
void |
setRule(Rule rule)
Sets the rule that is mapped for this server. |
Method Detail |
---|
Server getServer(HttpServletRequest request)
Rule getRule()
Server.getRule()
void setRule(Rule rule)
rule
- The ruleServer getServerMapped(java.lang.String link)
link
- The start of a link that a server is mapped to
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |