|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jelly.TagSupport
org.apache.commons.jelly.tags.jetty.SocketListenerTag
Declare a socket listener for a Jetty http server
Field Summary | |
private java.lang.String |
_host
parameter host, with default |
private int |
_port
parameter port with default |
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
SocketListenerTag()
Creates a new instance of SocketListenerTag |
Method Summary | |
void |
doTag(org.apache.commons.jelly.XMLOutput xmlOutput)
Perform the tag functionality. |
java.lang.String |
getHost()
Getter for property host. |
int |
getPort()
Getter for property port. |
void |
setHost(java.lang.String host)
Setter for property host. |
void |
setPort(int port)
Setter for property port. |
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 |
private int _port
private java.lang.String _host
Constructor Detail |
public SocketListenerTag()
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 int getPort()
public void setPort(int port)
port
- New value of property port.public java.lang.String getHost()
public void setHost(java.lang.String host)
host
- New value of property host.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |