@Provider public class SessionProvider extends Object implements org.glassfish.hk2.api.Factory<HttpSession>
Constructor and Description |
---|
SessionProvider(javax.servlet.http.HttpServletRequest request)
Create a new session provider for a request
|
Modifier and Type | Method and Description |
---|---|
void |
dispose(HttpSession session) |
HttpSession |
provide() |
@Inject public SessionProvider(javax.servlet.http.HttpServletRequest request)
request
- the requestpublic HttpSession provide()
provide
in interface org.glassfish.hk2.api.Factory<HttpSession>
public void dispose(HttpSession session)
dispose
in interface org.glassfish.hk2.api.Factory<HttpSession>
Copyright © 2013–2019 DuraSpace, Inc.. All rights reserved.