Home
last modified time | relevance | path

Searched refs:servletKey (Results 1 – 3 of 3) sorted by relevance

/external/guice/extensions/servlet/src/com/google/inject/servlet/
DServletsModuleBuilder.java86 public void with(Class<? extends HttpServlet> servletKey) { in with() argument
87 with(Key.get(servletKey)); in with()
91 public void with(Key<? extends HttpServlet> servletKey) { in with() argument
92 with(servletKey, new HashMap<String, String>()); in with()
101 public void with(Class<? extends HttpServlet> servletKey, Map<String, String> initParams) { in with() argument
102 with(Key.get(servletKey), initParams); in with()
106 public void with(Key<? extends HttpServlet> servletKey, Map<String, String> initParams) { in with() argument
107 with(servletKey, initParams, null); in with()
111 Key<? extends HttpServlet> servletKey, in with() argument
117 .toProvider(new ServletDefinition(servletKey, pattern, initParams, servletInstance)); in with()
[all …]
DServletDefinition.java53 private final Key<? extends HttpServlet> servletKey; field in ServletDefinition
63 Key<? extends HttpServlet> servletKey, in ServletDefinition() argument
67 this.servletKey = servletKey; in ServletDefinition()
87 .visit(new LinkedServletBindingImpl(initParams, servletKey, patternMatcher)); in acceptExtensionVisitor()
103 if (!Scopes.isSingleton(injector.getBinding(servletKey))) { in init()
106 + servletKey in init()
110 HttpServlet httpServlet = injector.getInstance(servletKey); in init()
123 return servletKey.toString(); in init()
297 return servletKey.toString(); in getKey()
DServletModule.java357 void with(Class<? extends HttpServlet> servletKey); in with() argument
359 void with(Key<? extends HttpServlet> servletKey); in with() 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