com.atlassian.confluence.renderer.radeox.macros.include
Class AbstractHttpRetrievalMacro

java.lang.Object
  extended byorg.radeox.macro.BaseMacro
      extended bycom.atlassian.renderer.macro.BaseMacro
          extended bycom.atlassian.confluence.renderer.radeox.macros.AbstractHtmlGeneratingMacro
              extended bycom.atlassian.confluence.renderer.radeox.macros.include.AbstractHttpRetrievalMacro
All Implemented Interfaces:
Comparable, Macro, org.radeox.macro.Macro

public abstract class AbstractHttpRetrievalMacro
extends AbstractHtmlGeneratingMacro


Field Summary
static String HTTP_INCLUDE_STACK_HEADER
           
static int HTTP_INCLUDE_STACK_MAX_DEPTH
           
static org.apache.log4j.Category log
           
 
Fields inherited from class org.radeox.macro.BaseMacro
initialContext, paramDescription
 
Constructor Summary
AbstractHttpRetrievalMacro()
           
 
Method Summary
protected  String cleanUrlParentheses(String url)
           
protected  String errorContent(String s)
           
protected  org.apache.commons.httpclient.HttpMethod retrieveRemoteUrl(String url)
           
 
Methods inherited from class com.atlassian.confluence.renderer.radeox.macros.AbstractHtmlGeneratingMacro
buildBaseUrl, execute, getHtml, getPageContext, getRemoteUser, hasLoneParameter, parseParameterForKey
 
Methods inherited from class com.atlassian.renderer.macro.BaseMacro
getDescription, getResourcePath, setDescription, setResourcePath
 
Methods inherited from class org.radeox.macro.BaseMacro
compareTo, getName, getParamDescription, setInitialContext, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.radeox.macro.Macro
getName, getParamDescription, setInitialContext
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

log

public static final org.apache.log4j.Category log

HTTP_INCLUDE_STACK_HEADER

public static final String HTTP_INCLUDE_STACK_HEADER
See Also:
Constant Field Values

HTTP_INCLUDE_STACK_MAX_DEPTH

public static final int HTTP_INCLUDE_STACK_MAX_DEPTH
See Also:
Constant Field Values
Constructor Detail

AbstractHttpRetrievalMacro

public AbstractHttpRetrievalMacro()
Method Detail

retrieveRemoteUrl

protected org.apache.commons.httpclient.HttpMethod retrieveRemoteUrl(String url)
                                                              throws IOException
Throws:
IOException

errorContent

protected String errorContent(String s)
Overrides:
errorContent in class AbstractHtmlGeneratingMacro

cleanUrlParentheses

protected String cleanUrlParentheses(String url)


Confluence is developed by Atlassian.