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

A

addHealthCheck(String, TinyHealth.HealthCheck) - Method in class net.morimekta.tiny.server.TinyApplicationContext
Add health check to active checks.
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
 

B

beforeStop(TinyApplicationContext) - Method in class net.morimekta.tiny.server.TinyApplication
 
Builder(TinyApplication) - Constructor for class net.morimekta.tiny.server.TinyApplicationContext.Builder
 

C

ConfigReader<ConfigType> - Class in net.morimekta.tiny.server.config
A helper class to load config files from disk and parse into the specified config type.
ConfigReader() - Constructor for class net.morimekta.tiny.server.config.ConfigReader
Protected constructor.
ConfigReader.YamlConfigReader<ConfigType> - Class in net.morimekta.tiny.server.config
Read config as YAML.
ConfigSupplier<ConfigType> - Class in net.morimekta.tiny.server.config
A wrapper around a config file to handle loading and parsing during application setup.
ConfigSupplier(ConfigReader<ConfigType>) - Constructor for class net.morimekta.tiny.server.config.ConfigSupplier
 

D

deserialize(JsonParser, DeserializationContext) - Method in class net.morimekta.tiny.server.secrets.Secret.SecretDeserializer
 
deserialize(JsonParser, DeserializationContext) - Method in class net.morimekta.tiny.server.secrets.SecretsManager.SecretManagerDeserializer
 
dir - Variable in class net.morimekta.tiny.server.secrets.SecretsManager.SecretsConfig
 
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.TinyPrometheusHttpHandler
 
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.
doOptions(HttpExchange) - Method in class net.morimekta.tiny.server.http.TinyHttpHandler
Handle an OPTIONS request.
doPatch(HttpExchange) - Method in class net.morimekta.tiny.server.http.TinyHttpHandler
Handle a PATCH 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.
exists(String) - Method in class net.morimekta.tiny.server.secrets.SecretsManager
 

G

get() - Method in class net.morimekta.tiny.server.config.ConfigSupplier
 
get(String) - Method in class net.morimekta.tiny.server.secrets.SecretsManager
 
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
 
getAsBinary() - Method in class net.morimekta.tiny.server.secrets.Secret
 
getAsBinary(String) - Method in class net.morimekta.tiny.server.secrets.SecretsManager
 
getAsBytes() - Method in class net.morimekta.tiny.server.secrets.Secret
 
getAsBytes(String) - Method in class net.morimekta.tiny.server.secrets.SecretsManager
 
getAsString() - Method in class net.morimekta.tiny.server.secrets.Secret
 
getAsString(String) - Method in class net.morimekta.tiny.server.secrets.SecretsManager
 
getMessage() - Method in class net.morimekta.tiny.server.http.TinyHealth.Result
 
getName() - Method in class net.morimekta.tiny.server.secrets.Secret
 
getSecretsPath() - Method in class net.morimekta.tiny.server.secrets.SecretsManager
 
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
 

L

load(Path) - Method in class net.morimekta.tiny.server.config.ConfigSupplier
 
loadUnchecked(Path) - Method in class net.morimekta.tiny.server.config.ConfigSupplier
 

N

net.morimekta.tiny.server - module net.morimekta.tiny.server
 
net.morimekta.tiny.server - package net.morimekta.tiny.server
 
net.morimekta.tiny.server.config - package net.morimekta.tiny.server.config
 
net.morimekta.tiny.server.http - package net.morimekta.tiny.server.http
 
net.morimekta.tiny.server.secrets - package net.morimekta.tiny.server.secrets
 

O

OK - net.morimekta.tiny.server.http.TinyHealth.Status
Service is OK.
onStart(TinyApplicationContext) - Method in class net.morimekta.tiny.server.TinyApplication
 

P

parseConfig(String, InputStream) - Method in class net.morimekta.tiny.server.config.ConfigReader
Parse config file into the designated type.
parseConfig(String, InputStream) - Method in class net.morimekta.tiny.server.config.ConfigReader.YamlConfigReader
 
parseQuery(String) - Static method in class net.morimekta.tiny.server.http.TinyHttpUtil
Very simple URL query parser.

R

readConfig(Path) - Method in class net.morimekta.tiny.server.config.ConfigReader
 
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
 
Secret - Class in net.morimekta.tiny.server.secrets
 
Secret(String, boolean, AtomicReference<Binary>) - Constructor for class net.morimekta.tiny.server.secrets.Secret
 
Secret.SecretDeserializer - Class in net.morimekta.tiny.server.secrets
 
SecretDeserializer() - Constructor for class net.morimekta.tiny.server.secrets.Secret.SecretDeserializer
 
SecretManagerDeserializer() - Constructor for class net.morimekta.tiny.server.secrets.SecretsManager.SecretManagerDeserializer
 
SecretsConfig() - Constructor for class net.morimekta.tiny.server.secrets.SecretsManager.SecretsConfig
 
SecretsManager - Class in net.morimekta.tiny.server.secrets
A class managing secrets as read from files in a single directory.
SecretsManager(Path) - Constructor for class net.morimekta.tiny.server.secrets.SecretsManager
 
SecretsManager.SecretManagerDeserializer - Class in net.morimekta.tiny.server.secrets
 
SecretsManager.SecretsConfig - Class in net.morimekta.tiny.server.secrets
 
setCollectorRegistry(CollectorRegistry) - Method in class net.morimekta.tiny.server.TinyApplicationContext.Builder
 
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
 
TinyPrometheusHttpHandler - Class in net.morimekta.tiny.server.http
Simple HTTP handler for getting prometheus metrics.
TinyPrometheusHttpHandler() - Constructor for class net.morimekta.tiny.server.http.TinyPrometheusHttpHandler
Instantiate handler with default registry.
TinyPrometheusHttpHandler(CollectorRegistry) - Constructor for class net.morimekta.tiny.server.http.TinyPrometheusHttpHandler
Instantiate handler with specified registry.
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
 
toConnect(HttpExchange) - Method in class net.morimekta.tiny.server.http.TinyHttpHandler
Handle a CONNECT request.
toString() - Method in class net.morimekta.tiny.server.http.TinyHealth.Result
 

U

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.

Y

yamlConfig(Class<ConfigType>) - Static method in class net.morimekta.tiny.server.config.ConfigSupplier
 
yamlConfig(Class<ConfigType>, Consumer<ObjectMapper>) - Static method in class net.morimekta.tiny.server.config.ConfigSupplier
 
YamlConfigReader(Class<ConfigType>, Consumer<ObjectMapper>) - Constructor for class net.morimekta.tiny.server.config.ConfigReader.YamlConfigReader
 
A B C D E G H I L N O P R S T U V Y 
All Classes All Packages