public class ActionRequest extends OperationRequest
customContentType, odata, request, serviceMetadata, uriInfo| Constructor and Description |
|---|
ActionRequest(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.EdmAction |
getAction() |
List<org.apache.olingo.commons.api.data.Parameter> |
getParameters() |
InputStream |
getPayload() |
org.apache.olingo.commons.api.edm.EdmReturnType |
getReturnType() |
<T> T |
getSerializerOptions(Class<T> serilizerOptions,
org.apache.olingo.commons.api.data.ContextURL contextUrl,
boolean references) |
org.apache.olingo.server.api.uri.UriResourceAction |
getUriResourceAction() |
boolean |
hasReturnType() |
boolean |
isBound() |
boolean |
isCollection() |
void |
setUriResourceAction(org.apache.olingo.server.api.uri.UriResourceAction uriResourceAction) |
getContextURL, getResponseContentType, isReturnTypeComplex, isReturnTypePrimitivegetCustomContentTypeSupport, getETag, getHeader, getOdata, getODataRequest, getPreference, getPreferences, getQueryParameter, getRequestContentType, getReturnRepresentation, getSerializer, getServiceMetaData, getUriInfo, isDELETE, isGET, isPATCH, isPOST, isPUT, methodNotAllowed, notImplemented, parseLink, setCustomContentTypeSupport, setODataRequest, setUriInfopublic ActionRequest(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 boolean allowedMethod()
allowedMethod in class ServiceRequestpublic <T> T getSerializerOptions(Class<T> serilizerOptions, org.apache.olingo.commons.api.data.ContextURL contextUrl, boolean references) throws org.apache.olingo.server.core.ContentNegotiatorException
getSerializerOptions in class ServiceRequestorg.apache.olingo.server.core.ContentNegotiatorExceptionpublic org.apache.olingo.server.api.uri.UriResourceAction getUriResourceAction()
public void setUriResourceAction(org.apache.olingo.server.api.uri.UriResourceAction uriResourceAction)
public boolean isBound()
isBound in class OperationRequestpublic org.apache.olingo.commons.api.edm.EdmAction getAction()
public boolean isCollection()
isCollection in class OperationRequestpublic org.apache.olingo.commons.api.edm.EdmReturnType getReturnType()
getReturnType in class OperationRequestpublic boolean hasReturnType()
hasReturnType in class OperationRequestpublic InputStream getPayload()
public List<org.apache.olingo.commons.api.data.Parameter> getParameters() throws org.apache.olingo.server.api.deserializer.DeserializerException
org.apache.olingo.server.api.deserializer.DeserializerExceptionCopyright © 2013–2015 The Apache Software Foundation. All rights reserved.