|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.jelly.TagSupport | +--org.apache.commons.jelly.tags.jetty.HttpContextTag
Declare a context for a Jetty http server
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
HttpContextTag()
Creates a new instance of HttpContextTag |
Method Summary | |
void |
addHandler(org.mortbay.http.HttpHandler httHandler)
Add an http handler to the context instance |
void |
addSecurityConstraint(java.lang.String pathSpec,
org.mortbay.http.SecurityConstraint sc)
Add a security constraint for the specified path specification to the context instance |
void |
doTag(org.apache.commons.jelly.XMLOutput xmlOutput)
Perform the tag functionality. |
java.lang.String |
getContextPath()
Getter for property context path. |
java.lang.String |
getRealmName()
Getter for property realm name. |
java.lang.String |
getResourceBase()
Getter for property resourceBase. |
void |
setAuthenticator(org.mortbay.http.SecurityConstraint.Authenticator authenticator)
Add an authenticator to the context instance |
void |
setContextPath(java.lang.String contextPath)
Setter for property context path. |
void |
setRealmName(java.lang.String realmName)
Setter for property context path. |
void |
setResourceBase(java.lang.String resourceBase)
Setter for property resourceBase. |
Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HttpContextTag()
Method Detail |
public void doTag(org.apache.commons.jelly.XMLOutput xmlOutput) throws org.apache.commons.jelly.JellyTagException
doTag
in class org.apache.commons.jelly.TagSupport
xmlOutput
- where to send outputjava.lang.Exception
- when an error occurspublic void addHandler(org.mortbay.http.HttpHandler httHandler)
handler
- the handler to addpublic void addSecurityConstraint(java.lang.String pathSpec, org.mortbay.http.SecurityConstraint sc)
pathSpec
- the path specification for the security constraintsc
- the security constraint to addpublic void setAuthenticator(org.mortbay.http.SecurityConstraint.Authenticator authenticator)
authenticator
- the authenticator to addpublic java.lang.String getContextPath()
public void setContextPath(java.lang.String contextPath)
path
- New resourceBase of property context path.public java.lang.String getResourceBase()
public void setResourceBase(java.lang.String resourceBase)
resourceBase
- New value of property resourceBase.public java.lang.String getRealmName()
public void setRealmName(java.lang.String realmName)
path
- New resourceBase of property context path.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |