Class Current

java.lang.Object
org.jboss.jbossts.star.client.Current

public class Current extends Object
  • Method Details

    • putState

      public static Object putState(String key, Object value)
    • getState

      public static Object getState(String key)
    • getLast

      public static <T> T getLast(List<T> objects)
    • updateState

      public Object updateState(String key, Object value)
    • peek

      public static URL peek()
    • pop

      public static URL pop()
    • pop

      public static boolean pop(URL sra)
    • push

      public static void push(URL sraId)
      push the current context onto the stack of contexts for this thread
      Parameters:
      sraId - id of context to push (must not be null)
    • updateSRAContext

      public static void updateSRAContext(jakarta.ws.rs.core.MultivaluedMap<String,Object> headers)
    • popAll

      public static void popAll()
    • clearContext

      public static void clearContext(jakarta.ws.rs.core.MultivaluedMap<String,String> headers)
    • updateSRAContext

      public static void updateSRAContext(URL sraId, jakarta.ws.rs.core.MultivaluedMap<String,String> headers)