Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- addCookie(NinjaCookie) - Method in class org.ninjax.core.Result
- addHeader(String, String) - Method in class org.ninjax.core.Result
- age() - Method in record class controller.BasicController.Person
-
Returns the value of the
agerecord component. - APPLICATION_JSON - Static variable in class org.ninjax.core.Result
- APPLICATION_JSONP - Static variable in class org.ninjax.core.Result
- APPLICATION_OCTET_STREAM - Static variable in class org.ninjax.core.Result
- APPLICATION_XML - Static variable in class org.ninjax.core.Result
- Assembly - Class in conf
- Assembly() - Constructor for class conf.Assembly
- assetsController - Variable in class conf.Assembly
- AssetsController - Class in org.ninjax.core
- AssetsController() - Constructor for class org.ninjax.core.AssetsController
B
- badRequest() - Static method in class org.ninjax.core.Result
- basicController - Variable in class conf.Assembly
- BasicController - Class in controller
- BasicController(BasicService, NinjaProperties) - Constructor for class controller.BasicController
- BasicController.Person - Record Class in controller
- basicService - Variable in class conf.Assembly
- basicService - Variable in class controller.BasicController
- BasicService - Class in services
- BasicService() - Constructor for class services.BasicService
C
- CACHE_CONTROL - Static variable in class org.ninjax.core.Result
- CACHE_CONTROL_DEFAULT_NOCACHE_VALUE - Static variable in class org.ninjax.core.Result
- comment() - Method in record class org.ninjax.core.NinjaCookie
-
Returns the value of the
commentrecord component. - conf - package conf
- content - Variable in class models.Guestbook
- contentType() - Method in record class org.ninjax.core.FileItem
-
Returns the value of the
contentTyperecord component. - contentType(String) - Method in class org.ninjax.core.Result
- controller - package controller
- controllerMethod() - Method in class org.ninjax.core.Router.Route
- convertNinjaCookieToServletCookue(NinjaCookie) - Static method in class org.ninjax.core.NinjaJetty.NinjaJettyHelper
- convertServletCookieToNinjaCookie(Cookie) - Static method in class org.ninjax.core.NinjaJetty.NinjaJettyHelper
- createGuestbook(Guestbook) - Method in class services.GuestbooksService
- createGuestbook(Guestbook) - Method in interface services.GuestbooksService.DbServiceInterface
D
- DATE - Static variable in class org.ninjax.core.Result
- deleteNinjaSession() - Method in class org.ninjax.core.Result
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class org.ninjax.core.NinjaJetty.NinjaServletFilter
- doFilter(Request) - Method in class org.ninjax.core.FilterChain
- doFilter(Request, FilterChain) - Method in class conf.MyCustomFilter
- doFilter(Request, FilterChain) - Method in interface org.ninjax.core.NinjaFilter
- domain() - Method in record class org.ninjax.core.NinjaCookie
-
Returns the value of the
domainrecord component. - doStuff() - Method in class services.BasicService
E
- email - Variable in class models.Guestbook
- equals(Object) - Method in record class controller.BasicController.Person
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.ninjax.core.FileItem
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.ninjax.core.NinjaCookie
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.ninjax.core.NinjaSession
-
Indicates whether some other object is "equal to" this one.
- escapeUnsafe(String) - Static method in class org.juckula.JuckulaCompositionTemplate
- executeMethod(Request) - Method in interface org.ninjax.core.Router.ControllerMethod
- Exists(NinjaSession) - Constructor for class org.ninjax.core.Result.Exists
- EXPIRES - Static variable in class org.ninjax.core.Result
- extractHeaders(HttpServletRequest) - Static method in class org.ninjax.core.NinjaJetty.NinjaJettyHelper
F
- FileItem - Record Class in org.ninjax.core
- FileItem(String, String, long, InputStream) - Constructor for record class org.ninjax.core.FileItem
-
Creates an instance of a
FileItemrecord class. - fileName() - Method in record class org.ninjax.core.FileItem
-
Returns the value of the
fileNamerecord component. - filter(NinjaFilter) - Method in class org.ninjax.core.Router.RouteTmp
- FilterChain - Class in org.ninjax.core
- FilterChain(List<NinjaFilter>, int, Router.ControllerMethod) - Constructor for class org.ninjax.core.FilterChain
- filters - Variable in class org.ninjax.core.Router.Route
- FooterHtml - Class in views
- FooterHtml() - Constructor for class views.FooterHtml
G
- get() - Method in interface org.ninjax.core.Request.InputStreamGetter
- get() - Method in class org.ninjax.db.hikari.NinjaDbHikariProvider
- get() - Method in class org.ninjax.db.jdbc.NinjaDatasourcePropertiesExtractor
- get(String) - Method in record class org.ninjax.core.NinjaSession
- get(String) - Method in class org.ninjax.core.properties.NinjaProperties
- GET(String) - Method in class org.ninjax.core.Router
- getAllProperties() - Method in class org.ninjax.core.properties.NinjaProperties
- getContent() - Method in class models.Guestbook
- getDatasource(String) - Method in class org.ninjax.db.jdbc.NinjaDatasources
- getDataSource() - Method in class org.ninjax.db.jdbc.NinjaDatasource
- getDatasources() - Method in class org.ninjax.db.jdbc.NinjaDatasources
- getDatasources() - Method in class org.ninjax.db.jdbc.NinjaDatasourcesProperties
- getDriver() - Method in class org.ninjax.db.jdbc.NinjaDatasourceProperties
- getEmail() - Method in class models.Guestbook
- getFile(String) - Method in class org.ninjax.core.Request
- getFileItem(String) - Method in interface org.ninjax.core.Request.FileItemGetter
- getFileItems(String) - Method in interface org.ninjax.core.Request.FileItemsGetter
- getFiles(String) - Method in class org.ninjax.core.Request
- getId() - Method in class models.Guestbook
- getIndex() - Method in class org.ninjax.core.RouteParameter
-
Gets the index of where the token starts in the original uri.
- getJdbcUrl() - Method in class org.ninjax.db.jdbc.NinjaDatasourceProperties
- getJdbi(String) - Method in interface org.ninjax.db.jdbi.NinjaJdbi
- getJdbi(String) - Method in class org.ninjax.db.jdbi.NinjaJdbiImpl
- getJsonBody() - Method in class org.ninjax.core.Request
- getLocale() - Method in class org.ninjax.core.Request
- getMessage(String, Locale, Object...) - Method in class org.ninjax.core.NinjaMesssages
- getMigrationConguration() - Method in class org.ninjax.db.jdbc.NinjaDatasourceProperties
- getMigrationPassword() - Method in class org.ninjax.db.jdbc.NinjaDatasourceProperties.MigrationConfiguration
- getMigrationUsername() - Method in class org.ninjax.db.jdbc.NinjaDatasourceProperties.MigrationConfiguration
- getName() - Method in class org.ninjax.core.RouteParameter
-
The name of the parameter such as "id" in "{id: [0-9]+}"
- getName() - Method in class org.ninjax.db.jdbc.NinjaDatasource
- getName() - Method in class org.ninjax.db.jdbc.NinjaDatasourceProperties
- getNinjaCookies() - Method in class org.ninjax.core.Request
- getNinjaSession() - Method in class org.ninjax.core.Request
- getParameter(String) - Method in class org.ninjax.core.Request
- getPassword() - Method in class org.ninjax.db.jdbc.NinjaDatasourceProperties
- getPathParameter(String) - Method in class org.ninjax.core.Request
-
Content of this paRaw path parameter.
- getPayload(String) - Method in class org.ninjax.core.Request
- getPayload(String, Class<U>) - Method in class org.ninjax.core.Request
- getProperties() - Method in class org.ninjax.db.jdbc.NinjaDatasourceProperties
- getRegex() - Method in class org.ninjax.core.RouteParameter
-
The regex of the parameter such as "[0-9]+" in "{id: [0-9]+}"
- getRequestPath() - Method in class org.ninjax.core.Request
- getRouteFor(String, String) - Method in class org.ninjax.core.RouteFinder
- getRoutes() - Method in class org.ninjax.core.Router
- getSession() - Method in class org.ninjax.core.Result.Exists
- getSession(List<NinjaCookie>, SecretKey) - Static method in class org.ninjax.core.NinjaJetty.NinjaJettyHelper
-
///////////////////////////////////////////////////////////////////////// // Session /////////////////////////////////////////////////////////////////////////
- getToken() - Method in class org.ninjax.core.RouteParameter
-
The exact string of the parameter such as "{id: [0-9]+}" in "{id: [0-9]+}"
- getUsername() - Method in class org.ninjax.db.jdbc.NinjaDatasourceProperties
- Guestbook - Class in models
- Guestbook(Integer, String, String) - Constructor for class models.Guestbook
- Guestbook(String, String) - Constructor for class models.Guestbook
- Guestbook.GuestbookMapper - Class in models
- guestbookController - Variable in class conf.Assembly
- GuestbookController - Class in controller
- GuestbookController(GuestbooksService) - Constructor for class controller.GuestbookController
- GuestbookMapper() - Constructor for class models.Guestbook.GuestbookMapper
- GuestbookPage - Class in views
- GuestbookPage() - Constructor for class views.GuestbookPage
- guestbooksService - Variable in class conf.Assembly
- GuestbooksService - Class in services
- GuestbooksService(NinjaJdbi) - Constructor for class services.GuestbooksService
- GuestbooksService.DbServiceInterface - Interface in services
H
- hashCode() - Method in record class controller.BasicController.Person
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.ninjax.core.FileItem
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.ninjax.core.NinjaCookie
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.ninjax.core.NinjaSession
-
Returns a hash code value for this object.
- HeaderHtml - Class in views
- HeaderHtml() - Constructor for class views.HeaderHtml
- helloWorld(Request) - Method in class controller.BasicController
- html(String) - Method in class org.ninjax.core.Result
- html(String...) - Method in class org.juckula.JuckulaCompositionTemplate
- html(JuckulaCompositionTemplate) - Method in class org.juckula.JuckulaCompositionTemplate
- httpMethod() - Method in class org.ninjax.core.Router.Route
- httpOnly() - Method in record class org.ninjax.core.NinjaCookie
-
Returns the value of the
httpOnlyrecord component.
I
- id - Variable in class models.Guestbook
- index(Request) - Method in class controller.GuestbookController
- inputStream() - Method in record class org.ninjax.core.FileItem
-
Returns the value of the
inputStreamrecord component.
J
- json(Object) - Method in class org.ninjax.core.Result
- Json - Class in org.ninjax.core
- Json() - Constructor for class org.ninjax.core.Json
- JuckulaCompositionTemplate - Class in org.juckula
- JuckulaCompositionTemplate() - Constructor for class org.juckula.JuckulaCompositionTemplate
K
- keyValueStore() - Method in record class org.ninjax.core.NinjaSession
-
Returns the value of the
keyValueStorerecord component.
L
- LandingPage - Class in views
- LandingPage() - Constructor for class views.LandingPage
- LayoutHtml - Class in views
- LayoutHtml() - Constructor for class views.LayoutHtml
- LinkTag - Class in views
- LinkTag() - Constructor for class views.LinkTag
- listGuestBookEntries() - Method in interface services.GuestbooksService.DbServiceInterface
- listGuestBookEntries() - Method in class services.GuestbooksService
- LOCATION - Static variable in class org.ninjax.core.Result
M
- main(String[]) - Static method in class conf.Assembly
- map(ResultSet, StatementContext) - Method in class models.Guestbook.GuestbookMapper
- maxAge() - Method in record class org.ninjax.core.NinjaCookie
-
Returns the value of the
maxAgerecord component. - MigrationConfiguration(String, String) - Constructor for class org.ninjax.db.jdbc.NinjaDatasourceProperties.MigrationConfiguration
- models - package models
- myCustomFilter - Variable in class conf.Assembly
- MyCustomFilter - Class in conf
- MyCustomFilter() - Constructor for class conf.MyCustomFilter
N
- name() - Method in record class controller.BasicController.Person
-
Returns the value of the
namerecord component. - name() - Method in record class org.ninjax.core.NinjaCookie
-
Returns the value of the
namerecord component. - ninja - Variable in class conf.Assembly
- NINJA_SESSION_COOKIE_NAME - Static variable in class org.ninjax.core.NinjaJetty
- NINJA_SESSION_NAME - Static variable in record class org.ninjax.core.NinjaSession
- NinjaCookie - Record Class in org.ninjax.core
- NinjaCookie(String, String, Optional<String>, Optional<String>, int, Optional<String>, boolean, boolean) - Constructor for record class org.ninjax.core.NinjaCookie
-
Creates an instance of a
NinjaCookierecord class. - NinjaDatasource - Class in org.ninjax.db.jdbc
- NinjaDatasource(String, DataSource) - Constructor for class org.ninjax.db.jdbc.NinjaDatasource
- NinjaDatasourceProperties - Class in org.ninjax.db.jdbc
- NinjaDatasourceProperties(String, String, String, String, String, Optional<NinjaDatasourceProperties.MigrationConfiguration>, Map<String, String>) - Constructor for class org.ninjax.db.jdbc.NinjaDatasourceProperties
- NinjaDatasourceProperties.MigrationConfiguration - Class in org.ninjax.db.jdbc
- NinjaDatasourcePropertiesExtractor - Class in org.ninjax.db.jdbc
- NinjaDatasourcePropertiesExtractor(NinjaProperties) - Constructor for class org.ninjax.db.jdbc.NinjaDatasourcePropertiesExtractor
- NinjaDatasources - Class in org.ninjax.db.jdbc
- NinjaDatasources(List<NinjaDatasource>) - Constructor for class org.ninjax.db.jdbc.NinjaDatasources
- NinjaDatasourcesProperties - Class in org.ninjax.db.jdbc
- NinjaDatasourcesProperties(List<NinjaDatasourceProperties>) - Constructor for class org.ninjax.db.jdbc.NinjaDatasourcesProperties
- NinjaDbHikariProvider - Class in org.ninjax.db.hikari
- NinjaDbHikariProvider(NinjaDatasourcesProperties) - Constructor for class org.ninjax.db.hikari.NinjaDbHikariProvider
- NinjaFilter - Interface in org.ninjax.core
- NinjaFlywayMigrator - Class in org.ninjax.db.flyway
- NinjaFlywayMigrator(NinjaDatasourcesProperties) - Constructor for class org.ninjax.db.flyway.NinjaFlywayMigrator
- NinjaJdbi - Interface in org.ninjax.db.jdbi
- NinjaJdbiImpl - Class in org.ninjax.db.jdbi
- NinjaJdbiImpl(NinjaDatasources) - Constructor for class org.ninjax.db.jdbi.NinjaJdbiImpl
- NinjaJetty - Class in org.ninjax.core
- NinjaJetty(Router, NinjaProperties) - Constructor for class org.ninjax.core.NinjaJetty
- NinjaJetty.NinjaJettyHelper - Class in org.ninjax.core
- NinjaJetty.NinjaServletFilter - Class in org.ninjax.core
- NinjaJettyHelper() - Constructor for class org.ninjax.core.NinjaJetty.NinjaJettyHelper
- NinjaMesssages - Class in org.ninjax.core
- NinjaMesssages(NinjaProperties) - Constructor for class org.ninjax.core.NinjaMesssages
- ninjaProperties - Variable in class conf.Assembly
- ninjaProperties - Variable in class controller.BasicController
- ninjaProperties - Variable in class org.ninjax.core.NinjaJetty
- NinjaProperties - Class in org.ninjax.core.properties
- NinjaProperties() - Constructor for class org.ninjax.core.properties.NinjaProperties
- NinjaServletFilter() - Constructor for class org.ninjax.core.NinjaJetty.NinjaServletFilter
- NinjaSession - Record Class in org.ninjax.core
- NinjaSession(ImmutableMap<String, String>) - Constructor for record class org.ninjax.core.NinjaSession
-
Creates an instance of a
NinjaSessionrecord class. - NinjaSession(Map<String, String>) - Constructor for record class org.ninjax.core.NinjaSession
- notFound() - Static method in class org.ninjax.core.Result
O
- objectMapper - Static variable in class org.ninjax.core.Json
- ok() - Static method in class org.ninjax.core.Result
- org.juckula - package org.juckula
- org.ninjax.core - package org.ninjax.core
- org.ninjax.core.properties - package org.ninjax.core.properties
- org.ninjax.db.flyway - package org.ninjax.db.flyway
- org.ninjax.db.hikari - package org.ninjax.db.hikari
- org.ninjax.db.jdbc - package org.ninjax.db.jdbc
- org.ninjax.db.jdbi - package org.ninjax.db.jdbi
P
- parameters - Variable in class org.ninjax.core.Router.Route
- parse(String) - Static method in class org.ninjax.core.RouteParameter
-
Parse a path such as "/user/{id: [0-9]+}/email/{addr}" for the named parameters.
- parsePerson(Request) - Method in class controller.BasicController
- path() - Method in record class org.ninjax.core.NinjaCookie
-
Returns the value of the
pathrecord component. - path() - Method in class org.ninjax.core.Router.Route
- pathRegex() - Method in class org.ninjax.core.Router.Route
- PATTERN_FOR_VARIABLE_PARTS_OF_ROUTE - Static variable in class org.ninjax.core.Router.Route
- Person(String, int) - Constructor for record class controller.BasicController.Person
-
Creates an instance of a
Personrecord class. - personJson(Request) - Method in class controller.BasicController
- post(Request) - Method in class controller.GuestbookController
- POST(String) - Method in class org.ninjax.core.Router
- putPayload(String, Object) - Method in class org.ninjax.core.Request
R
- redirect(String) - Static method in class org.ninjax.core.Result
- Remove() - Constructor for class org.ninjax.core.Result.Remove
- removeNinjaSession() - Static method in class org.ninjax.core.NinjaJetty.NinjaJettyHelper
- render() - Static method in class views.FooterHtml
- render() - Static method in class views.HeaderHtml
- render(String) - Static method in class views.LandingPage
- render(String, String) - Static method in class views.LinkTag
- render(String, JuckulaCompositionTemplate) - Method in class views.LayoutHtml
- render(List<Guestbook>) - Static method in class views.GuestbookPage
- Request - Class in org.ninjax.core
- Request(Router.Route, String, Request.InputStreamGetter, Request.FileItemGetter, Request.FileItemsGetter, List<NinjaCookie>, Map<String, Object>, Map<String, List<String>>, Map<String, String[]>, Optional<NinjaSession>, Locale) - Constructor for class org.ninjax.core.Request
- Request.FileItemGetter - Interface in org.ninjax.core
- Request.FileItemsGetter - Interface in org.ninjax.core
- Request.InputStreamGetter - Interface in org.ninjax.core
- Result - Class in org.ninjax.core
- Result() - Constructor for class org.ninjax.core.Result
- Result.Exists - Class in org.ninjax.core
- Result.NinjaSessionState - Interface in org.ninjax.core
-
/////////////////////////////////////////////////////////////////////////
- Result.OutputStreamRenderer - Interface in org.ninjax.core
- Result.Remove - Class in org.ninjax.core
- Result.UnknownButDontTouch - Class in org.ninjax.core
- route() - Method in class org.ninjax.core.Request
- Route(String, String, Router.ControllerMethod, List<NinjaFilter>) - Constructor for class org.ninjax.core.Router.Route
- routeFinder - Variable in class org.ninjax.core.NinjaJetty
- RouteFinder - Class in org.ninjax.core
- RouteFinder(Router) - Constructor for class org.ninjax.core.RouteFinder
- RouteParameter - Class in org.ninjax.core
-
Parameter in a Route.
- RouteParameter(int, String, String, String) - Constructor for class org.ninjax.core.RouteParameter
- router - Variable in class conf.Assembly
- router - Variable in class org.ninjax.core.RouteFinder
- Router - Class in org.ninjax.core
- Router() - Constructor for class org.ninjax.core.Router
- Router.ControllerMethod - Interface in org.ninjax.core
- Router.Route - Class in org.ninjax.core
- Router.RouteTmp - Class in org.ninjax.core
- routes - Variable in class conf.Assembly
- Routes - Class in conf
- Routes(Router, BasicController, GuestbookController, AssetsController, MyCustomFilter) - Constructor for class conf.Routes
- RouteTmp(String, String) - Constructor for class org.ninjax.core.Router.RouteTmp
S
- saveSession(NinjaSession, SecretKey, Optional<Long>) - Static method in class org.ninjax.core.NinjaJetty.NinjaJettyHelper
- SC_101_SWITCHING_PROTOCOLS - Static variable in class org.ninjax.core.Result
- SC_200_OK - Static variable in class org.ninjax.core.Result
- SC_201_CREATED - Static variable in class org.ninjax.core.Result
- SC_204_NO_CONTENT - Static variable in class org.ninjax.core.Result
- SC_300_MULTIPLE_CHOICES - Static variable in class org.ninjax.core.Result
- SC_301_MOVED_PERMANENTLY - Static variable in class org.ninjax.core.Result
- SC_302_FOUND - Static variable in class org.ninjax.core.Result
- SC_303_SEE_OTHER - Static variable in class org.ninjax.core.Result
- SC_304_NOT_MODIFIED - Static variable in class org.ninjax.core.Result
- SC_307_TEMPORARY_REDIRECT - Static variable in class org.ninjax.core.Result
- SC_400_BAD_REQUEST - Static variable in class org.ninjax.core.Result
- SC_401_UNAUTHORIZED - Static variable in class org.ninjax.core.Result
- SC_403_FORBIDDEN - Static variable in class org.ninjax.core.Result
- SC_404_NOT_FOUND - Static variable in class org.ninjax.core.Result
- SC_500_INTERNAL_SERVER_ERROR - Static variable in class org.ninjax.core.Result
- SC_501_NOT_IMPLEMENTED - Static variable in class org.ninjax.core.Result
- secure() - Method in record class org.ninjax.core.NinjaCookie
-
Returns the value of the
securerecord component. - serveStatic(Request) - Method in class org.ninjax.core.AssetsController
- services - package services
- sessionTest(Request) - Method in class controller.BasicController
- setHeadersOnResponse(HttpServletResponse, Map<String, List<String>>) - Static method in class org.ninjax.core.NinjaJetty.NinjaJettyHelper
- size() - Method in record class org.ninjax.core.FileItem
-
Returns the value of the
sizerecord component. - start() - Method in class org.ninjax.core.NinjaJetty
- status(int) - Method in class org.ninjax.core.Result
- stream(Result.OutputStreamRenderer) - Method in class org.ninjax.core.Result
- streamTo(OutputStream) - Method in interface org.ninjax.core.Result.OutputStreamRenderer
T
- text(String) - Method in class org.ninjax.core.Result
- TEXT_HTML - Static variable in class org.ninjax.core.Result
- TEXT_PLAIN - Static variable in class org.ninjax.core.Result
- toString() - Method in record class controller.BasicController.Person
-
Returns a string representation of this record class.
- toString() - Method in class org.juckula.JuckulaCompositionTemplate
- toString() - Method in record class org.ninjax.core.FileItem
-
Returns a string representation of this record class.
- toString() - Method in record class org.ninjax.core.NinjaCookie
-
Returns a string representation of this record class.
- toString() - Method in record class org.ninjax.core.NinjaSession
-
Returns a string representation of this record class.
U
- UnknownButDontTouch() - Constructor for class org.ninjax.core.Result.UnknownButDontTouch
V
- value() - Method in record class org.ninjax.core.NinjaCookie
-
Returns the value of the
valuerecord component. - views - package views
W
- with(Router.ControllerMethod) - Method in class org.ninjax.core.Router.RouteTmp
- withNinjaSession(NinjaSession) - Method in class org.ninjax.core.Result
- withValue(String, String) - Method in record class org.ninjax.core.NinjaSession
- writeOut(OutputStream) - Method in class org.juckula.JuckulaCompositionTemplate
- WWW_AUTHENTICATE - Static variable in class org.ninjax.core.Result
All Classes and Interfaces|All Packages|Constant Field Values