Package lumis.portal.rest
Class RestApplication
- java.lang.Object
-
- javax.ws.rs.core.Application
-
- lumis.portal.rest.RestApplication
-
public class RestApplication extends javax.ws.rs.core.Application
LumisXP built-in REST application.- Since:
- 6.1.0
- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description RestApplication()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
cleanUpThreadLocal()
Clean up the current thread local.java.util.Set<java.lang.Class<?>>
getClasses()
static MonitorHelper
getMonitorHelper()
java.util.Map<java.lang.String,java.lang.Object>
getProperties()
static java.util.Map<java.lang.String,java.lang.Object>
getRestContext()
Return the current thread local.static void
setRestContext(java.util.Map<java.lang.String,java.lang.Object> value)
Sets a list of preferences of the user on the thread local.
-
-
-
Method Detail
-
getProperties
public java.util.Map<java.lang.String,java.lang.Object> getProperties()
- Overrides:
getProperties
in classjavax.ws.rs.core.Application
-
getClasses
public java.util.Set<java.lang.Class<?>> getClasses()
- Overrides:
getClasses
in classjavax.ws.rs.core.Application
-
getRestContext
public static java.util.Map<java.lang.String,java.lang.Object> getRestContext()
Return the current thread local.- Since:
- 6.1.0
-
cleanUpThreadLocal
public static void cleanUpThreadLocal()
Clean up the current thread local.- Since:
- 6.1.0
-
setRestContext
public static void setRestContext(java.util.Map<java.lang.String,java.lang.Object> value)
Sets a list of preferences of the user on the thread local.- Since:
- 6.1.0
-
getMonitorHelper
public static MonitorHelper getMonitorHelper()
-
-