com.atlassian.confluence.util.http
Class HttpRequestConfig

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

public class HttpRequestConfig
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
HttpRequestConfig()
           
HttpRequestConfig(int maxDownloadSize, int maxCacheAge)
           
 
Method Summary
 Authenticator getAuthenticator()
           
 int getMaxCacheAge()
           
 int getMaxDownloadSize()
           
 java.lang.String getUrlPattern()
           
 boolean isRegex()
           
 boolean matches(java.lang.String url)
           
 void setAuthenticator(Authenticator authenticator)
           
 void setMaxCacheAge(int maxCacheAge)
           
 void setMaxDownloadSize(int maxDownloadSize)
           
 void setRegex(boolean regex)
           
 void setUrlPattern(java.lang.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(java.lang.String url)

getUrlPattern

public java.lang.String getUrlPattern()

setUrlPattern

public void setUrlPattern(java.lang.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-2014 Atlassian. All Rights Reserved.