OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:servletDefinition
(Results
1 - 4
of
4
) sorted by null
/external/guice/extensions/servlet/test/com/google/inject/servlet/
ServletDefinitionPathsTest.java
98
ServletDefinition
servletDefinition
= new
ServletDefinition
(mapping, Key.get(HttpServlet.class),
101
servletDefinition
.init(null, injector, Sets.<HttpServlet>newIdentityHashSet());
102
servletDefinition
.doService(request, response);
198
ServletDefinition
servletDefinition
= new
ServletDefinition
(mapping, Key.get(HttpServlet.class),
201
servletDefinition
.init(null, injector, Sets.<HttpServlet>newIdentityHashSet());
202
servletDefinition
.doService(request, response)
[
all
...]
ServletDefinitionTest.java
46
* Basic unit test for lifecycle of a
ServletDefinition
(wrapper).
75
final
ServletDefinition
servletDefinition
= new
ServletDefinition
(pattern,
85
servletDefinition
.init(servletContext, injector, Sets.<HttpServlet>newIdentityHashSet());
111
final
ServletDefinition
servletDefinition
= new
ServletDefinition
(pattern,
120
servletDefinition
.service(servletRequest, servletResponse);
ServletPipelineRequestDispatcherTest.java
67
final
ServletDefinition
servletDefinition
= new
ServletDefinition
(pattern,
101
final Key<
ServletDefinition
> servetDefsKey = Key
102
.get(TypeLiteral.get(
ServletDefinition
.class));
104
Binding<
ServletDefinition
> mockBinding = createMock(Binding.class);
106
.andReturn(ImmutableList.<Binding<
ServletDefinition
>>of(mockBinding));
107
Provider<
ServletDefinition
> bindingProvider = Providers.of(
servletDefinition
);
114
servletDefinition
.init(null, injector, Sets.<HttpServlet>newIdentityHashSet())
[
all
...]
/external/guice/extensions/servlet/src/com/google/inject/servlet/
ManagedServletPipeline.java
48
private final
ServletDefinition
[] servletDefinitions;
49
private static final TypeLiteral<
ServletDefinition
> SERVLET_DEFS =
50
TypeLiteral.get(
ServletDefinition
.class);
62
* Introspects the injector and collects all instances of bound {@code List<
ServletDefinition
>}
68
private
ServletDefinition
[] collectServletDefinitions(Injector injector) {
69
List<
ServletDefinition
> servletDefinitions = Lists.newArrayList();
70
for (Binding<
ServletDefinition
> entry : injector.findBindingsByType(SERVLET_DEFS)) {
75
return servletDefinitions.toArray(new
ServletDefinition
[servletDefinitions.size()]);
81
for (
ServletDefinition
servletDefinition
: servletDefinitions)
[
all
...]
Completed in 61 milliseconds