Class RuntimeDelegateImpl


  • public class RuntimeDelegateImpl
    extends AbstractRuntimeDelegate
    Default implementation of JAX-RS RuntimeDelegate. The RuntimeDelegate class looks for the implementations registered in META-INF/services. If no such implementation is found, this one is picked as the default. Server injection binder should override this (using META-INF/services) to provide an implementation that supports createEndpoint(javax.ws.rs.core.Application, java.lang.Class) method.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class javax.ws.rs.ext.RuntimeDelegate

        javax.ws.rs.ext.RuntimeDelegate.HeaderDelegate<T extends java.lang.Object>
    • Field Summary

      • Fields inherited from class javax.ws.rs.ext.RuntimeDelegate

        JAXRS_RUNTIME_DELEGATE_PROPERTY
    • Constructor Detail

      • RuntimeDelegateImpl

        public RuntimeDelegateImpl()
    • Method Detail

      • createEndpoint

        public <T> T createEndpoint​(javax.ws.rs.core.Application application,
                                    java.lang.Class<T> endpointType)
                             throws java.lang.IllegalArgumentException,
                                    java.lang.UnsupportedOperationException
        Specified by:
        createEndpoint in class javax.ws.rs.ext.RuntimeDelegate
        Throws:
        java.lang.IllegalArgumentException
        java.lang.UnsupportedOperationException