|
||||||||||
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.http.HttpTagSupport org.apache.commons.jelly.tags.http.PostTag
A http post
Field Summary |
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
PostTag()
Creates a new instance of PostTag |
Method Summary | |
void |
doTag(org.apache.commons.jelly.XMLOutput xmlOutput)
Perform the tag functionality. |
protected org.apache.commons.httpclient.HttpMethod |
getHttpMethod()
Return a method to be used for post'ing |
protected void |
setParameters(org.apache.commons.httpclient.HttpMethod method)
Set the current parameters on the url method ready for processing This method must be called after getHttpUrlMethod |
Methods inherited from class org.apache.commons.jelly.tags.http.HttpTagSupport |
addParameter, addRequestHeader, getParameters, getPath, getRequestHeaders, getResolvedUrl, getUri, getVar, isFollowRedirects, setFollowRedirects, setParameters, setPath, setRequestHeaders, setUri, setVar |
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 PostTag()
Method Detail |
protected org.apache.commons.httpclient.HttpMethod getHttpMethod() throws java.net.MalformedURLException
method
to be used for post'ing
getHttpMethod
in class HttpTagSupport
java.net.MalformedURLException
- when the url
or
path
is invalidprotected void setParameters(org.apache.commons.httpclient.HttpMethod method)
getHttpUrlMethod
setParameters
in class HttpTagSupport
method
- the method
to configurepublic void doTag(org.apache.commons.jelly.XMLOutput xmlOutput) throws org.apache.commons.jelly.JellyTagException
HttpTagSupport
doTag
in interface org.apache.commons.jelly.Tag
doTag
in class HttpTagSupport
xmlOutput
- where to send output
org.apache.commons.jelly.JellyTagException
- when an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |