| Package | Description |
|---|---|
| com.google.gdata.wireformats |
| Modifier and Type | Method and Description |
|---|---|
AltFormat.Builder |
AltFormat.Builder.addAllowedInputFormats(AltFormat... formats)
Declares formats as being acceptable input formats when the
current AltFormat is selected as output.
|
static AltFormat.Builder |
AltFormat.builder()
Creates a builder for a new AltFormat.
|
static AltFormat.Builder |
AltFormat.builder(AltFormat format)
Creates a builder for a new AltFormat.
|
AltFormat.Builder |
AltFormat.Builder.setAcceptableTextTypes()
Declares text/plain to be an acceptable match for the purpose
of content negotiation.
|
AltFormat.Builder |
AltFormat.Builder.setAcceptableTypes(ContentType... types)
Declares MIME types to be acceptable matches for the purpose
of content negotiation.
|
AltFormat.Builder |
AltFormat.Builder.setAcceptableXmlTypes()
Declares text/xml and text/plain to be acceptable matches for the
purpose of content negotiation.
|
AltFormat.Builder |
AltFormat.Builder.setBaseFormat(AltFormat base)
Declares another
AltFormat as the base for this one. |
AltFormat.Builder |
AltFormat.Builder.setContentType(ContentType contentType)
Sets the primary MIME content type used for the representation.
|
AltFormat.Builder |
AltFormat.Builder.setName(String name)
Sets the short name for this format.
|
AltFormat.Builder |
AltFormat.Builder.setSelectableByType(boolean isSelectableByType)
Indicates whether the MIME content type can be used as an alias to select
the representation.
|
AltFormat.Builder |
AltFormat.Builder.setWireFormat(WireFormat wireFormat)
Sets the content wire format.
|
Copyright © 2012. All Rights Reserved.