Home
last modified time | relevance | path

Searched refs:initParams (Results 1 – 12 of 12) sorted by relevance

/external/guice/extensions/servlet/src/com/google/inject/servlet/
DFiltersModuleBuilder.java91 public void through(Class<? extends Filter> filterKey, Map<String, String> initParams) { in through() argument
94 through(Key.get(filterKey), initParams); in through() local
98 public void through(Key<? extends Filter> filterKey, Map<String, String> initParams) { in through() argument
99 through(filterKey, initParams, null); in through()
103 Key<? extends Filter> filterKey, Map<String, String> initParams, Filter filterInstance) { in through() argument
108 .toProvider(new FilterDefinition(filterKey, pattern, initParams, filterInstance)); in through()
113 public void through(Filter filter, Map<String, String> initParams) { in through() argument
116 through(filterKey, initParams, filter); in through()
DAbstractServletModuleBinding.java28 private final Map<String, String> initParams; field in AbstractServletModuleBinding
33 Map<String, String> initParams, T target, UriPatternMatcher patternMatcher) { in AbstractServletModuleBinding() argument
34 this.initParams = initParams; in AbstractServletModuleBinding()
41 return initParams; in getInitParams()
DServletsModuleBuilder.java101 public void with(Class<? extends HttpServlet> servletKey, Map<String, String> initParams) { in with() argument
102 with(Key.get(servletKey), initParams); in with() local
106 public void with(Key<? extends HttpServlet> servletKey, Map<String, String> initParams) { in with() argument
107 with(servletKey, initParams, null); in with()
112 Map<String, String> initParams, in with() argument
117 .toProvider(new ServletDefinition(servletKey, pattern, initParams, servletInstance)); in with()
122 public void with(HttpServlet servlet, Map<String, String> initParams) { in with() argument
125 with(servletKey, initParams, servlet); in with()
DFilterDefinition.java45 private final Map<String, String> initParams; field in FilterDefinition
55 Map<String, String> initParams, in FilterDefinition() argument
59 this.initParams = Collections.unmodifiableMap(new HashMap<String, String>(initParams)); in FilterDefinition()
74 .visit(new InstanceFilterBindingImpl(initParams, filterInstance, patternMatcher)); in acceptExtensionVisitor()
77 .visit(new LinkedFilterBindingImpl(initParams, filterKey, patternMatcher)); in acceptExtensionVisitor()
124 return initParams.get(s); in init()
129 return Iterators.asEnumeration(initParams.keySet().iterator()); in init()
DServletModule.java344 void through(Class<? extends Filter> filterKey, Map<String, String> initParams); in through() argument
346 void through(Key<? extends Filter> filterKey, Map<String, String> initParams); in through() argument
348 void through(Filter filter, Map<String, String> initParams); in through() argument
363 void with(Class<? extends HttpServlet> servletKey, Map<String, String> initParams); in with() argument
365 void with(Key<? extends HttpServlet> servletKey, Map<String, String> initParams); in with() argument
367 void with(HttpServlet servlet, Map<String, String> initParams); in with() argument
DServletDefinition.java55 private final Map<String, String> initParams; field in ServletDefinition
65 Map<String, String> initParams, in ServletDefinition() argument
69 this.initParams = Collections.unmodifiableMap(new HashMap<String, String>(initParams)); in ServletDefinition()
84 .visit(new InstanceServletBindingImpl(initParams, servletInstance, patternMatcher)); in acceptExtensionVisitor()
87 .visit(new LinkedServletBindingImpl(initParams, servletKey, patternMatcher)); in acceptExtensionVisitor()
133 return initParams.get(s); in init()
138 return Iterators.asEnumeration(initParams.keySet().iterator()); in init()
DInstanceServletBindingImpl.java32 Map<String, String> initParams, HttpServlet target, UriPatternMatcher patternMatcher) { in InstanceServletBindingImpl() argument
33 super(initParams, target, patternMatcher); in InstanceServletBindingImpl()
DInstanceFilterBindingImpl.java32 Map<String, String> initParams, Filter target, UriPatternMatcher patternMatcher) { in InstanceFilterBindingImpl() argument
33 super(initParams, target, patternMatcher); in InstanceFilterBindingImpl()
DLinkedServletBindingImpl.java33 Map<String, String> initParams, in LinkedServletBindingImpl() argument
36 super(initParams, target, patternMatcher); in LinkedServletBindingImpl()
DLinkedFilterBindingImpl.java33 Map<String, String> initParams, in LinkedFilterBindingImpl() argument
36 super(initParams, target, patternMatcher); in LinkedFilterBindingImpl()
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DServletDefinitionTest.java62 final Map<String, String> initParams = in testServletInitAndConfig() local
73 initParams, in testServletInitAndConfig()
93 assertTrue(initParams.containsKey(name)); in testServletInitAndConfig()
94 assertEquals(initParams.get(name), servletConfig.getInitParameter(name)); in testServletInitAndConfig()
103 Map<String, String> initParams = in testServiceWithContextPath() local
113 initParams, in testServiceWithContextPath()
DFilterDefinitionTest.java52 final Map<String, String> initParams = in testFilterInitAndConfig() local
69 initParams, in testFilterInitAndConfig()
83 assertTrue(initParams.containsKey(name)); in testFilterInitAndConfig()
84 assertEquals(filterConfig.getInitParameter(name), initParams.get(name)); in testFilterInitAndConfig()