lumis.portal.rest
Class RestApplication

Package class diagram package RestApplication
java.lang.Object
  extended by javax.ws.rs.core.Application
      extended by lumis.portal.rest.RestApplication

public class RestApplication
extends javax.ws.rs.core.Application

Lumis Portal built-in REST application.

Since:
6.1.0

Constructor Summary
RestApplication()
           
 
Method Summary
static void cleanUpThreadLocal()
          Clean up the current thread local.
 Set<Class<?>> getClasses()
           
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestApplication

public RestApplication()
Method Detail

getClasses

public Set<Class<?>> getClasses()
Overrides:
getClasses in class javax.ws.rs.core.Application

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


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.