javax.ws.rs.ext
Class RuntimeDelegate

java.lang.Object
  extended by javax.ws.rs.ext.RuntimeDelegate

public abstract class RuntimeDelegate
extends Object


Nested Class Summary
static interface RuntimeDelegate.HeaderDelegate<T>
           
 
Field Summary
static String JAXRS_RUNTIME_DELEGATE_PROPERTY
           
 
Constructor Summary
protected RuntimeDelegate()
           
 
Method Summary
abstract
<T> T
createEndpoint(Application app, Class<T> type)
           
abstract
<T> RuntimeDelegate.HeaderDelegate<T>
createHeaderDelegate(Class<T> headerType)
           
abstract  Response.ResponseBuilder createResponseBuilder()
           
abstract  UriBuilder createUriBuilder()
           
abstract  Variant.VariantListBuilder createVariantListBuilder()
           
static RuntimeDelegate getInstance()
           
static void setInstance(RuntimeDelegate delegate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JAXRS_RUNTIME_DELEGATE_PROPERTY

public static final String JAXRS_RUNTIME_DELEGATE_PROPERTY
See Also:
Constant Field Values
Constructor Detail

RuntimeDelegate

protected RuntimeDelegate()
Method Detail

createEndpoint

public abstract <T> T createEndpoint(Application app,
                                     Class<T> type)

createUriBuilder

public abstract UriBuilder createUriBuilder()

createVariantListBuilder

public abstract Variant.VariantListBuilder createVariantListBuilder()

createHeaderDelegate

public abstract <T> RuntimeDelegate.HeaderDelegate<T> createHeaderDelegate(Class<T> headerType)

createResponseBuilder

public abstract Response.ResponseBuilder createResponseBuilder()

setInstance

public static void setInstance(RuntimeDelegate delegate)
                        throws SecurityException
Throws:
SecurityException

getInstance

public static RuntimeDelegate getInstance()


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.