|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.api.client.http.UrlEncodedParser.Builder
public static class UrlEncodedParser.Builder
Builder for UrlEncodedParser
.
Implementation is not thread-safe.
Constructor Summary | |
---|---|
protected |
UrlEncodedParser.Builder()
|
Method Summary | |
---|---|
UrlEncodedParser |
build()
Builds a new instance of UrlEncodedParser . |
String |
getContentType()
Returns the content type or null for none. |
boolean |
getDisableContentLogging()
Deprecated. (scheduled to be removed in 1.8) Use HttpResponse.getContentLoggingLimit() |
UrlEncodedParser.Builder |
setContentType(String contentType)
Sets the content type. |
UrlEncodedParser.Builder |
setDisableContentLogging(boolean disableContentLogging)
Deprecated. (scheduled to be removed in 1.8) Use HttpResponse.setContentLoggingLimit(int) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected UrlEncodedParser.Builder()
Method Detail |
---|
public UrlEncodedParser build()
UrlEncodedParser
.
public final String getContentType()
null
for none.
public UrlEncodedParser.Builder setContentType(String contentType)
Default value is UrlEncodedParser.CONTENT_TYPE
.
@Deprecated public final boolean getDisableContentLogging()
HttpResponse.getContentLoggingLimit()
Level.ALL
is loggable
which forces all logging).
Useful for example if content has sensitive data such as an authentication token. Defaults to
false
.
@Deprecated public UrlEncodedParser.Builder setDisableContentLogging(boolean disableContentLogging)
HttpResponse.setContentLoggingLimit(int)
Level.ALL
is loggable which
forces all logging).
Useful for example if content has sensitive data such as an authentication token. Defaults to
false
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |