|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.abstracthorizon.danube.http.matcher.AbstractMatcher
org.abstracthorizon.danube.http.matcher.WelcomeFile
public class WelcomeFile
This matcher matches only paths that end with "/". If path is matched then welcome file is added as component resource path.
| Field Summary | |
|---|---|
protected String |
welcomeFile
Welcome file |
| Fields inherited from class org.abstracthorizon.danube.http.matcher.AbstractMatcher |
|---|
connectionHandler, stopOnMatch |
| Constructor Summary | |
|---|---|
WelcomeFile()
Constructor |
|
| Method Summary | |
|---|---|
void |
adjustForInvocation(HTTPConnection httpConnection)
Adjusts connection for nested connection handler to be invoked |
String |
getWelcomeFile()
Returns welcome file |
boolean |
matches(HTTPConnection httpConnection)
This matcher checks prefix of requested path. |
void |
setWelcomeFile(String welcomeFile)
Sets welcome file |
| Methods inherited from class org.abstracthorizon.danube.http.matcher.AbstractMatcher |
|---|
getConnectionHandler, isStopOnMatch, setConnectionHandler, setStopOnMatch |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String welcomeFile
| Constructor Detail |
|---|
public WelcomeFile()
| Method Detail |
|---|
public String getWelcomeFile()
public void setWelcomeFile(String welcomeFile)
welcomeFile - welcome filepublic boolean matches(HTTPConnection httpConnection)
httpConnection - http connection
true if uri from connection is matchedpublic void adjustForInvocation(HTTPConnection httpConnection)
connection - connection to be a used
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||