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

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

Deprecated. Use BaseHttpRetrievalMacro, which uses the correct version of the Renderer API.

public abstract class AbstractHttpRetrievalMacro
extends AbstractHtmlGeneratingMacro

Since:
2.7

Field Summary
static java.lang.String HTTP_INCLUDE_STACK_HEADER
          Deprecated.  
static int HTTP_INCLUDE_STACK_MAX_DEPTH
          Deprecated.  
static org.apache.log4j.Category log
          Deprecated.  
 
Fields inherited from class org.radeox.macro.BaseMacro
initialContext, paramDescription
 
Constructor Summary
AbstractHttpRetrievalMacro()
          Deprecated.  
 
Method Summary
protected  java.lang.String cleanUrlParentheses(java.lang.String url)
          Deprecated.  
protected  java.lang.String errorContent(java.lang.String s)
          Deprecated.  
protected  TrustedTokenAuthenticator.TrustedConnectionStatus getTrustedConnectionStatusFromMethod(org.apache.commons.httpclient.HttpMethod method)
          Deprecated. Query the status of a trusted connection
protected  org.apache.commons.httpclient.HttpMethod retrieveRemoteUrl(java.lang.String url)
          Deprecated.  
protected  org.apache.commons.httpclient.HttpMethod retrieveRemoteUrl(java.lang.String url, boolean useTrustedConnection)
          Deprecated.  
 void setSettingsManager(SettingsManager settingsManager)
          Deprecated.  
 void setTrustedTokenFactory(TrustedTokenFactory trustedTokenFactory)
          Deprecated.  
 
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
Deprecated. 

HTTP_INCLUDE_STACK_HEADER

public static final java.lang.String HTTP_INCLUDE_STACK_HEADER
Deprecated. 
See Also:
Constant Field Values

HTTP_INCLUDE_STACK_MAX_DEPTH

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

AbstractHttpRetrievalMacro

public AbstractHttpRetrievalMacro()
Deprecated. 
Method Detail

setTrustedTokenFactory

public void setTrustedTokenFactory(TrustedTokenFactory trustedTokenFactory)
Deprecated. 

retrieveRemoteUrl

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

retrieveRemoteUrl

protected org.apache.commons.httpclient.HttpMethod retrieveRemoteUrl(java.lang.String url,
                                                                     boolean useTrustedConnection)
                                                              throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

setSettingsManager

public void setSettingsManager(SettingsManager settingsManager)
Deprecated. 

errorContent

protected java.lang.String errorContent(java.lang.String s)
Deprecated. 
Overrides:
errorContent in class AbstractHtmlGeneratingMacro

cleanUrlParentheses

protected java.lang.String cleanUrlParentheses(java.lang.String url)
Deprecated. 

getTrustedConnectionStatusFromMethod

protected TrustedTokenAuthenticator.TrustedConnectionStatus getTrustedConnectionStatusFromMethod(org.apache.commons.httpclient.HttpMethod method)
Deprecated. 
Query the status of a trusted connection

Parameters:
method - An executed HttpClient method
Returns:
the response status of a trusted connection request or null if the method doesn't use a trusted connection


Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.