Class TowSessionAdapter

java.lang.Object
com.aspectran.core.adapter.AbstractSessionAdapter
com.aspectran.undertow.adapter.TowSessionAdapter
All Implemented Interfaces:
com.aspectran.core.adapter.SessionAdapter

public class TowSessionAdapter extends com.aspectran.core.adapter.AbstractSessionAdapter
Adapt HttpServerExchange to Core SessionAdapter.
Since:
2011. 3. 13.
  • Constructor Details

    • TowSessionAdapter

      public TowSessionAdapter(io.undertow.server.HttpServerExchange exchange)
  • Method Details

    • getAdaptee

      public <T> T getAdaptee()
      Specified by:
      getAdaptee in interface com.aspectran.core.adapter.SessionAdapter
      Overrides:
      getAdaptee in class com.aspectran.core.adapter.AbstractSessionAdapter
    • getId

      public String getId()
    • getCreationTime

      public long getCreationTime()
    • getLastAccessedTime

      public long getLastAccessedTime()
    • getMaxInactiveInterval

      public int getMaxInactiveInterval()
    • setMaxInactiveInterval

      public void setMaxInactiveInterval(int interval)
    • getAttributeNames

      public Enumeration<String> getAttributeNames()
    • getAttribute

      public <T> T getAttribute(String name)
    • setAttribute

      public void setAttribute(String name, Object value)
    • removeAttribute

      public void removeAttribute(String name)
    • invalidate

      public void invalidate()
    • isValid

      public boolean isValid()
    • isNew

      public boolean isNew()
    • getSession

      public io.undertow.server.session.Session getSession(boolean create)