A B D E G H I J N O P R S T U V 
All Classes All Packages

A

addHealthCheck(String, TinyHealth.HealthCheck) - Method in class net.morimekta.tiny.server.TinyApplicationContext
Add health check to active checks.
addHttpHandler(String, HttpHandler) - Method in class net.morimekta.tiny.server.TinyApplicationContext.Builder
Add a custom HTTP handler to the admin server.
addReadyCheck(String, TinyHealth.ReadyCheck) - Method in class net.morimekta.tiny.server.TinyApplicationContext
Add ready check to active checks.
afterStop(TinyApplicationContext) - Method in class net.morimekta.tiny.server.TinyApplication
This method is called after the HTTP service has been stopped, but before the application exits.

B

beforeStop(TinyApplicationContext) - Method in class net.morimekta.tiny.server.TinyApplication
This method is called immediately when the service should start shutting down.
Builder(TinyApplication) - Constructor for class net.morimekta.tiny.server.TinyApplicationContext.Builder
 

D

doDelete(HttpExchange) - Method in class net.morimekta.tiny.server.http.TinyHttpHandler
Handle a DELETE request.
doGet(HttpExchange) - Method in class net.morimekta.tiny.server.http.TinyHealthHttpHandler
 
doGet(HttpExchange) - Method in class net.morimekta.tiny.server.http.TinyHttpHandler
Handle a GET request.
doGet(HttpExchange) - Method in class net.morimekta.tiny.server.http.TinyReadyHttpHandler
 
doHead(HttpExchange) - Method in class net.morimekta.tiny.server.http.TinyHttpHandler
Handle a HEAD request.
doLayout(ILoggingEvent) - Method in class net.morimekta.tiny.server.logback.JsonLayout
 
doOptions(HttpExchange) - Method in class net.morimekta.tiny.server.http.TinyHttpHandler
Handle an OPTIONS request.
doPost(HttpExchange) - Method in class net.morimekta.tiny.server.http.TinyHttpHandler
Handle a POST request.
doPut(HttpExchange) - Method in class net.morimekta.tiny.server.http.TinyHttpHandler
Handle a PUT request.
doTrace(HttpExchange) - Method in class net.morimekta.tiny.server.http.TinyHttpHandler
Handle a TRACE request.

E

equals(Object) - Method in class net.morimekta.tiny.server.http.TinyHealth.Result
 
ERROR - net.morimekta.tiny.server.http.TinyHealth.Status
Error getting status.

G

getAdminPort() - Method in class net.morimekta.tiny.server.TinyApplicationContext
Get the port the Admin HTTP server is listening to.
getApplicationDescription() - Method in class net.morimekta.tiny.server.TinyApplication
 
getApplicationName() - Method in class net.morimekta.tiny.server.TinyApplication
 
getApplicationVersion() - Method in class net.morimekta.tiny.server.TinyApplication
 
getContentType() - Method in class net.morimekta.tiny.server.logback.JsonLayout
 
getMessage() - Method in class net.morimekta.tiny.server.http.TinyHealth.Result
 
getStatus() - Method in class net.morimekta.tiny.server.http.TinyHealth.Result
 

H

handle(HttpExchange) - Method in class net.morimekta.tiny.server.http.TinyHttpHandler
 
hashCode() - Method in class net.morimekta.tiny.server.http.TinyHealth.Result
 
healthCheck() - Method in interface net.morimekta.tiny.server.http.TinyHealth.HealthCheck
 

I

initialize(ArgParser.Builder, TinyApplicationContext.Builder) - Method in class net.morimekta.tiny.server.TinyApplication
This method is called during the initialization phase of setting up the tiny server.

J

JsonLayout - Class in net.morimekta.tiny.server.logback
JsonLayout for formatting logging messages to take use of stackdriver etc.
JsonLayout() - Constructor for class net.morimekta.tiny.server.logback.JsonLayout
 

N

net.morimekta.tiny.server - module net.morimekta.tiny.server
 
net.morimekta.tiny.server - package net.morimekta.tiny.server
 
net.morimekta.tiny.server.http - package net.morimekta.tiny.server.http
 
net.morimekta.tiny.server.logback - package net.morimekta.tiny.server.logback
 

O

ok(String) - Static method in class net.morimekta.tiny.server.http.TinyHealth
 
OK - net.morimekta.tiny.server.http.TinyHealth.Status
Service is OK.
onStart(TinyApplicationContext) - Method in class net.morimekta.tiny.server.TinyApplication
This method is called after the HTTP server is started, but before the service is considered "ready".

P

parseQuery(String) - Static method in class net.morimekta.tiny.server.http.TinyHttpUtil
Very simple URL query parser.

R

readyCheck() - Method in interface net.morimekta.tiny.server.http.TinyHealth.ReadyCheck
 
removeHealthCheck(String) - Method in class net.morimekta.tiny.server.TinyApplicationContext
Remove health check with given name.
removeReadyCheck(String) - Method in class net.morimekta.tiny.server.TinyApplicationContext
Remove ready check with given name.
Result(TinyHealth.Status, String) - Constructor for class net.morimekta.tiny.server.http.TinyHealth.Result
 

S

SC_ACCEPTED - Static variable in class net.morimekta.tiny.server.http.TinyHttpStatus
 
SC_CREATED - Static variable in class net.morimekta.tiny.server.http.TinyHttpStatus
 
SC_FORBIDDEN - Static variable in class net.morimekta.tiny.server.http.TinyHttpStatus
 
SC_INTERNAL - Static variable in class net.morimekta.tiny.server.http.TinyHttpStatus
 
SC_INVALID_REQUEST - Static variable in class net.morimekta.tiny.server.http.TinyHttpStatus
 
SC_METHOD_NOT_ALLOWED - Static variable in class net.morimekta.tiny.server.http.TinyHttpStatus
 
SC_NO_CONTENT - Static variable in class net.morimekta.tiny.server.http.TinyHttpStatus
 
SC_NOT_FOUND - Static variable in class net.morimekta.tiny.server.http.TinyHttpStatus
 
SC_NOT_IMPLEMENTED - Static variable in class net.morimekta.tiny.server.http.TinyHttpStatus
 
SC_OK - Static variable in class net.morimekta.tiny.server.http.TinyHttpStatus
 
SC_REQUEST_TIMEOUT - Static variable in class net.morimekta.tiny.server.http.TinyHttpStatus
 
SC_UNAUTHORIZED - Static variable in class net.morimekta.tiny.server.http.TinyHttpStatus
 
SC_UNSUPPORTED_MEDIA_TYPE - Static variable in class net.morimekta.tiny.server.http.TinyHttpStatus
 
setDrainPath(String) - Method in class net.morimekta.tiny.server.TinyApplicationContext.Builder
 
setHealthyPath(String) - Method in class net.morimekta.tiny.server.TinyApplicationContext.Builder
 
setReadyPath(String) - Method in class net.morimekta.tiny.server.TinyApplicationContext.Builder
 
setStackTraceFilter(String) - Method in class net.morimekta.tiny.server.logback.JsonLayout
 
setStackTraceFormat(String) - Method in class net.morimekta.tiny.server.logback.JsonLayout
 
setStackTraceIncludeShort(String) - Method in class net.morimekta.tiny.server.logback.JsonLayout
 
setUpUncaughtExceptionHandler() - Method in class net.morimekta.tiny.server.TinyApplication
Override this method if you want to have a special uncaught exception handler, or if you need to keep some other default uncaught exception handler.
setZoneId(String) - Method in class net.morimekta.tiny.server.logback.JsonLayout
 
start(TinyApplication, String...) - Static method in class net.morimekta.tiny.server.TinyApplication
Start the server.
stop() - Method in class net.morimekta.tiny.server.TinyApplication
Stop the server and trigger the internal stop mechanisms.

T

TinyApplication - Class in net.morimekta.tiny.server
Tiny microservice application base class.
TinyApplication(String) - Constructor for class net.morimekta.tiny.server.TinyApplication
 
TinyApplicationContext - Class in net.morimekta.tiny.server
 
TinyApplicationContext.Builder - Class in net.morimekta.tiny.server
 
TinyHealth - Class in net.morimekta.tiny.server.http
Handle health and readiness for Tiny Server.
TinyHealth.HealthCheck - Interface in net.morimekta.tiny.server.http
Interface for checking the healthiness of a service.
TinyHealth.ReadyCheck - Interface in net.morimekta.tiny.server.http
Interface for checking the readiness of a service.
TinyHealth.Result - Class in net.morimekta.tiny.server.http
The healthiness result.
TinyHealth.Status - Enum in net.morimekta.tiny.server.http
The actual healthiness status.
TinyHealthHttpHandler - Class in net.morimekta.tiny.server.http
Simple HTTP handler for getting the healthiness of the entire tiny server.
TinyHealthHttpHandler(Map<String, TinyHealth.HealthCheck>) - Constructor for class net.morimekta.tiny.server.http.TinyHealthHttpHandler
 
TinyHttpHandler - Class in net.morimekta.tiny.server.http
Class simplifying the HttpHandler in a similar fashion to the jakarta HttpServlet class.
TinyHttpHandler() - Constructor for class net.morimekta.tiny.server.http.TinyHttpHandler
 
TinyHttpStatus - Class in net.morimekta.tiny.server.http
Set of common HTTP status codes.
TinyHttpUtil - Class in net.morimekta.tiny.server.http
 
TinyReadyHttpHandler - Class in net.morimekta.tiny.server.http
Simple HTTP handler for getting the readiness of the entire tiny server.
TinyReadyHttpHandler(Map<String, TinyHealth.ReadyCheck>) - Constructor for class net.morimekta.tiny.server.http.TinyReadyHttpHandler
 
toString() - Method in class net.morimekta.tiny.server.http.TinyHealth.Result
 

U

unhealthy(String) - Static method in class net.morimekta.tiny.server.http.TinyHealth
 
UNHEALTHY - net.morimekta.tiny.server.http.TinyHealth.Status
Service is unhealthy.

V

valueOf(String) - Static method in enum net.morimekta.tiny.server.http.TinyHealth.Status
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.morimekta.tiny.server.http.TinyHealth.Status
Returns an array containing the constants of this enum type, in the order they are declared.
A B D E G H I J N O P R S T U V 
All Classes All Packages