org.apache.commons.jelly.tags.http
Class PostTag

java.lang.Object
  |
  +--org.apache.commons.jelly.TagSupport
        |
        +--org.apache.commons.jelly.tags.http.MethodSupportTag
              |
              +--org.apache.commons.jelly.tags.http.PostTag
All Implemented Interfaces:
Tag

public class PostTag
extends MethodSupportTag

Performs a HTTP POST request fron a given URL.

Version:
$Revision: 1.1 $
Author:
James Strachan

Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
PostTag()
           
 
Method Summary
 org.apache.commons.httpclient.HttpMethod getMethod()
           
 
Methods inherited from class org.apache.commons.jelly.tags.http.MethodSupportTag
addHeader, createConnection, doTag, getConnection, getConnectionManager, getState, getUrl, setConnection, setConnectionManager, setUrl, setVar
 
Methods inherited from class org.apache.commons.jelly.TagSupport
findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isTrim, setBody, setContext, setParent, setTrim, trimBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostTag

public PostTag()
Method Detail

getMethod

public org.apache.commons.httpclient.HttpMethod getMethod()
                                                   throws org.apache.commons.httpclient.HttpException,
                                                          java.net.MalformedURLException
Overrides:
getMethod in class MethodSupportTag
Returns:
the HTTP method to invoke


Copyright © 2002-2002 Apache Software Foundation. All Rights Reserved.