Package com.google.inject.servlet
Class ServletsModuleBuilder.ServletKeyBindingBuilderImpl
- java.lang.Object
-
- com.google.inject.servlet.ServletsModuleBuilder.ServletKeyBindingBuilderImpl
-
- All Implemented Interfaces:
ServletModule.ServletKeyBindingBuilder
- Enclosing class:
- ServletsModuleBuilder
class ServletsModuleBuilder.ServletKeyBindingBuilderImpl extends java.lang.Object implements ServletModule.ServletKeyBindingBuilder
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<UriPatternMatcher>
uriPatterns
-
Constructor Summary
Constructors Modifier Constructor Description private
ServletKeyBindingBuilderImpl(java.util.List<UriPatternMatcher> uriPatterns)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
with(Key<? extends javax.servlet.http.HttpServlet> servletKey)
void
with(Key<? extends javax.servlet.http.HttpServlet> servletKey, java.util.Map<java.lang.String,java.lang.String> initParams)
private void
with(Key<? extends javax.servlet.http.HttpServlet> servletKey, java.util.Map<java.lang.String,java.lang.String> initParams, javax.servlet.http.HttpServlet servletInstance)
void
with(java.lang.Class<? extends javax.servlet.http.HttpServlet> servletKey)
void
with(java.lang.Class<? extends javax.servlet.http.HttpServlet> servletKey, java.util.Map<java.lang.String,java.lang.String> initParams)
void
with(javax.servlet.http.HttpServlet servlet)
void
with(javax.servlet.http.HttpServlet servlet, java.util.Map<java.lang.String,java.lang.String> initParams)
-
-
-
Field Detail
-
uriPatterns
private final java.util.List<UriPatternMatcher> uriPatterns
-
-
Constructor Detail
-
ServletKeyBindingBuilderImpl
private ServletKeyBindingBuilderImpl(java.util.List<UriPatternMatcher> uriPatterns)
-
-
Method Detail
-
with
public void with(java.lang.Class<? extends javax.servlet.http.HttpServlet> servletKey)
- Specified by:
with
in interfaceServletModule.ServletKeyBindingBuilder
-
with
public void with(Key<? extends javax.servlet.http.HttpServlet> servletKey)
- Specified by:
with
in interfaceServletModule.ServletKeyBindingBuilder
-
with
public void with(javax.servlet.http.HttpServlet servlet)
- Specified by:
with
in interfaceServletModule.ServletKeyBindingBuilder
-
with
public void with(java.lang.Class<? extends javax.servlet.http.HttpServlet> servletKey, java.util.Map<java.lang.String,java.lang.String> initParams)
- Specified by:
with
in interfaceServletModule.ServletKeyBindingBuilder
-
with
public void with(Key<? extends javax.servlet.http.HttpServlet> servletKey, java.util.Map<java.lang.String,java.lang.String> initParams)
- Specified by:
with
in interfaceServletModule.ServletKeyBindingBuilder
-
with
private void with(Key<? extends javax.servlet.http.HttpServlet> servletKey, java.util.Map<java.lang.String,java.lang.String> initParams, javax.servlet.http.HttpServlet servletInstance)
-
with
public void with(javax.servlet.http.HttpServlet servlet, java.util.Map<java.lang.String,java.lang.String> initParams)
- Specified by:
with
in interfaceServletModule.ServletKeyBindingBuilder
-
-