|
Jetty example source code file (WadiSession.java)
The Jetty WadiSession.java source codepackage org.mortbay.jetty.servlet.wadi; import java.util.Map; public interface WadiSession { /** * Gets the sessionId. * * @return sessionId. */ String getSessionId(); /** * Map like contract to manipulate state information. */ Object addState(String key, Object value); /** * Map like contract to manipulate state information. */ Object getState(String key); /** * Map like contract to manipulate state information. */ Object removeState(String key); /** * Map like contract to manipulate state information. * <p> * The returned Map is mutable and is backed by the session. */ Map getState(); /** * Releases the session. * <p> * When a Session is released, it is released from the underlying set of SessionManagers. In other words, its * sessionId is unknown and its state is permanently lost. After the release of a Session, the behavior of * the other methods is undefined. */ void release(); /** * Notifies the session that state accesses are now completed. * <p> * When state accesses end, the underlying local SessionManager may decide to replicate synchronously or * asynchronously the current state to remote SessionManagers. */ void onEndAccess(); } Other Jetty examples (source code examples)Here is a short list of links related to this Jetty WadiSession.java source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.