public class ParseRequestConfig extends Object implements Serializable
Constructor and Description |
---|
ParseRequestConfig() |
Modifier and Type | Method and Description |
---|---|
ParseRequestConfig |
followRedirects(boolean followRedirects) |
int |
getMaxBodySize() |
String |
getProxyHost() |
int |
getProxyPort() |
SSLSocketFactory |
getSslSocketFactory() |
int |
getTimeout() |
ParseRequestConfig |
ignoreContentType(boolean ignoreContentType) |
ParseRequestConfig |
ignoreError(boolean ignoreError) |
boolean |
isFollowRedirects() |
boolean |
isIgnoreContentType() |
boolean |
isIgnoreError() |
ParseRequestConfig |
maxBodySize(int maxBodySize) |
ParseRequestConfig |
proxy(String host,
int port) |
ParseRequestConfig |
sslSocketFactory(SSLSocketFactory sslSocketFactory) |
ParseRequestConfig |
timeout(int timeout) |
public ParseRequestConfig proxy(String host, int port)
public ParseRequestConfig timeout(int timeout)
public ParseRequestConfig maxBodySize(int maxBodySize)
public ParseRequestConfig followRedirects(boolean followRedirects)
public ParseRequestConfig ignoreContentType(boolean ignoreContentType)
public ParseRequestConfig ignoreError(boolean ignoreError)
public ParseRequestConfig sslSocketFactory(SSLSocketFactory sslSocketFactory)
public String getProxyHost()
public int getProxyPort()
public int getTimeout()
public int getMaxBodySize()
public boolean isFollowRedirects()
public boolean isIgnoreContentType()
public boolean isIgnoreError()
public SSLSocketFactory getSslSocketFactory()
Copyright © 2024. All rights reserved.