com.sun.ws.rs.ext
Class RuntimeDelegateImpl

java.lang.Object
  extended by javax.ws.rs.ext.RuntimeDelegate
      extended by com.sun.jersey.core.spi.factory.AbstractRuntimeDelegate
          extended by com.sun.ws.rs.ext.RuntimeDelegateImpl

public class RuntimeDelegateImpl
extends AbstractRuntimeDelegate

A default client-based and hardcoded implementation of RuntimeDelegate that will be instantiated if all look up mechanisms fail to find an instance.

A hardcoded reference to this class name occurs in the RuntimeDelegate class present in the JAX-RS api jar.

Author:
Paul.Sandoz@Sun.Com

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.ws.rs.ext.RuntimeDelegate
javax.ws.rs.ext.RuntimeDelegate.HeaderDelegate<T>
 
Field Summary
 
Fields inherited from class javax.ws.rs.ext.RuntimeDelegate
JAXRS_RUNTIME_DELEGATE_PROPERTY
 
Constructor Summary
RuntimeDelegateImpl()
           
 
Method Summary
<T> T
createEndpoint(javax.ws.rs.core.Application application, java.lang.Class<T> endpointType)
           
 javax.ws.rs.core.Response.ResponseBuilder createResponseBuilder()
           
 javax.ws.rs.core.Variant.VariantListBuilder createVariantListBuilder()
           
 
Methods inherited from class com.sun.jersey.core.spi.factory.AbstractRuntimeDelegate
createHeaderDelegate, createUriBuilder
 
Methods inherited from class javax.ws.rs.ext.RuntimeDelegate
getInstance, setInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuntimeDelegateImpl

public RuntimeDelegateImpl()
Method Detail

createResponseBuilder

public javax.ws.rs.core.Response.ResponseBuilder createResponseBuilder()
Specified by:
createResponseBuilder in class javax.ws.rs.ext.RuntimeDelegate

createVariantListBuilder

public javax.ws.rs.core.Variant.VariantListBuilder createVariantListBuilder()
Specified by:
createVariantListBuilder in class javax.ws.rs.ext.RuntimeDelegate

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


Copyright © 2009 Sun Microsystems, Inc. All Rights Reserved.