Class JerseyRequestContext

java.lang.Object
io.bdeploy.jersey.JerseyRequestContext

@Service public class JerseyRequestContext extends Object
Provides a wrapper around the ContainerRequestContext where per-request data is stored.

In case a new Thread is started *within* a request, the request association is lost if not handled explicitly, thus we need to fall back to a simple thread local solution.

  • Constructor Details

    • JerseyRequestContext

      public JerseyRequestContext()
  • Method Details

    • getProperty

      public Object getProperty(String name)
    • setProperty

      public void setProperty(String name, Object object)
    • removeProperty

      public void removeProperty(String name)
    • clear

      public void clear()