Package lumis.portal.rest
Class RestApplication
- java.lang.Object
-
- javax.ws.rs.core.Application
-
- lumis.portal.rest.RestApplication
-
public class RestApplication extends Application
LumisXP built-in REST application.- Since:
- 6.1.0
- Version:
- $Revision: 24458 $ $Date: 2021-04-16 15:12:30 -0300 (Fri, 16 Apr 2021) $
-
-
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.Set<Class<?>>
getClasses()
static MonitorHelper
getMonitorHelper()
Map<String,Object>
getProperties()
static Map<String,Object>
getRestContext()
Return the current thread local.static void
setRestContext(Map<String,Object> value)
Sets a list of preferences of the user on the thread local.-
Methods inherited from class javax.ws.rs.core.Application
getSingletons
-
-
-
-
Method Detail
-
getProperties
public Map<String,Object> getProperties()
- Overrides:
getProperties
in classApplication
-
getClasses
public Set<Class<?>> getClasses()
- Overrides:
getClasses
in classApplication
-
getRestContext
public static Map<String,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(Map<String,Object> value)
Sets a list of preferences of the user on the thread local.- Since:
- 6.1.0
-
getMonitorHelper
public static MonitorHelper getMonitorHelper()
-
-