public class AwsProxyServletContextSupplier extends Object implements Supplier<javax.servlet.ServletContext>
Factory object for ServletContext objects. This can be used
by Jersey to generate a Servlet context given an AwsProxyRequest event.
ResourceConfig app = new ResourceConfig().packages("my.app.package")
.register(new AbstractBinder() {
@Override
protected void configure() {
bindFactory(AwsProxyServletContextSupplier.class)
.to(ServletContext.class)
.in(RequestScoped.class);
}
});
| Constructor and Description |
|---|
AwsProxyServletContextSupplier() |
Copyright © 2020. All rights reserved.