com.atlassian.confluence.util.http
Class HttpRequestConfig

java.lang.Object
  extended by com.atlassian.confluence.util.http.HttpRequestConfig
All Implemented Interfaces:
Serializable

public class HttpRequestConfig
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
HttpRequestConfig()
           
HttpRequestConfig(int maxDownloadSize, int maxCacheAge)
           
 
Method Summary
 Authenticator getAuthenticator()
           
 int getMaxCacheAge()
           
 int getMaxDownloadSize()
           
 String getUrlPattern()
           
 boolean isRegex()
           
 boolean matches(String url)
           
 void setAuthenticator(Authenticator authenticator)
           
 void setMaxCacheAge(int maxCacheAge)
           
 void setMaxDownloadSize(int maxDownloadSize)
           
 void setRegex(boolean regex)
           
 void setUrlPattern(String urlPattern)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpRequestConfig

public HttpRequestConfig()

HttpRequestConfig

public HttpRequestConfig(int maxDownloadSize,
                         int maxCacheAge)
Method Detail

matches

public boolean matches(String url)

getUrlPattern

public String getUrlPattern()

setUrlPattern

public void setUrlPattern(String urlPattern)

isRegex

public boolean isRegex()

setRegex

public void setRegex(boolean regex)

getAuthenticator

public Authenticator getAuthenticator()

setAuthenticator

public void setAuthenticator(Authenticator authenticator)

getMaxDownloadSize

public int getMaxDownloadSize()

setMaxDownloadSize

public void setMaxDownloadSize(int maxDownloadSize)

getMaxCacheAge

public int getMaxCacheAge()

setMaxCacheAge

public void setMaxCacheAge(int maxCacheAge)


Copyright © 2003-2013 Atlassian. All Rights Reserved.