public static class TypeRenderlet.RequestProperties extends Object
Constructor and Description |
---|
TypeRenderlet.RequestProperties(javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.HttpHeaders requestHeaders,
javax.ws.rs.core.MultivaluedMap<String,Object> responseHeaders,
String mode,
javax.ws.rs.core.MediaType mediaType,
org.osgi.framework.BundleContext bundleContext) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.MediaType |
getMediaType()
the media type of the representation to be produced.
|
String |
getMode()
the mode the TypeRenderlet is invoked with, this is mainly used
so that the callbackRenderer can be called inheriting the mode.
|
<T> T |
getRenderingService(Class<T> type)
Rendering services
|
javax.ws.rs.core.HttpHeaders |
getRequestHeaders() |
javax.ws.rs.core.MultivaluedMap<String,Object> |
getResponseHeaders() |
javax.ws.rs.core.UriInfo |
getUriInfo() |
public TypeRenderlet.RequestProperties(javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.HttpHeaders requestHeaders, javax.ws.rs.core.MultivaluedMap<String,Object> responseHeaders, String mode, javax.ws.rs.core.MediaType mediaType, org.osgi.framework.BundleContext bundleContext)
public javax.ws.rs.core.HttpHeaders getRequestHeaders()
public javax.ws.rs.core.UriInfo getUriInfo()
public javax.ws.rs.core.MediaType getMediaType()
public String getMode()
public <T> T getRenderingService(Class<T> type)
type
- Copyright © 2014 The Apache Software Foundation. All Rights Reserved.