public class JerseyServiceRequestContext extends Object implements ServiceRequestContext
| Constructor and Description |
|---|
JerseyServiceRequestContext(com.sun.jersey.api.client.ClientRequest clientRequest) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getEntity() |
String |
getHeader(String name) |
String |
getMethod() |
Object |
getProperty(String name) |
URI |
getURI() |
void |
removeHeader(String name) |
void |
setEntity(Object entity) |
void |
setHeader(String name,
String value) |
void |
setMethod(String method) |
void |
setProperty(String name,
Object value) |
void |
setURI(URI uri) |
public JerseyServiceRequestContext(com.sun.jersey.api.client.ClientRequest clientRequest)
public Object getProperty(String name)
getProperty in interface ServiceRequestContextpublic void setProperty(String name, Object value)
setProperty in interface ServiceRequestContextpublic URI getURI()
getURI in interface ServiceRequestContextpublic void setURI(URI uri)
setURI in interface ServiceRequestContextpublic String getMethod()
getMethod in interface ServiceRequestContextpublic void setMethod(String method)
setMethod in interface ServiceRequestContextpublic Object getEntity()
getEntity in interface ServiceRequestContextpublic void setEntity(Object entity)
setEntity in interface ServiceRequestContextpublic String getHeader(String name)
getHeader in interface ServiceRequestContextpublic void setHeader(String name, String value)
setHeader in interface ServiceRequestContextpublic void removeHeader(String name)
removeHeader in interface ServiceRequestContext/**
* 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.
*/