Modifier and Type | Method and Description |
---|---|
ODataFormat |
Configuration.getDefaultFormat()
Gets the configured OData format.
|
ODataFormat |
Configuration.getDefaultMediaFormat()
Gets the configured OData media format.
|
ODataFormat |
Configuration.getDefaultPubFormat()
Gets the configured OData format for AtomPub exchanges.
|
ODataFormat |
Configuration.getDefaultValueFormat()
Gets the configured OData value format.
|
Modifier and Type | Method and Description |
---|---|
ClientODataDeserializer |
CommonODataClient.getDeserializer(ODataFormat format) |
ODataSerializer |
CommonODataClient.getSerializer(ODataFormat format) |
void |
Configuration.setDefaultMediaFormat(ODataFormat format)
Sets the default OData media format.
|
void |
Configuration.setDefaultPubFormat(ODataFormat format)
Sets the default OData format for AtomPub exchanges.
|
void |
Configuration.setDefaultValueFormat(ODataFormat format)
Sets the default OData value format.
|
Modifier and Type | Method and Description |
---|---|
void |
ODataBasicRequest.setFormat(ODataFormat format)
Override configured request format.
|
Modifier and Type | Method and Description |
---|---|
ODataFormat |
ODataStreamedEntityRequest.getFormat()
Returns resource representation format.
|
Modifier and Type | Method and Description |
---|---|
void |
ODataStreamedEntityRequest.setFormat(ODataFormat format)
Override configured request format.
|
Constructor and Description |
---|
ODataEntitySetIterator(CommonODataClient<?> odataClient,
InputStream stream,
ODataFormat format)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
CommonODataEntity |
CommonODataReader.readEntity(InputStream input,
ODataFormat format)
Parses a stream taking care to de-serializes the first OData entity found.
|
CommonODataEntitySet |
CommonODataReader.readEntitySet(InputStream input,
ODataFormat format)
De-Serializes a stream into an OData entity set.
|
ODataError |
CommonODataReader.readError(InputStream inputStream,
ODataFormat format)
Parses a stream into an OData error.
|
CommonODataProperty |
CommonODataReader.readProperty(InputStream input,
ODataFormat format)
Parses a stream taking care to de-serialize the first OData entity property found.
|
ODataServiceDocument |
CommonODataReader.readServiceDocument(InputStream input,
ODataFormat format)
Parses an OData service document.
|
InputStream |
ODataWriter.writeEntities(Collection<CommonODataEntity> entities,
ODataFormat format)
Writes a collection of OData entities.
|
InputStream |
ODataWriter.writeEntity(CommonODataEntity entity,
ODataFormat format)
Serializes a single OData entity.
|
InputStream |
ODataWriter.writeLink(ODataLink link,
ODataFormat format)
Writes an OData link.
|
InputStream |
ODataWriter.writeProperty(CommonODataProperty property,
ODataFormat format)
Writes a single OData entity property.
|
InputStream |
ODataWriter.writeReference(ResWrap<URI> reference,
ODataFormat format)
Writes a entity reference
|
Modifier and Type | Method and Description |
---|---|
ODataEntity |
ODataReader.readEntity(InputStream input,
ODataFormat format) |
ODataEntitySet |
ODataReader.readEntitySet(InputStream input,
ODataFormat format) |
ODataLinkCollection |
ODataReader.readLinks(InputStream input,
ODataFormat format)
Parses a $links request response.
|
ODataProperty |
ODataReader.readProperty(InputStream input,
ODataFormat format) |
Modifier and Type | Method and Description |
---|---|
ODataEntity |
ODataReader.readEntity(InputStream input,
ODataFormat format) |
ODataEntitySet |
ODataReader.readEntitySet(InputStream input,
ODataFormat format) |
ODataProperty |
ODataReader.readProperty(InputStream input,
ODataFormat format) |
Modifier and Type | Method and Description |
---|---|
ODataDeserializer |
ODataClient.getDeserializer(ODataFormat format) |
Modifier and Type | Method and Description |
---|---|
ODataDeserializer |
ODataClient.getDeserializer(ODataFormat format) |
Modifier and Type | Method and Description |
---|---|
static ODataFormat |
ODataFormat.fromContentType(ContentType contentType)
Gets OData format from a content type.
|
static ODataFormat |
ODataFormat.fromString(String contentType) |
static ODataFormat |
ODataFormat.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ODataFormat[] |
ODataFormat.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
abstract ODataDeserializer |
OData.createDeserializer(ODataFormat format) |
abstract ODataSerializer |
OData.createSerializer(ODataFormat format)
Creates a new serializer object for rendering content in the specified format.
|
Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.