Class CoreIODelegate

  • 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>

    @Provider
    public class CoreIODelegate
    extends PartialCoreIODelegate
    implements com.sun.jersey.spi.inject.InjectableProvider<javax.ws.rs.core.Context,​Type>, com.sun.jersey.spi.inject.Injectable<RenderingContext>
    A JAX-RS MessageBodyWriter that try to delegate the marshalling to all nuxeo-core-io Writer and Reader. This singleton is also registering an injection of RenderingContext
    Since:
    11.1
    • Constructor Detail

      • CoreIODelegate

        public CoreIODelegate()
    • Method Detail

      • getScope

        public com.sun.jersey.core.spi.component.ComponentScope getScope()
        Specified by:
        getScope in interface com.sun.jersey.spi.inject.InjectableProvider<javax.ws.rs.core.Context,​Type>
      • 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)
        Specified by:
        getInjectable in interface com.sun.jersey.spi.inject.InjectableProvider<javax.ws.rs.core.Context,​Type>