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

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

public class GetTag
extends MethodSupportTag

Performs a HTTP GET 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
GetTag()
           
 
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, 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

GetTag

public GetTag()
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.