public class RuntimeDelegateImpl extends AbstractRuntimeDelegate
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.RuntimeDelegate.HeaderDelegate<T>
JAXRS_RUNTIME_DELEGATE_PROPERTY
Constructor and Description |
---|
RuntimeDelegateImpl() |
Modifier and Type | Method and Description |
---|---|
<T> T |
createEndpoint(Application application,
Class<T> endpointType) |
createHeaderDelegate, createLinkBuilder, createResponseBuilder, createUriBuilder, createVariantListBuilder
getInstance, setInstance
public <T> T createEndpoint(Application application, Class<T> endpointType) throws IllegalArgumentException, UnsupportedOperationException
createEndpoint
in class RuntimeDelegate
IllegalArgumentException
UnsupportedOperationException
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.