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.java65 public void with(Class<? extends HttpServlet> servletKey) { in with() argument
66 with(Key.get(servletKey)); in with()
69 public void with(Key<? extends HttpServlet> servletKey) { in with() argument
70 with(servletKey, new HashMap<String, String>()); in with()
77 public void with(Class<? extends HttpServlet> servletKey, in with() argument
79 with(Key.get(servletKey), initParams); in with()
82 public void with(Key<? extends HttpServlet> servletKey, in with() argument
84 with(servletKey, initParams, null); in with()
87 private void with(Key<? extends HttpServlet> servletKey, Map<String, String> initParams, in with() argument
95 new ServletDefinition(pattern, servletKey, UriPatternType in with()
[all …]
DServletDefinition.java56 private final Key<? extends HttpServlet> servletKey; field in ServletDefinition
65 public ServletDefinition(String pattern, Key<? extends HttpServlet> servletKey, in ServletDefinition() argument
68 this.servletKey = servletKey; in ServletDefinition()
91 servletKey, in acceptExtensionVisitor()
107 if (!Scopes.isSingleton(injector.getBinding(servletKey))) { in init()
109 + servletKey + " was not bound in singleton scope."); in init()
112 HttpServlet httpServlet = injector.getInstance(servletKey); in init()
123 return servletKey.toString(); in init()
294 return servletKey.toString(); in getKey()
DServletModule.java316 void with(Class<? extends HttpServlet> servletKey); in with() argument
317 void with(Key<? extends HttpServlet> servletKey); in with() argument
320 void with(Class<? extends HttpServlet> servletKey, Map<String, String> initParams); in with() argument
321 void with(Key<? extends HttpServlet> servletKey, Map<String, String> initParams); in with() argument