public.javadoc.org.spincast.plugins.session.SpincastSessionFilterDefault.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
SpincastSessionFilterDefault (org.spincast:spincast-framework 1.0.0 API)
org.spincast.plugins.session
Class SpincastSessionFilterDefault
- java.lang.Object
-
- org.spincast.plugins.session.SpincastSessionFilterDefault
-
- All Implemented Interfaces:
- SpincastSessionFilter
public class SpincastSessionFilterDefault
extends Object
implements SpincastSessionFilter
-
-
Constructor Summary
Constructors
Constructor and Description
SpincastSessionFilterDefault(SpincastSessionManager spincastSessionManager,
SpincastSessionConfig spincastSessionConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
void
after(RequestContext<?> context)
void
before(RequestContext<?> context)
protected String
getSessionIdFromUserRequest(RequestContext<?> context)
protected SpincastSessionConfig
getSpincastSessionConfig()
protected SpincastSessionManager
getSpincastSessionManager()
protected boolean
isUpdateModificationDateEvenIfNotDirty(SpincastSession session)
-
-
Constructor Detail
-
SpincastSessionFilterDefault
@Inject
public SpincastSessionFilterDefault(SpincastSessionManager spincastSessionManager,
SpincastSessionConfig spincastSessionConfig)
-
Method Detail
-
getSpincastSessionManager
protected SpincastSessionManager getSpincastSessionManager()
-
getSpincastSessionConfig
protected SpincastSessionConfig getSpincastSessionConfig()
-
before
public void before(RequestContext<?> context)
- Specified by:
before
in interface SpincastSessionFilter
-
after
public void after(RequestContext<?> context)
- Specified by:
after
in interface SpincastSessionFilter
-
isUpdateModificationDateEvenIfNotDirty
protected boolean isUpdateModificationDateEvenIfNotDirty(SpincastSession session)
-
getSessionIdFromUserRequest
protected String getSessionIdFromUserRequest(RequestContext<?> context)
Copyright © 2019. All rights reserved.