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.since 11.1. UseCoreIODelegate
instead.A JAX-RSMessageBodyWriter
that try to delegate the marshalling to all nuxeo-core-ioWriter
andReader
.- 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
Constructors Constructor Description JsonCoreIODelegate()
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description 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.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.RenderingContext
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
-
-
-
-
Method Detail
-
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
public RenderingContext 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
-
-