|
||||||||||
| 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()
Returns whether to disable response content logging (unless Level.ALL is loggable
which forces all logging). |
UrlEncodedParser.Builder |
setContentType(String contentType)
Sets the content type. |
UrlEncodedParser.Builder |
setDisableContentLogging(boolean disableContentLogging)
Sets whether to disable response content logging (unless Level.ALL is loggable which
forces all logging). |
| 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.
public final boolean getDisableContentLogging()
Level.ALL is loggable
which forces all logging).
Useful for example if content has sensitive data such as an authentication token. Defaults to
false.
public UrlEncodedParser.Builder setDisableContentLogging(boolean disableContentLogging)
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 | |||||||||