OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:initParameter
(Results
1 - 2
of
2
) sorted by null
/external/nanohttpd/nanolets/src/main/java/fi/iki/elonen/router/
RouterNanoHTTPD.java
219
File fileOrdirectory = uriResource.
initParameter
(File.class);
333
private final Object[]
initParameter
;
337
public UriResource(String uri, int priority, Class<?> handler, Object...
initParameter
) {
339
this.
initParameter
=
initParameter
;
416
public <T> T
initParameter
(Class<T> paramClazz) {
417
return
initParameter
(0, paramClazz);
420
public <T> T
initParameter
(int parameterIndex, Class<T> paramClazz) {
421
if (
initParameter
.length > parameterIndex) {
422
return paramClazz.cast(
initParameter
[parameterIndex])
[
all
...]
/external/nanohttpd/nanolets/src/test/java/fi/iki/elonen/router/
TestNanolets.java
225
new RouterNanoHTTPD.UriResource("browse", 100, null, "init").
initParameter
(String.class);
226
new RouterNanoHTTPD.UriResource("browse", 100, null, "init").
initParameter
(Integer.class);
231
Assert.assertEquals("init", new RouterNanoHTTPD.UriResource("browse", 100, null, "init").
initParameter
(String.class));
232
Assert.assertNull(new RouterNanoHTTPD.UriResource("browse", 100, null).
initParameter
(String.class));
Completed in 48 milliseconds