|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.api.client.http.protobuf.ProtoHttpParser.Builder
public static class ProtoHttpParser.Builder
Builder for ProtoHttpParser
.
Implementation is not thread-safe.
Constructor Summary | |
---|---|
protected |
ProtoHttpParser.Builder()
|
Method Summary | |
---|---|
ProtoHttpParser |
build()
Builds a new instance of ProtoHttpParser . |
String |
getContentType()
Returns the content type or null for none. |
ProtoHttpParser.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 ProtoHttpParser.Builder()
Method Detail |
---|
public ProtoHttpParser build()
ProtoHttpParser
.
public final String getContentType()
null
for none.
public ProtoHttpParser.Builder setContentType(String contentType)
Default value is ProtocolBuffers.CONTENT_TYPE
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |