net.i2p.router.web

## Class ContextHelper

- java.lang.Object
- - net.i2p.router.web.ContextHelper

-     public class ContextHelper
      extends Object

  Helper for accessing router contexts by context ID.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ContextHelper()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static RouterContext` | `getContext(String contextId)`

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

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

- - ### Constructor Detail

    - #### ContextHelper

          public ContextHelper()

  - ### Method Detail

    - #### getContext

          public static RouterContext getContext(String contextId)

      Throws:
        `IllegalStateException` - if no context available