org.jboss.resteasy.core

## Class ContextResolverProxy

- java.lang.Object
- - org.jboss.resteasy.core.ContextResolverProxy

- All Implemented Interfaces:
    ContextResolver

      public class ContextResolverProxy
      extends Object
      implements ContextResolver

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ContextResolverProxy()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `getContext(Class type)` Get a context of type `T` that is applicable to the supplied type.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ContextResolverProxy

          public ContextResolverProxy()

  - ### Method Detail

    - #### getContext

          public Object getContext(Class type)

      Description copied from interface: `ContextResolver`
      Get a context of type `T` that is applicable to the supplied type.
      Specified by:
        `getContext` in interface `ContextResolver`
      Parameters:
        `type` - the class of object for which a context is desired
      Returns:
        a context for the supplied type or `null` if a context for the supplied type is not available from this provider.

Copyright © 2014. All Rights Reserved.