/external/guice/extensions/servlet/src/com/google/inject/servlet/ |
D | FiltersModuleBuilder.java | 91 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()
|
D | AbstractServletModuleBinding.java | 28 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()
|
D | ServletsModuleBuilder.java | 101 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()
|
D | FilterDefinition.java | 45 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()
|
D | ServletModule.java | 344 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
|
D | ServletDefinition.java | 55 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()
|
D | InstanceServletBindingImpl.java | 32 Map<String, String> initParams, HttpServlet target, UriPatternMatcher patternMatcher) { in InstanceServletBindingImpl() argument 33 super(initParams, target, patternMatcher); in InstanceServletBindingImpl()
|
D | InstanceFilterBindingImpl.java | 32 Map<String, String> initParams, Filter target, UriPatternMatcher patternMatcher) { in InstanceFilterBindingImpl() argument 33 super(initParams, target, patternMatcher); in InstanceFilterBindingImpl()
|
D | LinkedServletBindingImpl.java | 33 Map<String, String> initParams, in LinkedServletBindingImpl() argument 36 super(initParams, target, patternMatcher); in LinkedServletBindingImpl()
|
D | LinkedFilterBindingImpl.java | 33 Map<String, String> initParams, in LinkedFilterBindingImpl() argument 36 super(initParams, target, patternMatcher); in LinkedFilterBindingImpl()
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
D | ServletDefinitionTest.java | 62 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()
|
D | FilterDefinitionTest.java | 52 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()
|