org.apache.taglibs.io
Class XmlRpcTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.apache.taglibs.io.AbstractTag
          extended by org.apache.taglibs.io.URLTag
              extended by org.apache.taglibs.io.HttpTag
                  extended by org.apache.taglibs.io.XmlRpcTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag, PipeConsumer, PipeProducer

public class XmlRpcTag
extends HttpTag

A helper JSP Custom tag which makes a SOAP HTTP POST request.

Version:
$Revision$
Author:
James Strachan
See Also:
Serialized Form

Field Summary
protected static java.lang.String HOST_NAME
           
 
Fields inherited from class org.apache.taglibs.io.AbstractTag
TRACE, WARN
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
XmlRpcTag()
           
 
Method Summary
protected  void configureConnection(java.net.URLConnection connection)
           
protected static java.lang.String getHostName()
           
 void setUserAgent(java.lang.String userAgent)
           
 
Methods inherited from class org.apache.taglibs.io.HttpTag
configureConnection, isInputAction, release, setAction
 
Methods inherited from class org.apache.taglibs.io.URLTag
addHeader, addParameter, disconnect, doEndTag, doStartTag, getConnection, getURLInputStream, getURLOutputStream, getURLReader, getURLWriter, readURL, setEncoding, setInput, setOutput, setReader, setUrl, setWriter
 
Methods inherited from class org.apache.taglibs.io.AbstractTag
handleException, log, warn, warn
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HOST_NAME

protected static final java.lang.String HOST_NAME
Constructor Detail

XmlRpcTag

public XmlRpcTag()
Method Detail

setUserAgent

public void setUserAgent(java.lang.String userAgent)

configureConnection

protected void configureConnection(java.net.URLConnection connection)
                            throws java.io.IOException
Overrides:
configureConnection in class URLTag
Throws:
java.io.IOException

getHostName

protected static java.lang.String getHostName()
Returns:
the host name of the current JVM


Copyright ? 2000-2004 The Apache Software Foundation. All Rights Reserved.