Class JsonCoreIODelegate
java.lang.Object
org.nuxeo.ecm.webengine.jaxrs.coreiodelegate.PartialCoreIODelegate
org.nuxeo.ecm.webengine.jaxrs.coreiodelegate.JsonCoreIODelegate
- All Implemented Interfaces:
com.sun.jersey.spi.inject.Injectable<RenderingContext>
,com.sun.jersey.spi.inject.InjectableProvider<javax.ws.rs.core.Context,
,Type> javax.ws.rs.ext.MessageBodyReader<Object>
,javax.ws.rs.ext.MessageBodyWriter<Object>
@Deprecated(since="11.1",
forRemoval=true)
@Provider
public final class JsonCoreIODelegate
extends PartialCoreIODelegate
implements com.sun.jersey.spi.inject.InjectableProvider<javax.ws.rs.core.Context,Type>, com.sun.jersey.spi.inject.Injectable<RenderingContext>
Deprecated, for removal: This API element is subject to removal in a future version.
A JAX-RS
MessageBodyWriter
that try to delegate the marshalling to all nuxeo-core-io Writer
and
Reader
.- Since:
- 7.2
- Implementation Note:
- since 11.1, this singleton is also registering an injection of
RenderingContext
-
Field Summary
Fields inherited from class org.nuxeo.ecm.webengine.jaxrs.coreiodelegate.PartialCoreIODelegate
CONTENT_TYPE, NUXEO_ENTITY
-
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
accept
(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType) Deprecated, for removal: This API element is subject to removal in a future version.If it returns true, it delegates marshalling toMarshallerRegistry
.com.sun.jersey.spi.inject.Injectable
getInjectable
(com.sun.jersey.core.spi.component.ComponentContext ic, javax.ws.rs.core.Context a, Type c) Deprecated, for removal: This API element is subject to removal in a future version.com.sun.jersey.core.spi.component.ComponentScope
getScope()
Deprecated, for removal: This API element is subject to removal in a future version.getValue()
Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.nuxeo.ecm.webengine.jaxrs.coreiodelegate.PartialCoreIODelegate
getSize, isReadable, isWriteable, readFrom, writeTo
-
Constructor Details
-
JsonCoreIODelegate
public JsonCoreIODelegate()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
accept
protected boolean accept(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:PartialCoreIODelegate
If it returns true, it delegates marshalling toMarshallerRegistry
.- Specified by:
accept
in classPartialCoreIODelegate
-
getValue
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getValue
in interfacecom.sun.jersey.spi.inject.Injectable<RenderingContext>
- Since:
- 11.1
-
getScope
public com.sun.jersey.core.spi.component.ComponentScope getScope()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getScope
in interfacecom.sun.jersey.spi.inject.InjectableProvider<javax.ws.rs.core.Context,
Type> - Since:
- 11.1
-
getInjectable
public com.sun.jersey.spi.inject.Injectable getInjectable(com.sun.jersey.core.spi.component.ComponentContext ic, javax.ws.rs.core.Context a, Type c) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getInjectable
in interfacecom.sun.jersey.spi.inject.InjectableProvider<javax.ws.rs.core.Context,
Type> - Since:
- 11.1
-
CoreIODelegate
instead.