|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.api.client.http.json.JsonHttpParser.Builder
public static class JsonHttpParser.Builder
Builder for JsonHttpParser
.
Implementation is not thread-safe.
Constructor Summary | |
---|---|
protected |
JsonHttpParser.Builder(JsonFactory jsonFactory)
|
Method Summary | |
---|---|
JsonHttpParser |
build()
Builds a new instance of JsonHttpParser . |
String |
getContentType()
Returns the content type or null for none. |
JsonFactory |
getJsonFactory()
Returns the JSON factory. |
JsonHttpParser.Builder |
setContentType(String contentType)
Sets the content type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected JsonHttpParser.Builder(JsonFactory jsonFactory)
jsonFactory
- JSON factoryMethod Detail |
---|
public JsonHttpParser build()
JsonHttpParser
.
public final String getContentType()
null
for none.
public JsonHttpParser.Builder setContentType(String contentType)
Default value is Json.CONTENT_TYPE
.
public final JsonFactory getJsonFactory()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |