public class HttpRequestConfig extends Object implements Serializable
Constructor and Description |
---|
HttpRequestConfig() |
HttpRequestConfig(int maxDownloadSize,
int maxCacheAge) |
Modifier and Type | Method and Description |
---|---|
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) |
public HttpRequestConfig()
public HttpRequestConfig(int maxDownloadSize, int maxCacheAge)
public boolean matches(String url)
public String getUrlPattern()
public void setUrlPattern(String urlPattern)
public boolean isRegex()
public void setRegex(boolean regex)
public Authenticator getAuthenticator()
public void setAuthenticator(Authenticator authenticator)
public int getMaxDownloadSize()
public void setMaxDownloadSize(int maxDownloadSize)
public int getMaxCacheAge()
public void setMaxCacheAge(int maxCacheAge)
Copyright © 2003–2018 Atlassian. All rights reserved.