Package org.jboss.resteasy.util

## Class FeatureContextDelegate

- java.lang.Object
- - org.jboss.resteasy.util.FeatureContextDelegate

- All Implemented Interfaces:
    `javax.ws.rs.core.Configurable<javax.ws.rs.core.FeatureContext>`, `javax.ws.rs.core.FeatureContext`
  Direct Known Subclasses:
    `DynamicFeatureContextDelegate`

      public class FeatureContextDelegate
      extends Object
      implements javax.ws.rs.core.FeatureContext

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected javax.ws.rs.core.Configurable<?>` | `configurable` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `FeatureContextDelegate​(javax.ws.rs.core.Configurable<?> configurable)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `javax.ws.rs.core.Configuration` | `getConfiguration()` |
    `javax.ws.rs.core.FeatureContext` | `property​(String name, Object value)` |
    `javax.ws.rs.core.FeatureContext` | `register​(Class<?> componentClass)` |
    `javax.ws.rs.core.FeatureContext` | `register​(Class<?> componentClass, int priority)` |
    `javax.ws.rs.core.FeatureContext` | `register​(Class<?> componentClass, Class<?>... contracts)` |
    `javax.ws.rs.core.FeatureContext` | `register​(Class<?> componentClass, Map<Class<?>,​Integer> contracts)` |
    `javax.ws.rs.core.FeatureContext` | `register​(Object component)` |
    `javax.ws.rs.core.FeatureContext` | `register​(Object component, int priority)` |
    `javax.ws.rs.core.FeatureContext` | `register​(Object component, Class<?>... contracts)` |
    `javax.ws.rs.core.FeatureContext` | `register​(Object component, Map<Class<?>,​Integer> contracts)` |

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

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

- - ### Field Detail

    - #### configurable

          protected javax.ws.rs.core.Configurable<?> configurable

  - ### Constructor Detail

    - #### FeatureContextDelegate

          public FeatureContextDelegate​(javax.ws.rs.core.Configurable<?> configurable)

  - ### Method Detail

    - #### getConfiguration

          public javax.ws.rs.core.Configuration getConfiguration()

      Specified by:
        `getConfiguration` in interface `javax.ws.rs.core.Configurable<javax.ws.rs.core.FeatureContext>`

    - #### property

          public javax.ws.rs.core.FeatureContext property​(String name,
                                                          Object value)

      Specified by:
        `property` in interface `javax.ws.rs.core.Configurable<javax.ws.rs.core.FeatureContext>`

    - #### register

          public javax.ws.rs.core.FeatureContext register​(Class<?> componentClass)

      Specified by:
        `register` in interface `javax.ws.rs.core.Configurable<javax.ws.rs.core.FeatureContext>`

    - #### register

          public javax.ws.rs.core.FeatureContext register​(Class<?> componentClass,
                                                          int priority)

      Specified by:
        `register` in interface `javax.ws.rs.core.Configurable<javax.ws.rs.core.FeatureContext>`

    - #### register

          public javax.ws.rs.core.FeatureContext register​(Class<?> componentClass,
                                                          Class<?>... contracts)

      Specified by:
        `register` in interface `javax.ws.rs.core.Configurable<javax.ws.rs.core.FeatureContext>`

    - #### register

          public javax.ws.rs.core.FeatureContext register​(Class<?> componentClass,
                                                          Map<Class<?>,​Integer> contracts)

      Specified by:
        `register` in interface `javax.ws.rs.core.Configurable<javax.ws.rs.core.FeatureContext>`

    - #### register

          public javax.ws.rs.core.FeatureContext register​(Object component)

      Specified by:
        `register` in interface `javax.ws.rs.core.Configurable<javax.ws.rs.core.FeatureContext>`

    - #### register

          public javax.ws.rs.core.FeatureContext register​(Object component,
                                                          int priority)

      Specified by:
        `register` in interface `javax.ws.rs.core.Configurable<javax.ws.rs.core.FeatureContext>`

    - #### register

          public javax.ws.rs.core.FeatureContext register​(Object component,
                                                          Class<?>... contracts)

      Specified by:
        `register` in interface `javax.ws.rs.core.Configurable<javax.ws.rs.core.FeatureContext>`

    - #### register

          public javax.ws.rs.core.FeatureContext register​(Object component,
                                                          Map<Class<?>,​Integer> contracts)

      Specified by:
        `register` in interface `javax.ws.rs.core.Configurable<javax.ws.rs.core.FeatureContext>`