public class EntityResponse
extends org.apache.olingo.server.core.responses.ServiceResponse
| Modifier and Type | Method and Description |
|---|---|
void |
accepts(org.apache.olingo.server.core.responses.ServiceResponseVisior visitor) |
static String |
buildLocation(String baseURL,
org.apache.olingo.commons.api.data.Entity entity,
String enitySetName,
org.apache.olingo.commons.api.edm.EdmEntityType type) |
static EntityResponse |
getInstance(org.apache.olingo.server.core.ServiceRequest request,
org.apache.olingo.commons.api.data.ContextURL contextURL,
boolean references,
org.apache.olingo.server.api.ODataResponse response) |
static EntityResponse |
getInstance(org.apache.olingo.server.core.ServiceRequest request,
org.apache.olingo.commons.api.data.ContextURL contextURL,
boolean references,
org.apache.olingo.server.api.ODataResponse response,
org.apache.olingo.server.core.ReturnRepresentation returnRepresentation) |
void |
writeCreated(boolean closeResponse) |
void |
writeCreatedEntity(org.apache.olingo.commons.api.edm.EdmEntitySet entitySet,
org.apache.olingo.commons.api.data.Entity entity) |
void |
writeDeletedEntityOrReference() |
void |
writeError(org.apache.olingo.server.api.ODataServerError error) |
void |
writeNotModified() |
void |
writeReadEntity(org.apache.olingo.commons.api.edm.EdmEntityType entityType,
org.apache.olingo.commons.api.data.Entity entity) |
void |
writeUpdatedEntity() |
public static EntityResponse getInstance(org.apache.olingo.server.core.ServiceRequest request, org.apache.olingo.commons.api.data.ContextURL contextURL, boolean references, org.apache.olingo.server.api.ODataResponse response, org.apache.olingo.server.core.ReturnRepresentation returnRepresentation) throws org.apache.olingo.server.core.ContentNegotiatorException, org.apache.olingo.server.api.serializer.SerializerException
org.apache.olingo.server.core.ContentNegotiatorExceptionorg.apache.olingo.server.api.serializer.SerializerExceptionpublic static EntityResponse getInstance(org.apache.olingo.server.core.ServiceRequest request, org.apache.olingo.commons.api.data.ContextURL contextURL, boolean references, org.apache.olingo.server.api.ODataResponse response) throws org.apache.olingo.server.core.ContentNegotiatorException, org.apache.olingo.server.api.serializer.SerializerException
org.apache.olingo.server.core.ContentNegotiatorExceptionorg.apache.olingo.server.api.serializer.SerializerExceptionpublic void writeReadEntity(org.apache.olingo.commons.api.edm.EdmEntityType entityType,
org.apache.olingo.commons.api.data.Entity entity)
throws org.apache.olingo.server.api.serializer.SerializerException
org.apache.olingo.server.api.serializer.SerializerExceptionpublic void writeCreatedEntity(org.apache.olingo.commons.api.edm.EdmEntitySet entitySet,
org.apache.olingo.commons.api.data.Entity entity)
throws org.apache.olingo.server.api.serializer.SerializerException
org.apache.olingo.server.api.serializer.SerializerExceptionpublic void writeUpdatedEntity()
public void writeDeletedEntityOrReference()
public void accepts(org.apache.olingo.server.core.responses.ServiceResponseVisior visitor)
throws org.apache.olingo.server.api.ODataLibraryException,
org.apache.olingo.server.api.ODataApplicationException
accepts in class org.apache.olingo.server.core.responses.ServiceResponseorg.apache.olingo.server.api.ODataLibraryExceptionorg.apache.olingo.server.api.ODataApplicationExceptionpublic void writeCreated(boolean closeResponse)
public void writeError(org.apache.olingo.server.api.ODataServerError error)
public void writeNotModified()
public static String buildLocation(String baseURL, org.apache.olingo.commons.api.data.Entity entity, String enitySetName, org.apache.olingo.commons.api.edm.EdmEntityType type) throws org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException
org.apache.olingo.commons.api.edm.EdmPrimitiveTypeExceptionCopyright © 2016 JBoss by Red Hat. All rights reserved.