public abstract class EntityOperationBase extends Object implements EntityOperation
| Modifier and Type | Class and Description |
|---|---|
static class |
EntityOperationBase.EntityIdUriBuilder
The Class EntityIdUriBuilder.
|
static interface |
EntityOperationBase.EntityUriBuilder
The Interface EntityUriBuilder.
|
| Modifier | Constructor and Description |
|---|---|
protected |
EntityOperationBase(EntityOperationBase.EntityUriBuilder uriBuilder)
Instantiates a new entity operation base.
|
protected |
EntityOperationBase(String uri)
Instantiates a new entity operation base.
|
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.MediaType |
getAcceptType()
Get the MIME type that we're expecting the server to send back.
|
javax.ws.rs.core.MediaType |
getContentType()
Get the MIME type for the content that's being sent to the server.
|
protected EntityProxyData |
getProxyData()
Get the currently set proxy data.
|
String |
getUri()
Get the URI the creation request should be sent to.
|
Object |
processResponse(Object rawResponse)
Process response process.
|
void |
setProxyData(EntityProxyData proxyData)
Supplies the current proxy information to the action.
|
protected EntityOperationBase(String uri)
uri - the uriprotected EntityOperationBase(EntityOperationBase.EntityUriBuilder uriBuilder)
uriBuilder - the uri builderpublic void setProxyData(EntityProxyData proxyData)
EntityOperationsetProxyData in interface EntityOperationprotected EntityProxyData getProxyData()
public String getUri()
EntityOperationgetUri in interface EntityOperationpublic javax.ws.rs.core.MediaType getContentType()
EntityOperationgetContentType in interface EntityOperationpublic javax.ws.rs.core.MediaType getAcceptType()
EntityOperationgetAcceptType in interface EntityOperationpublic Object processResponse(Object rawResponse) throws ServiceException
EntityOperationprocessResponse in interface EntityOperationrawResponse - the raw responseServiceException - the service exception/**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/