- send(diego.utils.httpclient.HttpClientRequest) - Method in HttpClient
-
Send the request to the server.
- send() - Method in HttpServerResponse
-
Send a response back to the client.
- send() - Method in HttpServerResponseImpl
-
- sendFile(java.lang.String, java.lang.String) - Method in HttpServerResponse
-
Send a file back to the client.
- sendFile(java.lang.String, java.lang.String) - Method in HttpServerResponseImpl
-
- sendJson(java.lang.Object) - Method in HttpServerResponse
-
Send a JSON response to the client.
- sendJson(java.lang.Object) - Method in HttpServerResponseImpl
-
- serve(java.lang.String) - Method in Application
-
Serve a directory using smart defaults depending on the application environment.
- Service - Class in diego.db
- Authors:
- Kevin Sheppard
Date: July 07, 2023
- Service() - Constructor in Service
-
- SessionFactoryProvider - Class in diego.db
A provider for a Hibernate SessionFactory.
- SessionFactoryProvider(java.lang.String, java.lang.String, java.lang.String, Class<?>) - Constructor in SessionFactoryProvider
-
A constructor used mainly for testing.
- SessionManager - Class in diego.db
Created so that we can have more granular control over when the database session closes.
- SessionManager(org.hibernate.SessionFactory) - Constructor in SessionManager
-
- sessionManager - Property in SessionStore
-
- SessionManagerInterceptor - Class in diego.db
Closes the active Session after every response has been sent.
- SessionManagerInterceptor(diego.db.SessionManager) - Constructor in SessionManagerInterceptor
-
- SessionStore - Trait in diego.db
A Trait that houses common functionality for all classes that work with a SessionManager.
- setBody(java.lang.String, java.lang.String) - Method in HttpClientRequest
-
Set a String as the request body and specify its content type using a String.
- setCachingEnabled(java.lang.Boolean) - Method in StaticHandlerOptions
-
- setContentType(java.lang.String) - Method in HttpServerResponse
-
Set the Content-Type header of the response.
- setContentType(java.lang.String) - Method in HttpServerResponseImpl
-
- setCookie(java.lang.String, java.lang.String) - Method in HttpClientRequest
-
Set a request cookie.
- setCookie(diego.web.Cookie) - Method in HttpServerResponse
-
Create a cookie.
- setCookie(diego.web.Cookie) - Method in HttpServerResponseImpl
-
- setDomain(java.lang.String) - Method in Cookie
-
- Parameters:
domain
- The domain for this cookie
- setDomain(java.lang.String) - Method in CookieImpl
-
- setEnableDirectoryListing(java.lang.Boolean) - Method in StaticHandlerOptions
-
- setFirstRow(int) - Method in CollectionQuery
-
Pagination method to set the first record to return
- setFirstRow(int) - Method in CollectionQueryImpl
-
- setFirstRow(int) - Method in SqlQuery
-
- setFirstRow(int) - Method in SqlQueryImpl
-
- setHeader(java.lang.String, java.lang.String) - Method in HttpClientRequest
-
Add a header to the request.
- setHeader(java.lang.String, java.lang.String) - Method in HttpServerResponse
-
- setHeader(java.lang.String, java.lang.String) - Method in HttpServerResponseImpl
-
- setMaxAge(long) - Method in Cookie
-
Sets how long the cookie should persist.
- setMaxAge(long) - Method in CookieImpl
-
- setMaxAge(java.lang.String) - Method in StaticHandlerOptions
-
Set the Max-Age header value using a duration expression in the form
- setMaxCacheSize(int) - Method in StaticHandlerOptions
-
- setMaxRows(int) - Method in CollectionQuery
-
Pagination method to set the limit the amount of rows to return
- setMaxRows(int) - Method in CollectionQueryImpl
-
- setMaxRows(int) - Method in SqlQuery
-
- setMaxRows(int) - Method in SqlQueryImpl
-
- setMethod(diego.utils.httpclient.HttpMethod) - Method in HttpClientRequest
-
Set the HTTP method for the request.
- setParam(java.lang.String, java.lang.String) - Method in HttpClientRequest
-
Set a URL parameter.
- setParams(io.vertx.core.MultiMap) - Method in RequestModelImplementation
-
- setPath(java.lang.String) - Method in Cookie
-
- Parameters:
path
- The server path this cookie applies to.
- setPath(java.lang.String) - Method in CookieImpl
-
- setPath(java.lang.String) - Method in HttpClientRequest
-
Set the path for the request.
- setSessionManager(diego.db.SessionManager) - Method in SessionStore
-
- setStatusCode(int) - Method in HttpServerResponse
-
Set the status code of the response.
- setStatusCode(int) - Method in HttpServerResponseImpl
-
- setStatusMessage(java.lang.String) - Method in HttpServerResponse
-
- setStatusMessage(java.lang.String) - Method in HttpServerResponseImpl
-
- Settings - Class in diego.init
Typed representation of application settings stored in *.conf files.
- Settings.Env - Class in diego.init
Utility class for reading the "app.env" config property.
- SnakeCaseNamingStrategy - Class in diego.db
A naming strategy to convert camelCase columns and tables to snake_case.
- sql - Property in DatabaseLogger
-
- SqlQuery - Interface in diego.db
An abstraction for 99% of the database operations I've done over the years.
- SqlQueryImpl - Class in diego.db
- SqlQueryImpl(org.hibernate.Session, java.lang.String) - Constructor in SqlQueryImpl
-
- SqlScriptRunner - Class in diego.utils.test
- Authors:
- Kevin Sheppard
Date: Aug 16, 2022
- SqlScriptRunner(java.lang.String, java.lang.String, java.lang.String) - Constructor in SqlScriptRunner
-
- start(java.lang.Runnable) - Method in Diego
-
Extracted this out so that Diego.run and CLILauncher.main can perform different
bootstrapping processes.
- startClock() - Method in Timer
-
Mark the current time.
- StaticHandlerOptions - Class in diego.web
Author: Kevin Sheppard
Date: April 01, 2023
- StaticHandlerOptions() - Constructor in StaticHandlerOptions
-
- stopClock() - Method in Timer
-
Mark the current time and print how much time has elapsed since starting the clock.
- strToPattern(java.lang.String) - Method in MimeTypeValidator
-
Converts an Ant expression to a Regex pattern.