|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.jelly.TagSupport org.apache.commons.jelly.tags.jetty.JettyHttpServerTag
Declare an instance of a Jetty http server
Field Summary | |
static java.lang.String |
DEFAULT_CONTEXT_PATH
default context to create context for |
static java.lang.String |
DEFAULT_HOST
default host to create listeners/context for |
static java.lang.String |
DEFAULT_LOG_FILE
default log file for Jetty |
static int |
DEFAULT_PORT
default port to create listeners for |
static java.lang.String |
DEFAULT_RESOURCE_BASE
default resource base to use for context |
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
JettyHttpServerTag()
Creates a new instance of JettyHttpServerTag |
Method Summary | |
void |
addContext(org.mortbay.http.HttpContext context)
Add an http context to the server instance |
void |
addListener(org.mortbay.http.HttpListener listener)
Add an http listener to the server instance |
org.mortbay.http.UserRealm |
addRealm(org.mortbay.http.UserRealm realm)
Add a user authentication realm to the server instance |
void |
doTag(org.apache.commons.jelly.XMLOutput xmlOutput)
Perform the tag functionality. |
java.lang.String |
getLogFileName()
Getter for property logFileName. |
java.lang.String |
getVar()
Getter for property var. |
void |
setLogFileName(java.lang.String logFileName)
Setter for property logFileName. |
void |
setVar(java.lang.String var)
Setter for property var. |
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 |
Field Detail |
public static final int DEFAULT_PORT
public static final java.lang.String DEFAULT_HOST
public static final java.lang.String DEFAULT_CONTEXT_PATH
public static final java.lang.String DEFAULT_RESOURCE_BASE
public static final java.lang.String DEFAULT_LOG_FILE
Constructor Detail |
public JettyHttpServerTag()
Method Detail |
public void doTag(org.apache.commons.jelly.XMLOutput xmlOutput) throws org.apache.commons.jelly.JellyTagException
xmlOutput
- where to send output
java.lang.Exception
- when an error occurs
org.apache.commons.jelly.JellyTagException
public void addListener(org.mortbay.http.HttpListener listener)
listener
- the listener to addpublic void addContext(org.mortbay.http.HttpContext context)
context
- the context to addpublic org.mortbay.http.UserRealm addRealm(org.mortbay.http.UserRealm realm)
realm
- the realm to add
public java.lang.String getVar()
public void setVar(java.lang.String var)
var
- New value of property var.public java.lang.String getLogFileName()
public void setLogFileName(java.lang.String logFileName)
logFileName
- New value of property logFileName.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |