public interface ServletEnvironment
Take extra care to avoid inadvertently caching returned objects as they should not be retained once they go out of scope of Jetty threads.
| Modifier and Type | Method and Description |
|---|---|
Optional<javax.servlet.ServletContext> |
context() |
Optional<javax.servlet.http.HttpServletRequest> |
request()
Returns an optional for HttpServletRequest currently in progress.
|
Optional<javax.servlet.ServletContext> context()
Optional<javax.servlet.http.HttpServletRequest> request()
Copyright © 2017 ObjectStyle LLC. All rights reserved.