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

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

public class OptionsTag
extends HttpTagSupport

A http get tag

Version:
$Id: OptionsTag.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
OptionsTag()
          Creates a new instance of OptionsTag
 
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

OptionsTag

public OptionsTag()
Creates a new instance of OptionsTag

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 an options request
Throws:
java.net.MalformedURLException - when the url is bad


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