|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.appengine.api.urlfetch.FetchOptions.Builder
public static final class FetchOptions.Builder
Contains static creation methods for FetchOptions.
| Method Summary | |
|---|---|
static FetchOptions |
allowTruncate()
Create a FetchOptions that allows truncation of the response. |
static FetchOptions |
disallowTruncate()
Create a FetchOptions that disallows truncation of the response. |
static FetchOptions |
doNotFollowRedirects()
Create a FetchOptions that does not follow redirects. |
static FetchOptions |
doNotValidateCertificate()
Create a FetchOptions that does not perform SSL certificate
validation. |
static FetchOptions |
followRedirects()
Create a FetchOptions that follows redirects. |
static FetchOptions |
validateCertificate()
Create a FetchOptions that performs SSL certificate validation. |
static FetchOptions |
withDeadline(double deadline)
Create a FetchOptions with the specified deadline. |
static FetchOptions |
withDefaults()
Helper method for creating a FetchOptions
instance with default values. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static FetchOptions allowTruncate()
FetchOptions that allows truncation of the response.
Shorthand for FetchOptions.withDefaults().allowTruncate();.
Please read the FetchOptions class javadoc for an explanation of
how response truncating works.
public static FetchOptions disallowTruncate()
FetchOptions that disallows truncation of the response.
Shorthand for
FetchOptions.withDefaults().disallowTruncate();.
Please read the FetchOptions class javadoc for an explanation of
how esponse truncating works.
public static FetchOptions followRedirects()
FetchOptions that follows redirects.
Shorthand for
FetchOptions.withDefaults().followRedirects();.
Please read the FetchOptions class javadoc for an explanation of
how redirection following works.
public static FetchOptions doNotFollowRedirects()
FetchOptions that does not follow redirects.
Shorthand for
FetchOptions.withDefaults().followRedirects();.
Please read the FetchOptions class javadoc for an explanation of
how redirection following works.
public static FetchOptions validateCertificate()
FetchOptions that performs SSL certificate validation.
Shorthand for
FetchOptions.withDefaults().validateCertificate();.
Please read the FetchOptions class javadoc for an explanation of
how certificate validation works.
public static FetchOptions doNotValidateCertificate()
FetchOptions that does not perform SSL certificate
validation.
Shorthand for
FetchOptions.withDefaults().doNotValidateCertificate();.
Please read the FetchOptions class javadoc for an explanation of
how certificate validation works.
public static FetchOptions withDeadline(double deadline)
FetchOptions with the specified deadline.
Shorthand for
FetchOptions.withDefaults().setDeadline(deadline);.
public static FetchOptions withDefaults()
FetchOptions
instance with default values.
FetchOptions.DEFAULT_ALLOW_TRUNCATE,
FetchOptions.DEFAULT_FOLLOW_REDIRECTS,
FetchOptions.DEFAULT_DEADLINE
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||