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, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingpublic 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 AbstractModulepublic Handler decorate(Injector injector, Handler handler)
HandlerDecoratingModuledecorate in interface HandlerDecoratingModuleinjector - The injector created from all the application moduleshandler - The application handler