public class PropertyResponse extends ServiceResponse
metadata, preferences, response| Modifier and Type | Method and Description |
|---|---|
void |
accepts(ServiceResponseVisior visitor) |
static PropertyResponse |
getInstance(ServiceRequest request,
org.apache.olingo.server.api.ODataResponse response,
org.apache.olingo.commons.api.edm.EdmType edmType,
org.apache.olingo.commons.api.data.ContextURL contextURL,
boolean collection) |
void |
writeError(org.apache.olingo.server.api.ODataServerError error) |
void |
writeNotModified() |
void |
writeProperty(org.apache.olingo.commons.api.edm.EdmType edmType,
org.apache.olingo.commons.api.data.Property property) |
void |
writePropertyDeleted() |
void |
writePropertyUpdated() |
close, getODataResponse, isClosed, setStrictlyApplyPreferences, writeBadRequest, writeContent, writeHeader, writeNoContent, writeNotFound, writeOK, writeServerErrorpublic static PropertyResponse getInstance(ServiceRequest request, org.apache.olingo.server.api.ODataResponse response, org.apache.olingo.commons.api.edm.EdmType edmType, org.apache.olingo.commons.api.data.ContextURL contextURL, boolean collection) 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 writeProperty(org.apache.olingo.commons.api.edm.EdmType edmType,
org.apache.olingo.commons.api.data.Property property)
throws org.apache.olingo.server.api.serializer.SerializerException
org.apache.olingo.server.api.serializer.SerializerExceptionpublic void accepts(ServiceResponseVisior visitor) throws org.apache.olingo.server.api.ODataLibraryException, org.apache.olingo.server.api.ODataApplicationException
accepts in class ServiceResponseorg.apache.olingo.server.api.ODataLibraryExceptionorg.apache.olingo.server.api.ODataApplicationExceptionpublic void writePropertyUpdated()
public void writePropertyDeleted()
public void writeError(org.apache.olingo.server.api.ODataServerError error)
public void writeNotModified()
Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.