public class HttpSessions extends Object
Modifier and Type | Method and Description |
---|---|
protected boolean |
contains(HttpResumableInfo resumableInfo)
Check if session is already existing
|
static HttpSessions |
getInstance() |
HttpResumableSession |
getOrCreateResumableSession(HttpResumableInfo resumableInfo,
String rulename,
String comment,
HttpAuthent authent)
Get a already existing HttpResumableSession or create a new one if not
exists
|
boolean |
removeSession(HttpResumableInfo resumableInfo)
Removes the current session
|
boolean |
removeSession(HttpResumableSession resumableSession)
Removes the current session
|
public static HttpSessions getInstance()
public HttpResumableSession getOrCreateResumableSession(HttpResumableInfo resumableInfo, String rulename, String comment, HttpAuthent authent)
resumableInfo
- rulename
- comment
- authent
- protected boolean contains(HttpResumableInfo resumableInfo)
resumableInfo
- public boolean removeSession(HttpResumableInfo resumableInfo)
resumableInfo
- public boolean removeSession(HttpResumableSession resumableSession)
resumableSession
- Copyright © 2009–2020 Waarp. All rights reserved.