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

java.lang.Object
  extended byorg.apache.commons.jelly.TagSupport
      extended byorg.apache.commons.jelly.tags.http.HttpTagSupport
          extended byorg.apache.commons.jelly.tags.http.HeadTag
All Implemented Interfaces:
org.apache.commons.jelly.Tag

public class HeadTag
extends HttpTagSupport

A http get tag

Version:
$Id: HeadTag.java 155420 2005-02-26 13:06:03Z dirkv $
Author:
dion

Field Summary
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
HeadTag()
          Creates a new instance of HeadTag
 
Method Summary
protected  org.apache.commons.httpclient.HttpMethod getHttpMethod()
          A method that must be implemented by subclasses to provide the url method implementation
 
Methods inherited from class org.apache.commons.jelly.tags.http.HttpTagSupport
addParameter, addRequestHeader, doTag, getParameters, getPath, getRequestHeaders, getResolvedUrl, getUri, getVar, isFollowRedirects, setFollowRedirects, setParameters, 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

HeadTag

public HeadTag()
Creates a new instance of HeadTag

Method Detail

getHttpMethod

protected org.apache.commons.httpclient.HttpMethod getHttpMethod()
                                                          throws java.net.MalformedURLException
Description copied from class: HttpTagSupport
A method that must be implemented by subclasses to provide the url method implementation

Specified by:
getHttpMethod in class HttpTagSupport
Returns:
a url method for a Head request
Throws:
java.net.MalformedURLException - when the url is bad


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