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
Lumis Portal built-in REST application.
- Since:
- 6.1.0
Method Summary |
static void |
cleanUpThreadLocal()
Clean up the current thread local. |
java.util.Set<java.lang.Class<?>> |
getClasses()
|
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. |
Methods inherited from class javax.ws.rs.core.Application |
getSingletons |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RestApplication
public RestApplication()
getClasses
public java.util.Set<java.lang.Class<?>> getClasses()
- Overrides:
getClasses
in class javax.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
Lumisportal 6.1.0.111014 - Copyright © 2001-2007, Lumis. All Rights Reserved.