public class SessionModule extends AbstractModule implements HandlerDecoratingModule
Constructor and Description |
---|
SessionModule() |
Modifier and Type | Method and Description |
---|---|
protected void |
configure() |
Handler |
decorate(Injector injector,
Handler handler)
Decorate the given handler with any global logic.
|
String |
getCookieDomain() |
int |
getCookieExpiresMins() |
String |
getCookiePath() |
void |
setCookieDomain(String cookieDomain) |
void |
setCookieExpiresMins(int cookieExpiresMins) |
void |
setCookiePath(String cookiePath) |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
public int getCookieExpiresMins()
public void setCookieExpiresMins(int cookieExpiresMins)
public String getCookieDomain()
public void setCookieDomain(String cookieDomain)
public String getCookiePath()
public void setCookiePath(String cookiePath)
protected void configure()
configure
in class AbstractModule
public Handler decorate(Injector injector, Handler handler)
HandlerDecoratingModule
decorate
in interface HandlerDecoratingModule
injector
- The injector created from all the application moduleshandler
- The application handler