Package com.google.inject.servlet
Interface ServletModule.ServletKeyBindingBuilder
-
- Enclosing class:
- ServletModule
public static interface ServletModule.ServletKeyBindingBuilder
See the EDSL examples atServletModule.configureServlets()
- Since:
- 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
with(Key<? extends HttpServlet> servletKey)
void
with(Key<? extends HttpServlet> servletKey, Map<String,String> initParams)
void
with(Class<? extends HttpServlet> servletKey)
void
with(Class<? extends HttpServlet> servletKey, Map<String,String> initParams)
void
with(HttpServlet servlet)
void
with(HttpServlet servlet, Map<String,String> initParams)
-
-
-
Method Detail
-
with
void with(Class<? extends HttpServlet> servletKey)
-
with
void with(Key<? extends HttpServlet> servletKey)
-
with
void with(HttpServlet servlet)
- Since:
- 3.0
-
with
void with(Class<? extends HttpServlet> servletKey, Map<String,String> initParams)
-
with
void with(Key<? extends HttpServlet> servletKey, Map<String,String> initParams)
-
with
void with(HttpServlet servlet, Map<String,String> initParams)
- Since:
- 3.0
-
-