public class MediaRequest extends ServiceRequest
customContentType, odata, request, serviceMetadata, uriInfo| Constructor and Description |
|---|
MediaRequest(org.apache.olingo.server.api.OData odata,
org.apache.olingo.server.api.ServiceMetadata serviceMetadata) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowedMethod() |
void |
execute(ServiceHandler handler,
org.apache.olingo.server.api.ODataResponse response) |
org.apache.olingo.commons.api.edm.EdmEntitySet |
getEntitySet() |
org.apache.olingo.commons.api.edm.EdmEntityType |
getEntityType() |
List<org.apache.olingo.server.api.uri.UriParameter> |
getKeyPredicates() |
org.apache.olingo.commons.api.format.ContentType |
getResponseContentType() |
void |
setUriResourceEntitySet(org.apache.olingo.server.api.uri.UriResourceEntitySet uriResourceEntitySet) |
getCustomContentTypeSupport, getETag, getHeader, getOdata, getODataRequest, getPreference, getPreferences, getQueryParameter, getRequestContentType, getReturnRepresentation, getSerializer, getSerializerOptions, getServiceMetaData, getUriInfo, isDELETE, isGET, isPATCH, isPOST, isPUT, methodNotAllowed, notImplemented, parseLink, setCustomContentTypeSupport, setODataRequest, setUriInfopublic MediaRequest(org.apache.olingo.server.api.OData odata,
org.apache.olingo.server.api.ServiceMetadata serviceMetadata)
public void execute(ServiceHandler handler, org.apache.olingo.server.api.ODataResponse response) throws org.apache.olingo.server.api.ODataLibraryException, org.apache.olingo.server.api.ODataApplicationException
execute in class ServiceRequestorg.apache.olingo.server.api.ODataLibraryExceptionorg.apache.olingo.server.api.ODataApplicationExceptionpublic org.apache.olingo.commons.api.format.ContentType getResponseContentType()
throws org.apache.olingo.server.core.ContentNegotiatorException
getResponseContentType in class ServiceRequestorg.apache.olingo.server.core.ContentNegotiatorExceptionpublic org.apache.olingo.commons.api.edm.EdmEntitySet getEntitySet()
public org.apache.olingo.commons.api.edm.EdmEntityType getEntityType()
public void setUriResourceEntitySet(org.apache.olingo.server.api.uri.UriResourceEntitySet uriResourceEntitySet)
public List<org.apache.olingo.server.api.uri.UriParameter> getKeyPredicates()
public boolean allowedMethod()
allowedMethod in class ServiceRequestCopyright © 2013–2015 The Apache Software Foundation. All rights reserved.