Index

A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

accept() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
accept(String...) - Method in class org.nanonative.nano.services.http.model.HttpObject
 
accept(ContentType...) - Method in class org.nanonative.nano.services.http.model.HttpObject
 
ACCEPT - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
ACCEPT_CHARSET - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
ACCEPT_ENCODING - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
ACCEPT_LANGUAGE - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
ACCEPT_RANGES - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
acceptEncoding() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
acceptEncodings() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
acceptLanguage() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
acceptLanguages() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
acceptLanguages(Locale...) - Method in class org.nanonative.nano.services.http.model.HttpObject
Sets the accepted languages based on a list where the order indicates priority.
accepts() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
ACCESS_CONTROL_ALLOW_CREDENTIALS - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
ACCESS_CONTROL_ALLOW_HEADERS - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
ACCESS_CONTROL_ALLOW_METHODS - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
ACCESS_CONTROL_ALLOW_ORIGIN - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
ACCESS_CONTROL_MAX_AGE - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
ACCESS_CONTROL_REQUEST_HEADERS - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
ACCESS_CONTROL_REQUEST_METHOD - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
acknowledge() - Method in class org.nanonative.nano.helper.event.model.Event
 
acknowledge(Runnable) - Method in class org.nanonative.nano.helper.event.model.Event
 
activeCarrierThreads() - Static method in class org.nanonative.nano.core.model.NanoThread
 
activeNanoThreadCount - Static variable in class org.nanonative.nano.core.model.NanoThread
 
activeNanoThreads() - Static method in class org.nanonative.nano.core.model.NanoThread
 
addConfig(Context, Object, Object) - Static method in class org.nanonative.nano.helper.NanoUtils
 
addJsonEntries(Map<String, String>, Object[]) - Method in class org.nanonative.nano.services.logging.LogFormatterJson
Adds additional key-value pairs to the map.
addMetricsEndpoint(Event) - Method in class org.nanonative.nano.services.metric.logic.MetricService
 
address() - Method in class org.nanonative.nano.services.http.HttpServer
 
address() - Method in class org.nanonative.nano.services.http.model.HttpObject
Retrieves the InetAddress from the HttpExchange.
AGE - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
ALL - Enum constant in enum class org.nanonative.nano.services.logging.model.LogLevel
 
ALLOW - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
APP_HELP - Static variable in class org.nanonative.nano.core.model.Context
 
APP_PARAMS - Static variable in class org.nanonative.nano.core.model.Context
 
APPLICATION_ATOM_XML - Enum constant in enum class org.nanonative.nano.services.http.model.ContentType
 
APPLICATION_FORM_URLENCODED - Enum constant in enum class org.nanonative.nano.services.http.model.ContentType
 
APPLICATION_JSON - Enum constant in enum class org.nanonative.nano.services.http.model.ContentType
 
APPLICATION_OCTET_STREAM - Enum constant in enum class org.nanonative.nano.services.http.model.ContentType
 
APPLICATION_PDF - Enum constant in enum class org.nanonative.nano.services.http.model.ContentType
 
APPLICATION_PROBLEM_JSON - Enum constant in enum class org.nanonative.nano.services.http.model.ContentType
 
APPLICATION_PROBLEM_XML - Enum constant in enum class org.nanonative.nano.services.http.model.ContentType
 
APPLICATION_SOAP_XML - Enum constant in enum class org.nanonative.nano.services.http.model.ContentType
 
APPLICATION_SVG_XML - Enum constant in enum class org.nanonative.nano.services.http.model.ContentType
 
APPLICATION_XHTML_XML - Enum constant in enum class org.nanonative.nano.services.http.model.ContentType
 
APPLICATION_XML - Enum constant in enum class org.nanonative.nano.services.http.model.ContentType
 
applyCustomFormat(String, Object...) - Static method in class org.nanonative.nano.services.logging.LogFormatterConsole
Replacing placeholders with parameters.
async() - Method in class org.nanonative.nano.helper.event.model.Event
 
async(boolean) - Method in class org.nanonative.nano.helper.event.model.Event
Sets the event to asynchronous mode, allowing the response to be handled by a listener.
async(Consumer<Object>) - Method in class org.nanonative.nano.helper.event.model.Event
Sets the event to asynchronous mode, allowing the response to be handled by a listener.
asyncEventOf(Context, int) - Static method in class org.nanonative.nano.helper.event.model.Event
 
asyncFromPool(Supplier<Context>) - Method in class org.nanonative.nano.core.NanoThreads
Creates a Scheduler from the thread pool.
AUDIO_MPEG - Enum constant in enum class org.nanonative.nano.services.http.model.ContentType
 
AUTHORIZATION - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
authToken() - Method in class org.nanonative.nano.services.http.model.HttpObject
Parses and returns any authentication token found in the HttpHeaders.AUTHORIZATION header.
authToken(int) - Method in class org.nanonative.nano.services.http.model.HttpObject
Parses and returns any authentication token found in the HttpHeaders.AUTHORIZATION header.
authTokens() - Method in class org.nanonative.nano.services.http.model.HttpObject
Parses and returns any authentication token found in the HttpHeaders.AUTHORIZATION header.
await() - Method in class org.nanonative.nano.core.model.NanoThread
 
await(Runnable) - Method in class org.nanonative.nano.core.model.NanoThread
 

B

body - Variable in class org.nanonative.nano.services.http.model.HttpObject
 
body() - Method in class org.nanonative.nano.services.http.model.HttpObject
Returns a string representation of the body, decoded using the Charset from HttpObject.encoding() specified in the HttpHeaders.CONTENT_TYPE header.
body(byte[]) - Method in class org.nanonative.nano.services.http.model.HttpObject
Sets the HttpObject.body() from a TypeInfo object.
body(String) - Method in class org.nanonative.nano.services.http.model.HttpObject
Sets the HttpObject.body() from a TypeInfo object, encoding it into bytes using the Charset from HttpObject.encoding().
body(Collection<?>) - Method in class org.nanonative.nano.services.http.model.HttpObject
Sets the HttpObject.body() from a Collection object, encoding it into JSON format using the Charset from HttpObject.encoding().
body(Map<?, ?>) - Method in class org.nanonative.nano.services.http.model.HttpObject
Sets the HttpObject.body() from a Map object, encoding it into JSON format using the Charset from HttpObject.encoding().
bodyAsJson() - Method in class org.nanonative.nano.services.http.model.HttpObject
Returns a string representation of the HttpObject.body(), decoded using the Charset from HttpObject.encoding() specified in the HttpHeaders.CONTENT_TYPE header.
bodyAsString() - Method in class org.nanonative.nano.services.http.model.HttpObject
Returns a string representation of the HttpObject.body(), decoded using the Charset from HttpObject.encoding() specified in the HttpHeaders.CONTENT_TYPE header.
bodyAsXml() - Method in class org.nanonative.nano.services.http.model.HttpObject
Returns a string representation of the HttpObject.body(), decoded using the Charset from HttpObject.encoding() specified in the HttpHeaders.CONTENT_TYPE header.
bodyPublisher() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
bodyT(TypeInfo<?>) - Method in class org.nanonative.nano.services.http.model.HttpObject
Sets the HttpObject.body() from a TypeInfo object, encoding it into JSON format using the Charset from HttpObject.encoding().
broadcast(boolean) - Method in class org.nanonative.nano.helper.event.model.Event
 
broadcastEvent(int, Supplier<Object>) - Method in class org.nanonative.nano.core.model.Context
Broadcasts an event of the specified type with the provided payload to all listeners within this context without expecting a response.
broadcastEvent(int, Supplier<Object>, Consumer<Object>) - Method in class org.nanonative.nano.core.model.Context
Broadcasts an event of the specified type with the provided payload to all listeners within this context, expecting a response that is handled by the provided responseListener.
broadcastEventR(int, Supplier<Object>) - Method in class org.nanonative.nano.core.model.Context
Broadcasts an event of the specified type with the provided payload to all listeners within this context without expecting a response.
broadcastEventR(int, Supplier<Object>, Consumer<Object>) - Method in class org.nanonative.nano.core.model.Context
Broadcasts an event of the specified type with the provided payload to all listeners within this context, expecting a response that is handled by the provided responseListener.

C

CACHE_CONTROL - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
callerInfo(Class<?>) - Static method in class org.nanonative.nano.helper.NanoUtils
 
callerInfoStr(Class<?>) - Static method in class org.nanonative.nano.helper.NanoUtils
 
channel() - Method in class org.nanonative.nano.helper.event.model.Event
Returns the event name based on the channel ID.
channelId - Variable in class org.nanonative.nano.helper.event.model.Event
 
channelId() - Method in class org.nanonative.nano.helper.event.model.Event
 
channelId(int) - Method in class org.nanonative.nano.helper.event.model.Event
Sets the channel ID of the event.
channelIdOrg() - Method in class org.nanonative.nano.helper.event.model.Event
 
circuitBreaker(int, HttpRequest, HttpObject, Consumer<HttpObject>, Throwable) - Method in class org.nanonative.nano.services.http.HttpClient
Implements a circuit breaker pattern to handle retries for HTTP requests in case of failures.
cleanUps(Event) - Method in class org.nanonative.nano.core.Nano
 
client - Variable in class org.nanonative.nano.services.http.HttpClient
 
client() - Method in class org.nanonative.nano.services.http.HttpClient
 
computedHeaders(boolean) - Method in class org.nanonative.nano.services.http.model.HttpObject
Constructs and returns a map of HTTP headers to be included in an HTTP response.
CONFIG_ENV_PROD - Static variable in class org.nanonative.nano.core.model.Context
 
CONFIG_HTTP_CLIENT_CON_TIMEOUT_MS - Static variable in class org.nanonative.nano.services.http.HttpClient
 
CONFIG_HTTP_CLIENT_FOLLOW_REDIRECTS - Static variable in class org.nanonative.nano.services.http.HttpClient
 
CONFIG_HTTP_CLIENT_MAX_RETRIES - Static variable in class org.nanonative.nano.services.http.HttpClient
 
CONFIG_HTTP_CLIENT_READ_TIMEOUT_MS - Static variable in class org.nanonative.nano.services.http.HttpClient
 
CONFIG_HTTP_CLIENT_VERSION - Static variable in class org.nanonative.nano.services.http.HttpClient
 
CONFIG_KEYS - Static variable in class org.nanonative.nano.core.NanoBase
 
CONFIG_LOG_EXCLUDE_PATTERNS - Static variable in class org.nanonative.nano.services.logging.LogService
 
CONFIG_LOG_FORMATTER - Static variable in class org.nanonative.nano.services.logging.LogService
 
CONFIG_LOG_LEVEL - Static variable in class org.nanonative.nano.services.logging.LogService
 
CONFIG_METRIC_SERVICE_BASE_PATH - Static variable in class org.nanonative.nano.services.metric.logic.MetricService
 
CONFIG_METRIC_SERVICE_DYNAMO_PATH - Static variable in class org.nanonative.nano.services.metric.logic.MetricService
 
CONFIG_METRIC_SERVICE_INFLUX_PATH - Static variable in class org.nanonative.nano.services.metric.logic.MetricService
 
CONFIG_METRIC_SERVICE_PROMETHEUS_PATH - Static variable in class org.nanonative.nano.services.metric.logic.MetricService
 
CONFIG_METRIC_SERVICE_WAVEFRONT_PATH - Static variable in class org.nanonative.nano.services.metric.logic.MetricService
 
CONFIG_OOM_SHUTDOWN_THRESHOLD - Static variable in class org.nanonative.nano.core.model.Context
 
CONFIG_PARALLEL_SHUTDOWN - Static variable in class org.nanonative.nano.core.model.Context
 
CONFIG_PROFILES - Static variable in class org.nanonative.nano.core.model.Context
 
CONFIG_SERVICE_HTTP_CLIENT - Static variable in class org.nanonative.nano.services.http.HttpServer
 
CONFIG_SERVICE_HTTP_PORT - Static variable in class org.nanonative.nano.services.http.HttpServer
 
CONFIG_THREAD_POOL_TIMEOUT_MS - Static variable in class org.nanonative.nano.core.model.Context
 
configDescriptionOf(String) - Static method in class org.nanonative.nano.helper.config.ConfigRegister
Retrieves the description of a registered configuration key.
ConfigRegister - Class in org.nanonative.nano.helper.config
Utility class for registering and retrieving configuration descriptions.
configure(TypeMapI<?>) - Method in class org.nanonative.nano.core.model.Service
 
configure(TypeMapI<?>, TypeMapI<?>) - Method in class org.nanonative.nano.core.model.Service
 
configure(TypeMapI<?>, TypeMapI<?>) - Method in class org.nanonative.nano.services.http.HttpClient
 
configure(TypeMapI<?>, TypeMapI<?>) - Method in class org.nanonative.nano.services.http.HttpServer
 
configure(TypeMapI<?>, TypeMapI<?>) - Method in class org.nanonative.nano.services.logging.LogService
 
configure(TypeMapI<?>, TypeMapI<?>) - Method in class org.nanonative.nano.services.metric.logic.MetricService
 
CONNECTION - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
connectionTimeoutMs() - Method in class org.nanonative.nano.services.http.HttpClient
Returns the connection timeout in milliseconds configured for this HttpClient.
containsHeader(String) - Method in class org.nanonative.nano.services.http.model.HttpObject
Checks if a specified header exists in the HttpObject.
containsQueryParam(String) - Method in class org.nanonative.nano.services.http.model.HttpObject
Checks if a specific query parameter exists in the HttpObject.
CONTENT_ENCODING - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
CONTENT_LANGUAGE - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
CONTENT_LENGTH - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
CONTENT_LOCATION - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
CONTENT_MD5 - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
CONTENT_RANGE - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
CONTENT_TYPE - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
contentEncoding() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
contentEncodings() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
contentType() - Method in class org.nanonative.nano.services.http.model.HttpObject
Retrieves the first content types specified in the HttpHeaders.CONTENT_TYPE header.
contentType(String...) - Method in class org.nanonative.nano.services.http.model.HttpObject
Sets the HttpHeaders.CONTENT_TYPE header without specifying a Charset.
contentType(Charset, String...) - Method in class org.nanonative.nano.services.http.model.HttpObject
Sets the HttpHeaders.CONTENT_TYPE header with specifying a Charset.
contentType(Charset, ContentType...) - Method in class org.nanonative.nano.services.http.model.HttpObject
Sets the HttpHeaders.CONTENT_TYPE header with specifying a Charset.
contentType(ContentType...) - Method in class org.nanonative.nano.services.http.model.HttpObject
Sets the HttpHeaders.CONTENT_TYPE header without specifying a Charset.
ContentType - Enum Class in org.nanonative.nano.services.http.model
 
contentTypes() - Method in class org.nanonative.nano.services.http.model.HttpObject
Retrieves a list of all content types specified in the HttpHeaders.CONTENT_TYPE header.
context - Variable in class org.nanonative.nano.core.model.Service
 
context - Variable in class org.nanonative.nano.core.NanoBase
 
context - Variable in class org.nanonative.nano.helper.event.model.Event
 
context() - Method in class org.nanonative.nano.core.model.Service
 
context() - Method in record class org.nanonative.nano.core.model.Unhandled
Returns the value of the context record component.
context() - Method in class org.nanonative.nano.core.Nano
Returns the root Context.
context() - Method in class org.nanonative.nano.helper.event.model.Event
 
context(Class<?>) - Method in class org.nanonative.nano.core.Nano
Creates a Context specified class.
context(Context) - Method in class org.nanonative.nano.core.model.Service
 
Context - Class in org.nanonative.nano.core.model
 
Context(Class<?>) - Constructor for class org.nanonative.nano.core.model.Context
 
Context(Context, Class<?>) - Constructor for class org.nanonative.nano.core.model.Context
 
Context(Context, Class<?>, boolean) - Constructor for class org.nanonative.nano.core.model.Context
 
CONTEXT_CLASS_KEY - Static variable in class org.nanonative.nano.core.model.Context
 
CONTEXT_LOG_QUEUE_KEY - Static variable in class org.nanonative.nano.core.model.Context
 
CONTEXT_NANO_KEY - Static variable in class org.nanonative.nano.core.model.Context
 
CONTEXT_PARENT_KEY - Static variable in class org.nanonative.nano.core.model.Context
 
CONTEXT_TRACE_ID_KEY - Static variable in class org.nanonative.nano.core.model.Context
 
contextEmpty(Class<?>) - Method in class org.nanonative.nano.core.Nano
Creates an empty Context for the specified class.
convertHeaders(Map<String, ?>) - Static method in class org.nanonative.nano.services.http.model.HttpObject
Converts a map of simple header values to a TypeMap of headers.
corsResponse() - Method in class org.nanonative.nano.services.http.model.HttpObject
Creates and returns a new instance of HttpObject.
corsResponse(String) - Method in class org.nanonative.nano.services.http.model.HttpObject
Creates and returns a new instance of HttpObject with CORS handling.
corsResponse(String, String) - Method in class org.nanonative.nano.services.http.model.HttpObject
Creates and returns a new instance of HttpObject with CORS handling.
corsResponse(String, String, String) - Method in class org.nanonative.nano.services.http.model.HttpObject
Creates and returns a new instance of HttpObject with CORS handling.
corsResponse(String, String, String, int) - Method in class org.nanonative.nano.services.http.model.HttpObject
Creates and returns a new instance of HttpObject with CORS handling.
corsResponse(String, String, String, int, boolean) - Method in class org.nanonative.nano.services.http.model.HttpObject
Creates and returns a new instance of HttpObject with CORS handling.
counter(String) - Method in class org.nanonative.nano.services.metric.model.MetricCache
 
counter(String, Map<String, String>) - Method in class org.nanonative.nano.services.metric.model.MetricCache
 
COUNTER - Enum constant in enum class org.nanonative.nano.services.metric.model.MetricType
 
counterIncrement(String) - Method in class org.nanonative.nano.services.metric.model.MetricCache
 
counterIncrement(String, Map<String, String>) - Method in class org.nanonative.nano.services.metric.model.MetricCache
 
counters() - Method in class org.nanonative.nano.services.metric.model.MetricCache
 
createdAtMs - Variable in class org.nanonative.nano.core.model.Service
 
createdAtMs - Variable in class org.nanonative.nano.core.NanoBase
 
createdAtMs() - Method in class org.nanonative.nano.core.model.Service
 
createdAtMs() - Method in class org.nanonative.nano.core.NanoBase
Retrieves the creation timestamp of the instance.
createRootContext(Class<?>) - Static method in class org.nanonative.nano.core.model.Context
Creates a new root context with a unique trace ID.

D

DATE - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
dateFormat - Variable in class org.nanonative.nano.services.logging.LogFormatterConsole
 
dateFormat - Variable in class org.nanonative.nano.services.logging.LogFormatterJson
 
DAV - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
debug(Throwable, Supplier<String>, Object...) - Method in class org.nanonative.nano.core.model.Context
Logs a message with the specified log level.
debug(Supplier<String>, Object...) - Method in class org.nanonative.nano.core.model.Context
Logs a message with the specified log level.
DEBUG - Enum constant in enum class org.nanonative.nano.services.logging.model.LogLevel
 
decodeDeflate(byte[]) - Static method in class org.nanonative.nano.helper.NanoUtils
 
decodeGzip(byte[]) - Static method in class org.nanonative.nano.helper.NanoUtils
 
decodeZip(byte[]) - Static method in class org.nanonative.nano.helper.NanoUtils
 
DELETE - Enum constant in enum class org.nanonative.nano.services.http.model.HttpMethod
 
DEPTH - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
DESTINATION - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
displayHelpMenu() - Method in class org.nanonative.nano.core.NanoBase
Displays a help menu with available configuration keys and their descriptions and exits.
dynamoPath - Variable in class org.nanonative.nano.services.metric.logic.MetricService
 
dynamoPath() - Method in class org.nanonative.nano.services.metric.logic.MetricService
 
dynatrace() - Method in class org.nanonative.nano.services.metric.model.MetricCache
 

E

encodeBody(byte[], String) - Method in class org.nanonative.nano.services.http.HttpServer
 
encodeDeflate(byte[]) - Static method in class org.nanonative.nano.helper.NanoUtils
 
encodeGzip(byte[]) - Static method in class org.nanonative.nano.helper.NanoUtils
 
encoding() - Method in class org.nanonative.nano.services.http.model.HttpObject
Retrieves the character set encoding from the HttpHeaders.CONTENT_TYPE header.
equals(Object) - Method in record class org.nanonative.nano.core.model.Unhandled
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class org.nanonative.nano.helper.event.model.Event
 
equals(Object) - Method in record class org.nanonative.nano.services.metric.model.MetricCache.Metric
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.nanonative.nano.services.metric.model.MetricUpdate
Indicates whether some other object is "equal to" this one.
error - Variable in class org.nanonative.nano.helper.event.model.Event
 
error() - Method in class org.nanonative.nano.helper.event.model.Event
 
error(Throwable) - Method in class org.nanonative.nano.helper.event.model.Event
 
error(Throwable, Supplier<String>, Object...) - Method in class org.nanonative.nano.core.model.Context
Logs a message with the specified log level.
error(Supplier<String>, Object...) - Method in class org.nanonative.nano.core.model.Context
Logs a message with the specified log level.
ERROR - Enum constant in enum class org.nanonative.nano.services.logging.model.LogLevel
 
estimateMetricCacheSize() - Method in class org.nanonative.nano.services.metric.logic.MetricService
 
ETAG - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
Event - Class in org.nanonative.nano.helper.event.model
 
Event(Context) - Constructor for class org.nanonative.nano.helper.event.model.Event
Constructs an instance of the Event class with specified type, context, payload, and response listener.
EVENT_APP_ERROR - Static variable in class org.nanonative.nano.core.model.Context
 
EVENT_APP_HEARTBEAT - Static variable in class org.nanonative.nano.core.model.Context
 
EVENT_APP_OOM - Static variable in class org.nanonative.nano.core.model.Context
 
EVENT_APP_SCHEDULER_REGISTER - Static variable in class org.nanonative.nano.core.model.Context
 
EVENT_APP_SCHEDULER_UNREGISTER - Static variable in class org.nanonative.nano.core.model.Context
 
EVENT_APP_SERVICE_REGISTER - Static variable in class org.nanonative.nano.core.model.Context
 
EVENT_APP_SERVICE_UNREGISTER - Static variable in class org.nanonative.nano.core.model.Context
 
EVENT_APP_SHUTDOWN - Static variable in class org.nanonative.nano.core.model.Context
 
EVENT_APP_START - Static variable in class org.nanonative.nano.core.model.Context
 
EVENT_APP_UNHANDLED - Static variable in class org.nanonative.nano.core.model.Context
 
EVENT_CONFIG_CHANGE - Static variable in class org.nanonative.nano.core.model.Context
 
EVENT_HTTP_REQUEST - Static variable in class org.nanonative.nano.services.http.HttpServer
 
EVENT_HTTP_REQUEST_UNHANDLED - Static variable in class org.nanonative.nano.services.http.HttpServer
 
EVENT_ID_COUNTER - Static variable in class org.nanonative.nano.core.NanoBase
 
EVENT_LOGGING - Static variable in class org.nanonative.nano.services.logging.LogService
 
EVENT_METRIC_UPDATE - Static variable in class org.nanonative.nano.services.metric.logic.MetricService
 
EVENT_ORIGINAL_CHANNEL_ID - Static variable in class org.nanonative.nano.helper.event.model.Event
 
EVENT_SEND_HTTP - Static variable in class org.nanonative.nano.services.http.HttpClient
 
EVENT_TYPES - Static variable in class org.nanonative.nano.core.NanoBase
 
EventChannelRegister - Class in org.nanonative.nano.helper.event
 
eventCount - Variable in class org.nanonative.nano.core.NanoBase
 
eventCount() - Method in class org.nanonative.nano.core.NanoBase
 
eventIdOf(String) - Static method in class org.nanonative.nano.helper.event.EventChannelRegister
Attempts to find the ID of an event type based on its name.
eventNameOf(int) - Static method in class org.nanonative.nano.helper.event.EventChannelRegister
Retrieves the name of an event type given its ID.
eventOf(Context, int) - Static method in class org.nanonative.nano.helper.event.model.Event
 
exception() - Method in record class org.nanonative.nano.core.model.Unhandled
Returns the value of the exception record component.
exchange - Variable in class org.nanonative.nano.services.http.model.HttpObject
 
exchange() - Method in class org.nanonative.nano.services.http.model.HttpObject
Returns the associated HttpExchange for this HttpObject.
excludePatterns - Variable in class org.nanonative.nano.services.logging.LogService
 
executeScheduler(Supplier<Context>, ExRunnable, Scheduler, boolean) - Method in class org.nanonative.nano.core.NanoThreads
 
exit(Context, int) - Method in class org.nanonative.nano.core.Nano
 
EXPECT - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
expectContinue() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
EXPIRES - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
ExRunnable - Interface in org.nanonative.nano.helper
 
extractKeyValuesFromMessage(Map<String, String>, String, Object[]) - Method in class org.nanonative.nano.services.logging.LogFormatterJson
Extracts key-value pairs from the message and stores them in a map.

F

failure() - Method in class org.nanonative.nano.services.http.model.HttpObject
Retrieves the failure exception from the HTTP headers, if present.
failure(int, Throwable) - Method in class org.nanonative.nano.services.http.model.HttpObject
Stores a failure exception within the HTTP headers.
fatal(Throwable, Supplier<String>, Object...) - Method in class org.nanonative.nano.core.model.Context
Logs a message with the specified log level.
fatal(Supplier<String>, Object...) - Method in class org.nanonative.nano.core.model.Context
Logs a message with the specified log level.
FATAL - Enum constant in enum class org.nanonative.nano.services.logging.model.LogLevel
 
filter(Predicate<Event>) - Method in class org.nanonative.nano.helper.event.model.Event
 
followRedirects() - Method in class org.nanonative.nano.services.http.HttpClient
Returns whether this HttpClient follows redirects.
format(LogRecord) - Method in class org.nanonative.nano.services.logging.LogFormatterConsole
Format a LogRecord into a string representation.
format(LogRecord) - Method in class org.nanonative.nano.services.logging.LogFormatterJson
Formats a log record into a JSON string.
formatDuration(long) - Static method in class org.nanonative.nano.helper.NanoUtils
 
formatLoggerName(LogRecord) - Static method in class org.nanonative.nano.services.logging.LogFormatterConsole
 
formatter() - Method in class org.nanonative.nano.services.logging.LogService
 
formatter(Formatter) - Method in class org.nanonative.nano.services.logging.LogService
 
FROM - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
fromExchange(Function<HttpExchange, T>) - Method in class org.nanonative.nano.services.http.model.HttpObject
 
fromValue(String) - Static method in enum class org.nanonative.nano.services.http.model.ContentType
 

G

gauge(String) - Method in class org.nanonative.nano.services.metric.model.MetricCache
 
gauge(String, Map<String, String>) - Method in class org.nanonative.nano.services.metric.model.MetricCache
 
GAUGE - Enum constant in enum class org.nanonative.nano.services.metric.model.MetricType
 
gauges() - Method in class org.nanonative.nano.services.metric.model.MetricCache
 
gaugeSet(String, double) - Method in class org.nanonative.nano.services.metric.model.MetricCache
 
gaugeSet(String, double, Map<String, String>) - Method in class org.nanonative.nano.services.metric.model.MetricCache
 
generateNanoName(String) - Static method in class org.nanonative.nano.helper.NanoUtils
 
generateUniqueKey(String, Map<String, String>) - Method in class org.nanonative.nano.services.metric.model.MetricCache
 
get() - Method in class org.nanonative.nano.helper.LockedBoolean
Retrieves the current state with thread safety.
GET - Enum constant in enum class org.nanonative.nano.services.http.model.HttpMethod
 
getLogFormatter(String) - Static method in class org.nanonative.nano.services.logging.LogFormatRegister
 
getLogFormatter(String, Supplier<Formatter>) - Static method in class org.nanonative.nano.services.logging.LogFormatRegister
 
getThreadName(ExecutorService) - Static method in class org.nanonative.nano.helper.NanoUtils
 
GLOBAL_THREAD_POOL - Static variable in class org.nanonative.nano.core.model.NanoThread
 
gracefulShutdown(Context) - Method in class org.nanonative.nano.core.Nano
 
guessContentType(HttpObject, byte[]) - Static method in class org.nanonative.nano.services.http.model.HttpObject
 

H

handleJavaError(Supplier<Context>, Throwable) - Static method in class org.nanonative.nano.helper.NanoUtils
Handles a Java error by logging it and shutting down the application.
hasAccept(String...) - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasAccept(ContentType...) - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasAcceptEncoding(String...) - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasAcceptFormUrlEncoded() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasAcceptGif() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasAcceptHtml() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasAcceptJpeg() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasAcceptJson() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasAcceptMp4() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasAcceptMpeg() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasAcceptMultiPartFormData() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasAcceptOctetStream() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasAcceptPdf() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasAcceptPlainText() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasAcceptPng() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasAcceptXml() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasAcceptXmlSoap() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasContentEncoding(String...) - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasContentType(String...) - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasContentType(ContentType) - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasContentType(ContentType...) - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasContentTypeFormUrlEncoded() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasContentTypeGif() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasContentTypeHtml() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasContentTypeJpeg() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasContentTypeJson() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasContentTypeMp4() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasContentTypeMpeg() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasContentTypeMultiPartFormData() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasContentTypeOctetStream() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasContentTypePdf() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasContentTypePlainText() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasContentTypePng() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasContentTypeXml() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasContentTypeXmlSoap() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
hasFailed() - Method in class org.nanonative.nano.services.http.model.HttpObject
Checks if the HTTP response headers contain an entry indicating an exception or failure.
hashCode() - Method in record class org.nanonative.nano.core.model.Unhandled
Returns a hash code value for this object.
hashCode() - Method in class org.nanonative.nano.helper.event.model.Event
 
hashCode() - Method in record class org.nanonative.nano.services.metric.model.MetricCache.Metric
Returns a hash code value for this object.
hashCode() - Method in record class org.nanonative.nano.services.metric.model.MetricUpdate
Returns a hash code value for this object.
hasText(String) - Static method in class org.nanonative.nano.helper.NanoUtils
 
HEAD - Enum constant in enum class org.nanonative.nano.services.http.model.HttpMethod
 
header(String) - Method in class org.nanonative.nano.services.http.model.HttpObject
Retrieves the value of a specified header.
header(String, Object) - Method in class org.nanonative.nano.services.http.model.HttpObject
Adds or replaces a header in the HTTP headers map.
headerMap() - Method in class org.nanonative.nano.services.http.model.HttpObject
Returns the HTTP headers map.
headerMap(Headers) - Method in class org.nanonative.nano.services.http.model.HttpObject
Sets Http headers.
headerMap(Map<String, ?>) - Method in class org.nanonative.nano.services.http.model.HttpObject
Sets Http headers.
headers - Variable in class org.nanonative.nano.services.http.model.HttpObject
 
headers() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
heapMemoryUsage() - Method in class org.nanonative.nano.core.NanoBase
Calculates the memory usage of the application in percentage.
host() - Method in class org.nanonative.nano.services.http.model.HttpObject
Retrieves the host name from the HttpExchange if available, otherwise extracts it from the HttpHeaders.HOST header.
HOST - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
hostname() - Method in class org.nanonative.nano.core.Nano
 
HTTP_DATE_FORMATTER - Static variable in class org.nanonative.nano.services.http.model.HttpObject
 
HTTP_EXCEPTION_HEADER - Static variable in class org.nanonative.nano.services.http.model.HttpObject
 
HttpClient - Class in org.nanonative.nano.services.http
 
HttpClient() - Constructor for class org.nanonative.nano.services.http.HttpClient
 
HttpHeaders - Class in org.nanonative.nano.services.http.model
Common HTTP headers - used in requests and responses.
HttpMethod - Enum Class in org.nanonative.nano.services.http.model
 
httpMethodOf(String) - Static method in enum class org.nanonative.nano.services.http.model.HttpMethod
 
HttpObject - Class in org.nanonative.nano.services.http.model
Represents an HTTP request and response object within a server handling context.
HttpObject() - Constructor for class org.nanonative.nano.services.http.model.HttpObject
Constructs a HttpObject.
HttpObject(HttpExchange) - Constructor for class org.nanonative.nano.services.http.model.HttpObject
Constructs a new HttpObject from a specified HttpExchange.
HttpServer - Class in org.nanonative.nano.services.http
 
HttpServer() - Constructor for class org.nanonative.nano.services.http.HttpServer
 

I

id() - Method in class org.nanonative.nano.core.model.Scheduler
 
IF - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
IF_MATCH - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
IF_MODIFIED_SINCE - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
IF_NONE_MATCH - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
IF_RANGE - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
IF_UNMODIFIED_SINCE - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
ifPresent(int, Class<T>, Consumer<T>) - Method in class org.nanonative.nano.helper.event.model.Event
 
ifPresent(int, Consumer<Event>) - Method in class org.nanonative.nano.helper.event.model.Event
 
ifPresentAck(int, Class<T>, Function<T, Object>) - Method in class org.nanonative.nano.helper.event.model.Event
 
ifPresentAck(int, Consumer<Event>) - Method in class org.nanonative.nano.helper.event.model.Event
 
IMAGE_BMP - Enum constant in enum class org.nanonative.nano.services.http.model.ContentType
 
IMAGE_GIF - Enum constant in enum class org.nanonative.nano.services.http.model.ContentType
 
IMAGE_JPEG - Enum constant in enum class org.nanonative.nano.services.http.model.ContentType
 
IMAGE_PNG - Enum constant in enum class org.nanonative.nano.services.http.model.ContentType
 
IMAGE_SVG - Enum constant in enum class org.nanonative.nano.services.http.model.ContentType
 
IMAGE_TIFF - Enum constant in enum class org.nanonative.nano.services.http.model.ContentType
 
IMAGE_WEBP - Enum constant in enum class org.nanonative.nano.services.http.model.ContentType
 
influx - Variable in class org.nanonative.nano.services.metric.logic.MetricService
 
influx() - Method in class org.nanonative.nano.services.metric.logic.MetricService
 
influx() - Method in class org.nanonative.nano.services.metric.model.MetricCache
 
info(Throwable, Supplier<String>, Object...) - Method in class org.nanonative.nano.core.model.Context
Logs a message with the specified log level.
info(Supplier<String>, Object...) - Method in class org.nanonative.nano.core.model.Context
Logs a message with the specified log level.
INFO - Enum constant in enum class org.nanonative.nano.services.logging.model.LogLevel
 
is1xxInformational() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
is2xxSuccessful() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
is3xxRedirection() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
is4xxClientError() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
is5xxServerError() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
isAcknowledged() - Method in class org.nanonative.nano.helper.event.model.Event
 
isAsync() - Method in class org.nanonative.nano.helper.event.model.Event
 
isBroadcast() - Method in class org.nanonative.nano.helper.event.model.Event
 
isChannelIdAvailable(int) - Static method in class org.nanonative.nano.helper.event.EventChannelRegister
Checks if an event type with the given ID exists.
isComplete - Variable in class org.nanonative.nano.core.model.NanoThread
 
isComplete() - Method in class org.nanonative.nano.core.model.NanoThread
 
isDeflateCompressed(byte[]) - Method in class org.nanonative.nano.services.http.model.HttpObject
 
isFrontendCall() - Method in class org.nanonative.nano.services.http.model.HttpObject
Determines if the HttpObject originates from a standard web browser based on the HttpHeaders.USER_AGENT header.
isMethod(HttpObject, HttpMethod) - Static method in class org.nanonative.nano.services.http.model.HttpObject
 
isMethodDelete() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
isMethodGet() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
isMethodHead() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
isMethodOptions() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
isMethodPatch() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
isMethodPost() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
isMethodPut() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
isMethodTrace() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
isMobileCall() - Method in class org.nanonative.nano.services.http.model.HttpObject
Determines if the HttpObject originates from a mobile device based on the HttpHeaders.USER_AGENT header.
isPortInUse(int) - Static method in class org.nanonative.nano.services.http.HttpServer
 
isReady - Variable in class org.nanonative.nano.core.model.Service
 
isReady - Variable in class org.nanonative.nano.core.NanoBase
 
isReady() - Method in class org.nanonative.nano.core.model.Service
 
isReady() - Method in class org.nanonative.nano.core.NanoBase
Checks whether the instance is ready for operations.
isReadyState() - Method in class org.nanonative.nano.core.model.Service
 
isZipCompressed(byte[]) - Method in class org.nanonative.nano.services.http.model.HttpObject
 

J

JAVA_MANAGED_HEADERS - Static variable in class org.nanonative.nano.services.http.model.HttpObject
 
jsonEscape(Object) - Method in class org.nanonative.nano.services.logging.LogFormatterJson
Escapes special characters for JSON compatibility.

K

kill(ExecutorService, long) - Method in class org.nanonative.nano.core.NanoThreads
Forces shutdown of an ExecutorService if it doesn't terminate within the specified timeout.

L

LAST_MODIFIED - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
level - Variable in class org.nanonative.nano.services.logging.LogService
 
level() - Method in class org.nanonative.nano.services.logging.LogService
 
level(Level) - Method in class org.nanonative.nano.services.logging.LogService
 
LINE_SEPARATOR - Static variable in class org.nanonative.nano.helper.NanoUtils
 
listeners - Variable in class org.nanonative.nano.core.NanoBase
 
listeners() - Method in class org.nanonative.nano.core.NanoBase
Retrieves the registered event listeners.
LOCATION - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
LOCK_TOKEN - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
LockedBoolean - Class in org.nanonative.nano.helper
A thread-safe class that manages a boolean state with synchronized actions.
LockedBoolean() - Constructor for class org.nanonative.nano.helper.LockedBoolean
Constructs a new LockedBoolean with the initial state set to false.
LockedBoolean(boolean) - Constructor for class org.nanonative.nano.helper.LockedBoolean
Constructs a new LockedBoolean with the specified initial state.
log(Supplier<LogRecord>) - Method in class org.nanonative.nano.services.logging.LogService
 
log(LogRecord) - Method in class org.nanonative.nano.services.logging.LogService
 
log(LogLevel, Throwable, Supplier<String>, Object...) - Method in class org.nanonative.nano.core.model.Context
Logs a message with the specified log level.
log(LogLevel, Supplier<String>, Object...) - Method in class org.nanonative.nano.core.model.Context
Logs a message with the specified log level.
LOG_FORMATTERS - Static variable in class org.nanonative.nano.services.logging.LogFormatRegister
 
LogFormatRegister - Class in org.nanonative.nano.services.logging
 
logFormatter - Variable in class org.nanonative.nano.services.logging.LogService
 
LogFormatterConsole - Class in org.nanonative.nano.services.logging
Formatter for logging messages to the console.
LogFormatterConsole() - Constructor for class org.nanonative.nano.services.logging.LogFormatterConsole
 
LogFormatterJson - Class in org.nanonative.nano.services.logging
A log formatter that outputs log records in JSON format.
LogFormatterJson() - Constructor for class org.nanonative.nano.services.logging.LogFormatterJson
 
LogLevel - Enum Class in org.nanonative.nano.services.logging.model
 
logService - Variable in class org.nanonative.nano.core.NanoBase
 
LogService - Class in org.nanonative.nano.services.logging
 
LogService() - Constructor for class org.nanonative.nano.services.logging.LogService
 

M

MAX_FORWARDS - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
MAX_LOG_NAME_LENGTH - Static variable in class org.nanonative.nano.services.logging.LogService
 
MESSAGE_KEY_VALUE_PATTERN - Static variable in class org.nanonative.nano.services.logging.LogFormatterJson
 
method - Variable in class org.nanonative.nano.services.http.model.HttpObject
 
method() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
methodType() - Method in class org.nanonative.nano.services.http.model.HttpObject
Returns the current HTTP method of this object.
methodType(String) - Method in class org.nanonative.nano.services.http.model.HttpObject
Sets the HTTP method for this object.
methodType(HttpMethod) - Method in class org.nanonative.nano.services.http.model.HttpObject
Sets the HTTP method for this object.
Metric(T, TreeMap<String, String>, String) - Constructor for record class org.nanonative.nano.services.metric.model.MetricCache.Metric
Creates an instance of a Metric record class.
MetricCache - Class in org.nanonative.nano.services.metric.model
 
MetricCache() - Constructor for class org.nanonative.nano.services.metric.model.MetricCache
 
MetricCache.Metric<T> - Record Class in org.nanonative.nano.services.metric.model
 
metricName() - Method in record class org.nanonative.nano.services.metric.model.MetricCache.Metric
Returns the value of the metricName record component.
metrics() - Method in class org.nanonative.nano.services.metric.logic.MetricService
 
MetricService - Class in org.nanonative.nano.services.metric.logic
 
MetricService() - Constructor for class org.nanonative.nano.services.metric.logic.MetricService
 
MetricType - Enum Class in org.nanonative.nano.services.metric.model
 
MetricUpdate - Record Class in org.nanonative.nano.services.metric.model
 
MetricUpdate(MetricType, String, Number, Map<String, String>) - Constructor for record class org.nanonative.nano.services.metric.model.MetricUpdate
Creates an instance of a MetricUpdate record class.
MULTIPART_FORM_DATA - Enum constant in enum class org.nanonative.nano.services.http.model.ContentType
 

N

name() - Method in class org.nanonative.nano.core.model.Service
 
name() - Method in record class org.nanonative.nano.services.metric.model.MetricUpdate
Returns the value of the name record component.
nameOrg() - Method in class org.nanonative.nano.helper.event.model.Event
Returns the event name based on the original channel ID.
nano - Variable in class org.nanonative.nano.core.model.Context
 
nano() - Method in class org.nanonative.nano.core.model.Context
Retrieves the Nano instance associated with this context.
nano() - Method in record class org.nanonative.nano.core.model.Unhandled
 
nano() - Method in class org.nanonative.nano.helper.event.model.Event
 
Nano - Class in org.nanonative.nano.core
 
Nano(FunctionOrNull<Context, List<Service>>, Map<Object, Object>, String...) - Constructor for class org.nanonative.nano.core.Nano
Initializes Nano with a function to provide startup Service, configurations, and command-line arguments.
Nano(String[], FunctionOrNull<Context, List<Service>>) - Constructor for class org.nanonative.nano.core.Nano
Initializes Nano with a function to provide startup Service based on the context.
Nano(String[], Service...) - Constructor for class org.nanonative.nano.core.Nano
Initializes Nano with a function to provide startup Service based on the context.
Nano(Map<Object, Object>, FunctionOrNull<Context, List<Service>>) - Constructor for class org.nanonative.nano.core.Nano
Initializes Nano with configurations and startup Service.
Nano(Map<Object, Object>, Service...) - Constructor for class org.nanonative.nano.core.Nano
Initializes Nano with configurations and startup Service.
Nano(Service...) - Constructor for class org.nanonative.nano.core.Nano
Initializes Nano with a set of startup Service.
NANO_NAMES - Static variable in class org.nanonative.nano.helper.NanoUtils
 
NanoBase<T> - Class in org.nanonative.nano.core
The abstract base class for Nano framework providing the core functionalities.
NanoBase(Map<Object, Object>, String...) - Constructor for class org.nanonative.nano.core.NanoBase
Initializes the NanoBase with provided configurations and arguments.
nanoLogLevelOf(String) - Static method in enum class org.nanonative.nano.services.logging.model.LogLevel
 
nanoLogLevelOf(Level) - Static method in enum class org.nanonative.nano.services.logging.model.LogLevel
 
NanoServices<T> - Class in org.nanonative.nano.core
The abstract base class for Nano framework providing Service handling functionalities.
NanoServices(Map<Object, Object>, String...) - Constructor for class org.nanonative.nano.core.NanoServices
Initializes NanoServices with configurations and command-line arguments.
nanoThread(Context) - Method in class org.nanonative.nano.core.model.Service
 
NanoThread - Class in org.nanonative.nano.core.model
 
NanoThread() - Constructor for class org.nanonative.nano.core.model.NanoThread
 
NanoThreads<T> - Class in org.nanonative.nano.core
The abstract base class for Nano framework providing thread handling functionalities.
NanoThreads(Map<Object, Object>, String...) - Constructor for class org.nanonative.nano.core.NanoThreads
Initializes NanoThreads with configurations and command-line arguments.
NanoUtils - Class in org.nanonative.nano.helper
 
newContext(Class<?>) - Method in class org.nanonative.nano.core.model.Context
Creates new Context with a new logger and trace ID.
newEmptyContext(Class<?>) - Method in class org.nanonative.nano.core.model.Context
Creates new empty Context with a new logger and trace ID.
newEvent(int) - Method in class org.nanonative.nano.core.model.Context
Creates a new Event instance with the specified event type.
nextFreePort(int) - Static method in class org.nanonative.nano.services.http.HttpServer
 

O

OFF - Enum constant in enum class org.nanonative.nano.services.logging.model.LogLevel
 
onComplete(BiConsumer<NanoThread, Throwable>) - Method in class org.nanonative.nano.core.model.NanoThread
 
onCompleteCallbacks - Variable in class org.nanonative.nano.core.model.NanoThread
 
onEvent(Event) - Method in class org.nanonative.nano.core.model.Service
 
onEvent(Event) - Method in class org.nanonative.nano.services.http.HttpClient
 
onEvent(Event) - Method in class org.nanonative.nano.services.http.HttpServer
 
onEvent(Event) - Method in class org.nanonative.nano.services.logging.LogService
 
onEvent(Event) - Method in class org.nanonative.nano.services.metric.logic.MetricService
 
onFailure(Event) - Method in class org.nanonative.nano.core.model.Service
 
onFailure(Event) - Method in class org.nanonative.nano.services.http.HttpClient
 
onFailure(Event) - Method in class org.nanonative.nano.services.http.HttpServer
 
onFailure(Event) - Method in class org.nanonative.nano.services.logging.LogService
 
onFailure(Event) - Method in class org.nanonative.nano.services.metric.logic.MetricService
 
OPTIONS - Enum constant in enum class org.nanonative.nano.services.http.model.HttpMethod
 
org.nanonative.nano.core - package org.nanonative.nano.core
 
org.nanonative.nano.core.model - package org.nanonative.nano.core.model
 
org.nanonative.nano.helper - package org.nanonative.nano.helper
 
org.nanonative.nano.helper.config - package org.nanonative.nano.helper.config
 
org.nanonative.nano.helper.event - package org.nanonative.nano.helper.event
 
org.nanonative.nano.helper.event.model - package org.nanonative.nano.helper.event.model
 
org.nanonative.nano.services.http - package org.nanonative.nano.services.http
 
org.nanonative.nano.services.http.model - package org.nanonative.nano.services.http.model
 
org.nanonative.nano.services.logging - package org.nanonative.nano.services.logging
 
org.nanonative.nano.services.logging.model - package org.nanonative.nano.services.logging.model
 
org.nanonative.nano.services.metric.logic - package org.nanonative.nano.services.metric.logic
 
org.nanonative.nano.services.metric.model - package org.nanonative.nano.services.metric.model
 
origin() - Method in class org.nanonative.nano.services.http.model.HttpObject
Retrieves the origin from the current request.
origin(String) - Method in class org.nanonative.nano.services.http.model.HttpObject
Sets the origin header for the current HttpObject.
origin(String, boolean) - Method in class org.nanonative.nano.services.http.model.HttpObject
Determines the value for the Access-Control-Allow-Origin header.
ORIGIN - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
OVERWRITE - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 

P

paddingLogLevel - Variable in class org.nanonative.nano.services.logging.LogFormatterConsole
 
parent() - Method in class org.nanonative.nano.core.model.Context
Retrieves the Context parent associated with this context.
PATCH - Enum constant in enum class org.nanonative.nano.services.http.model.HttpMethod
 
path - Variable in class org.nanonative.nano.services.http.model.HttpObject
 
path() - Method in class org.nanonative.nano.services.http.model.HttpObject
Retrieves the current path of the HttpObject without last '/'.
path(String) - Method in class org.nanonative.nano.services.http.model.HttpObject
Sets the path for this HttpObject.
pathMatch(String) - Method in class org.nanonative.nano.services.http.model.HttpObject
Checks if the current HttpObject.path() matches a specified expression.
pathParam(String) - Method in class org.nanonative.nano.services.http.model.HttpObject
Retrieves the value of a specified path parameter.
pathParams - Variable in class org.nanonative.nano.services.http.model.HttpObject
 
pathParams() - Method in class org.nanonative.nano.services.http.model.HttpObject
Retrieves a map of path parameters extracted from the URL.
payload - Variable in class org.nanonative.nano.helper.event.model.Event
 
payload() - Method in record class org.nanonative.nano.core.model.Unhandled
Returns the value of the payload record component.
payload() - Method in class org.nanonative.nano.helper.event.model.Event
 
payload(Class<T>) - Method in record class org.nanonative.nano.core.model.Unhandled
 
payload(Class<T>) - Method in class org.nanonative.nano.helper.event.model.Event
 
payload(Supplier<Object>) - Method in class org.nanonative.nano.helper.event.model.Event
Sets the payload of the event.
payloadOpt() - Method in class org.nanonative.nano.helper.event.model.Event
 
payloadOpt(Class<T>) - Method in record class org.nanonative.nano.core.model.Unhandled
 
payloadOpt(Class<T>) - Method in class org.nanonative.nano.helper.event.model.Event
 
payloadRaw - Variable in class org.nanonative.nano.helper.event.model.Event
 
peek(Consumer<Event>) - Method in class org.nanonative.nano.helper.event.model.Event
 
pid() - Method in class org.nanonative.nano.core.NanoBase
Retrieves the process ID of the current instance.
port() - Method in class org.nanonative.nano.services.http.HttpServer
 
port() - Method in class org.nanonative.nano.services.http.model.HttpObject
Retrieves the host port from the HttpExchange if available, otherwise extracts it from the HttpHeaders.HOST header.
POST - Enum constant in enum class org.nanonative.nano.services.http.model.HttpMethod
 
PRAGMA - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
printActiveProfiles() - Method in class org.nanonative.nano.core.Nano
 
printParameters() - Method in class org.nanonative.nano.core.Nano
Prints the configurations that have been loaded into the Nano instance.
printSystemInfo() - Method in class org.nanonative.nano.core.Nano
Prints system information for diagnostic purposes.
prometheus() - Method in class org.nanonative.nano.services.metric.model.MetricCache
 
prometheusPath - Variable in class org.nanonative.nano.services.metric.logic.MetricService
 
prometheusPath() - Method in class org.nanonative.nano.services.metric.logic.MetricService
 
protocol() - Method in class org.nanonative.nano.services.http.model.HttpObject
Retrieves the protocol used in the HttpExchange.
PROXY_AUTHENTICATE - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
PROXY_AUTHORIZATION - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
put(Object, Object) - Method in class org.nanonative.nano.core.model.Context
Puts a key-value pair into the context.
PUT - Enum constant in enum class org.nanonative.nano.services.http.model.HttpMethod
 
putAll(Map<?, ?>) - Method in class org.nanonative.nano.core.NanoBase
 
putEntry(Map<String, String>, Object, Object) - Method in class org.nanonative.nano.services.logging.LogFormatterJson
Adds escaped and converted key-value pairs to the map.
putR(Object, Object) - Method in class org.nanonative.nano.core.model.Context
Associates the specified value with the specified key in this map.
putR(Object, Object) - Method in class org.nanonative.nano.helper.event.model.Event
 

Q

queryParam(String) - Method in class org.nanonative.nano.services.http.model.HttpObject
Retrieves the value of a specified query parameter.
queryParams - Variable in class org.nanonative.nano.services.http.model.HttpObject
 
queryParams() - Method in class org.nanonative.nano.services.http.model.HttpObject
Retrieves all query parameters from the current HttpObject.
queryParamsOf(String) - Method in class org.nanonative.nano.services.http.model.HttpObject
 

R

random - Static variable in class org.nanonative.nano.helper.NanoUtils
 
RANGE - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
readConfigFile(Context, String) - Static method in class org.nanonative.nano.helper.NanoUtils
 
readConfigFiles(Context, String) - Static method in class org.nanonative.nano.helper.NanoUtils
 
readConfigs(String...) - Method in class org.nanonative.nano.core.NanoBase
Reads and initializes Context based on provided arguments.
readProfiles(Context) - Static method in class org.nanonative.nano.helper.NanoUtils
 
readTimeoutMs - Variable in class org.nanonative.nano.services.http.HttpClient
 
readTimeoutMs() - Method in class org.nanonative.nano.services.http.HttpClient
Returns the read timeout in milliseconds configured for this HttpClient.
receiveEvent(Event) - Method in class org.nanonative.nano.core.model.Service
 
REFERER - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
registerChannelId(String) - Method in class org.nanonative.nano.core.model.Context
Registers a new event type with a given name if it does not already exist.
registerChannelId(String) - Static method in class org.nanonative.nano.helper.event.EventChannelRegister
Registers a new event type with a given name if it does not already exist.
registerConfig(String, String) - Static method in class org.nanonative.nano.helper.config.ConfigRegister
Registers a configuration key with its description.
registerLogFormatter(String, Formatter) - Static method in class org.nanonative.nano.services.logging.LogFormatRegister
 
registerService(Service) - Method in class org.nanonative.nano.core.NanoServices
Registers a new service in the Nano framework.
removeLast(String, String) - Static method in class org.nanonative.nano.services.http.model.HttpObject
 
removeScheduler(ExecutorService) - Method in class org.nanonative.nano.core.NanoThreads
Removes a scheduler from the set of managed schedulers.
resolvePlaceHolders(Context) - Static method in class org.nanonative.nano.helper.NanoUtils
 
respond(Event) - Method in class org.nanonative.nano.services.http.model.HttpObject
Sends an HTTP response using the current HttpObject as the response context.
response - Variable in class org.nanonative.nano.helper.event.model.Event
 
response() - Method in class org.nanonative.nano.helper.event.model.Event
 
response() - Method in class org.nanonative.nano.services.http.model.HttpObject
Creates and returns a new instance of HttpObject.
response(boolean) - Method in class org.nanonative.nano.services.http.model.HttpObject
Creates and returns a new instance of HttpObject.
response(Class<T>) - Method in class org.nanonative.nano.helper.event.model.Event
 
response(Object) - Method in class org.nanonative.nano.helper.event.model.Event
 
responseListener - Variable in class org.nanonative.nano.helper.event.model.Event
 
responseOf(HttpResponse<byte[]>, HttpObject) - Method in class org.nanonative.nano.services.http.HttpClient
 
responseOpt(Class<T>) - Method in class org.nanonative.nano.helper.event.model.Event
 
retries - Variable in class org.nanonative.nano.services.http.HttpClient
 
retries() - Method in class org.nanonative.nano.services.http.HttpClient
Returns the number of retries configured for this HttpClient.
RETRY_AFTER - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
run() - Method in interface org.nanonative.nano.helper.ExRunnable
 
run(boolean, Consumer<Boolean>) - Method in class org.nanonative.nano.helper.LockedBoolean
Executes a Consumer based on a condition without changing the state.
run(Consumer<Boolean>) - Method in class org.nanonative.nano.helper.LockedBoolean
Executes a Consumer based on the current state.
run(Supplier<Context>, ExRunnable) - Method in class org.nanonative.nano.core.model.NanoThread
 
run(Supplier<Context>, ExRunnable, long, long, TimeUnit, BooleanSupplier) - Method in class org.nanonative.nano.core.NanoThreads
Executes a task periodically, starting after an initial delay.
run(Supplier<Context>, ExRunnable, long, TimeUnit) - Method in class org.nanonative.nano.core.NanoThreads
Executes a task asynchronously after a specified delay.
run(Supplier<Context>, ExRunnable, LocalTime, DayOfWeek, BooleanSupplier) - Method in class org.nanonative.nano.core.NanoThreads
Executes a task periodically, starting after an initial delay.
run(Service...) - Method in class org.nanonative.nano.core.model.Context
Executes one or multiple Service asynchronously.
run(ExRunnable...) - Method in class org.nanonative.nano.core.model.Context
Executes one or multiple runnable asynchronously.
run(ExRunnable, long, long, TimeUnit) - Method in class org.nanonative.nano.core.model.Context
Executes a task periodically, starting after an initial delay.
run(ExRunnable, long, long, TimeUnit, BooleanSupplier) - Method in class org.nanonative.nano.core.model.Context
Executes a task periodically, starting after an initial delay.
run(ExRunnable, long, TimeUnit) - Method in class org.nanonative.nano.core.model.Context
Executes a task asynchronously after a specified delay.
run(ExRunnable, LocalTime) - Method in class org.nanonative.nano.core.model.Context
Executes a task periodically, starting after an initial delay.
run(ExRunnable, LocalTime, DayOfWeek, BooleanSupplier) - Method in class org.nanonative.nano.core.model.Context
Executes a task periodically, starting after an initial delay.
run(ExRunnable, LocalTime, BooleanSupplier) - Method in class org.nanonative.nano.core.model.Context
Executes a task periodically, starting after an initial delay.
runAsync(Runnable) - Static method in class org.nanonative.nano.core.NanoThreads
 
runAwait(Service...) - Method in class org.nanonative.nano.core.model.Context
Executes asynchronously and waits for all Service to be ready
runAwait(ExRunnable...) - Method in class org.nanonative.nano.core.model.Context
Executes asynchronously and waits for all runnable to be ready
runAwaitHandled(Consumer<Unhandled>, ExRunnable...) - Method in class org.nanonative.nano.core.model.Context
Executes asynchronously and waits for all runnable to be ready
runAwaitR(Service...) - Method in class org.nanonative.nano.core.model.Context
Executes and waits for all Service to be ready
runAwaitR(ExRunnable...) - Method in class org.nanonative.nano.core.model.Context
Executes asynchronously and waits for all Service to be ready
runAwaitRHandled(Consumer<Unhandled>, ExRunnable...) - Method in class org.nanonative.nano.core.model.Context
Executes and waits for all Service to be ready
runHandled(Consumer<Unhandled>, ExRunnable...) - Method in class org.nanonative.nano.core.model.Context
Executes one or multiple runnable asynchronously.
runR(Service...) - Method in class org.nanonative.nano.core.model.Context
Executes one or multiple Service asynchronously.
runR(ExRunnable...) - Method in class org.nanonative.nano.core.model.Context
Executes one or multiple runnable asynchronously.
runReturnHandled(Consumer<Unhandled>, ExRunnable...) - Method in class org.nanonative.nano.core.model.Context
Executes one or multiple runnable asynchronously.

S

sanitizeMetricName(String) - Method in class org.nanonative.nano.services.metric.model.MetricCache
 
Scheduler - Class in org.nanonative.nano.core.model
 
Scheduler(String) - Constructor for class org.nanonative.nano.core.model.Scheduler
 
Scheduler(String, int, RejectedExecutionHandler) - Constructor for class org.nanonative.nano.core.model.Scheduler
 
schedulers - Variable in class org.nanonative.nano.core.NanoThreads
 
schedulers() - Method in class org.nanonative.nano.core.NanoThreads
Provides an unmodifiable set of ScheduledExecutorService.
send() - Method in class org.nanonative.nano.helper.event.model.Event
Sends the event to the Nano instance for processing.
send(int, HttpRequest, HttpObject, Consumer<HttpObject>) - Method in class org.nanonative.nano.services.http.HttpClient
 
send(HttpRequest) - Method in class org.nanonative.nano.services.http.HttpClient
Sends an HTTP request using the provided HttpObject or HttpRequest.
send(HttpRequest, Consumer<HttpObject>) - Method in class org.nanonative.nano.services.http.HttpClient
Sends an HTTP request using the provided HttpObject or HttpRequest.
send(Context) - Method in class org.nanonative.nano.services.http.model.HttpObject
Sends an HTTP request using the provided HttpObject.
send(Context, Consumer<HttpObject>) - Method in class org.nanonative.nano.services.http.model.HttpObject
Sends an HTTP request using the provided HttpObject.
sendEvent(int, Supplier<Object>) - Method in class org.nanonative.nano.core.model.Context
Sends an event of the specified type with the provided payload within this context without expecting a response.
sendEvent(int, Supplier<Object>, Consumer<Object>) - Method in class org.nanonative.nano.core.model.Context
Sends an event of the specified type with the provided payload within this context, expecting a response that is handled by the provided responseListener.
sendEvent(Event) - Method in class org.nanonative.nano.core.Nano
Sends an event with the specified parameters, either broadcasting it to all listeners or sending it to a targeted listener asynchronously if a response listener is provided.
sendEventError(Object, Throwable) - Method in class org.nanonative.nano.core.model.Context
Sends an unhandled event with the provided, nullable payload and exception.
sendEventError(Event, Service, Throwable) - Method in class org.nanonative.nano.core.model.Context
Sends an unhandled event with the provided, nullable payload and exception.
sendEventR(int, Supplier<Object>) - Method in class org.nanonative.nano.core.model.Context
Sends an event of the specified type with the provided payload within this context without expecting a response.
sendEventR(int, Supplier<Object>, Consumer<Object>) - Method in class org.nanonative.nano.core.model.Context
Sends an event of the specified type with the provided payload within this context, expecting a response that is handled by the provided responseListener.
sendEventR(Event) - Method in class org.nanonative.nano.core.Nano
Processes an event with the given parameters and decides on the execution path based on the presence of a response listener and the broadcast flag.
sendEventSameThread(Event) - Method in class org.nanonative.nano.core.Nano
Sends an event on the same thread and determines whether to process it to the first listener.
sendResponse(HttpExchange, HttpObject, HttpObject) - Method in class org.nanonative.nano.services.http.HttpServer
 
server - Variable in class org.nanonative.nano.services.http.HttpServer
 
server() - Method in class org.nanonative.nano.services.http.HttpServer
 
SERVER - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
service(Class<S>) - Method in class org.nanonative.nano.core.model.Context
Retrieves a Service of a specified type.
service(Class<S>) - Method in class org.nanonative.nano.core.NanoServices
Retrieves a Service of a specified type.
Service - Class in org.nanonative.nano.core.model
 
Service() - Constructor for class org.nanonative.nano.core.model.Service
 
serviceOpt(Class<S>) - Method in class org.nanonative.nano.core.NanoServices
Retrieves a Service of a specified type.
services - Variable in class org.nanonative.nano.core.NanoServices
 
services() - Method in class org.nanonative.nano.core.model.Context
Provides an unmodifiable list of all registered Service.
services() - Method in class org.nanonative.nano.core.NanoServices
Provides an unmodifiable list of all registered Service.
services(Class<S>) - Method in class org.nanonative.nano.core.model.Context
Retrieves a list of services of a specified type.
services(Class<S>) - Method in class org.nanonative.nano.core.NanoServices
Retrieves a list of services of a specified type.
set(boolean) - Method in class org.nanonative.nano.helper.LockedBoolean
Sets the state to the specified value with thread safety.
set(boolean, boolean) - Method in class org.nanonative.nano.helper.LockedBoolean
Conditionally sets the state based on a condition.
set(boolean, boolean, Consumer<Boolean>) - Method in class org.nanonative.nano.helper.LockedBoolean
Conditionally sets the state and executes a Consumer based on a condition.
set(boolean, Consumer<Boolean>) - Method in class org.nanonative.nano.helper.LockedBoolean
Sets the state to the specified value with thread safety.
setError(AtomicBoolean) - Static method in class org.nanonative.nano.services.http.HttpServer
 
shutdown(Class<?>) - Method in class org.nanonative.nano.core.Nano
Shuts down the Nano instance, ensuring all services and threads are gracefully terminated.
shutdown(Context) - Method in class org.nanonative.nano.core.Nano
Shuts down the Nano instance, ensuring all services and threads are gracefully terminated.
shutdownExecutors(long, ExecutorService...) - Method in class org.nanonative.nano.core.NanoThreads
Shuts down executors and handles timeout for forced termination.
shutdownServices(Context) - Method in class org.nanonative.nano.core.NanoServices
Shuts down all registered Service gracefully.
shutdownThreads() - Method in class org.nanonative.nano.core.NanoThreads
Shuts down all threads and scheduled executors gracefully.
size() - Method in class org.nanonative.nano.services.http.model.HttpObject
Calculates the size of the HTTP content.
sizeRequest() - Method in class org.nanonative.nano.services.http.model.HttpObject
Checks if the Range header has been set to request only the first byte of the content.
sizeRequest(boolean) - Method in class org.nanonative.nano.services.http.model.HttpObject
Sets the HTTP Range header to request only the first byte of the content.
sorted() - Method in class org.nanonative.nano.services.metric.model.MetricCache
 
split(String, String) - Static method in class org.nanonative.nano.helper.NanoUtils
 
splitHeaderValue(Collection<String>, Function<String, R>) - Static method in class org.nanonative.nano.services.http.model.HttpObject
 
standardiseKey(Object) - Static method in class org.nanonative.nano.core.NanoBase
Standardizes a config key.
start() - Method in class org.nanonative.nano.core.model.Service
 
start() - Method in class org.nanonative.nano.services.http.HttpClient
 
start() - Method in class org.nanonative.nano.services.http.HttpServer
 
start() - Method in class org.nanonative.nano.services.logging.LogService
 
start() - Method in class org.nanonative.nano.services.metric.logic.MetricService
 
startServicesAndLogger(FunctionOrNull<Context, List<Service>>) - Method in class org.nanonative.nano.core.Nano
 
STARTUP_LOCK - Static variable in class org.nanonative.nano.services.http.HttpServer
 
STATUS_URI - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
statusCode - Variable in class org.nanonative.nano.services.http.model.HttpObject
 
statusCode() - Method in class org.nanonative.nano.services.http.model.HttpObject
Retrieves the current HTTP status code for the HttpObject.
statusCode(int) - Method in class org.nanonative.nano.services.http.model.HttpObject
Sets the HTTP status code for the HttpObject.
stop() - Method in class org.nanonative.nano.core.model.Service
 
stop() - Method in class org.nanonative.nano.services.http.HttpClient
 
stop() - Method in class org.nanonative.nano.services.http.HttpServer
 
stop() - Method in class org.nanonative.nano.services.logging.LogService
 
stop() - Method in class org.nanonative.nano.services.metric.logic.MetricService
 
stop(Class<?>) - Method in class org.nanonative.nano.core.Nano
Initiates the shutdown process for the Nano instance.
stop(Class<?>) - Method in class org.nanonative.nano.core.NanoBase
Initiates the shutdown process for the Nano instance.
stop(Context) - Method in class org.nanonative.nano.core.Nano
Initiates the shutdown process for the Nano instance.
stop(Context) - Method in class org.nanonative.nano.core.NanoBase
Initiates the shutdown process for the Nano instance.
subscribeEvent(int, Consumer<Event>) - Method in class org.nanonative.nano.core.model.Context
Registers an event listener for a specific event type.
subscribeEvent(int, Consumer<Event>) - Method in class org.nanonative.nano.core.NanoBase
Registers an event listener for a specific event type.
successOrElse(Consumer<HttpObject>, Consumer<HttpObject>) - Method in class org.nanonative.nano.services.http.model.HttpObject
 

T

tags() - Method in record class org.nanonative.nano.services.metric.model.MetricCache.Metric
Returns the value of the tags record component.
tags() - Method in record class org.nanonative.nano.services.metric.model.MetricUpdate
Returns the value of the tags record component.
TE - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
TEXT_HTML - Enum constant in enum class org.nanonative.nano.services.http.model.ContentType
 
TEXT_PLAIN - Enum constant in enum class org.nanonative.nano.services.http.model.ContentType
 
TEXT_XML - Enum constant in enum class org.nanonative.nano.services.http.model.ContentType
 
threadsOf(Context, Service...) - Static method in class org.nanonative.nano.core.model.Service
 
timeout() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
timeout(long) - Method in class org.nanonative.nano.services.http.model.HttpObject
 
TIMEOUT - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
timeoutMs - Variable in class org.nanonative.nano.services.http.model.HttpObject
 
timer(String) - Method in class org.nanonative.nano.services.metric.model.MetricCache
 
timer(String, Map<String, String>) - Method in class org.nanonative.nano.services.metric.model.MetricCache
 
TIMER_END - Enum constant in enum class org.nanonative.nano.services.metric.model.MetricType
 
TIMER_START - Enum constant in enum class org.nanonative.nano.services.metric.model.MetricType
 
timers() - Method in class org.nanonative.nano.services.metric.model.MetricCache
 
timerStart(String) - Method in class org.nanonative.nano.services.metric.model.MetricCache
 
timerStart(String, Map<String, String>) - Method in class org.nanonative.nano.services.metric.model.MetricCache
 
timerStop(String) - Method in class org.nanonative.nano.services.metric.model.MetricCache
 
timerStop(String, Map<String, String>) - Method in class org.nanonative.nano.services.metric.model.MetricCache
 
toJavaLogLevel() - Method in enum class org.nanonative.nano.services.logging.model.LogLevel
 
toString() - Method in class org.nanonative.nano.core.model.Context
 
toString() - Method in class org.nanonative.nano.core.model.NanoThread
 
toString() - Method in class org.nanonative.nano.core.model.Scheduler
 
toString() - Method in record class org.nanonative.nano.core.model.Unhandled
Returns a string representation of this record class.
toString() - Method in class org.nanonative.nano.core.Nano
 
toString() - Method in class org.nanonative.nano.helper.event.model.Event
 
toString() - Method in class org.nanonative.nano.helper.LockedBoolean
 
toString() - Method in class org.nanonative.nano.services.http.HttpClient
 
toString() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
toString() - Method in class org.nanonative.nano.services.logging.LogService
 
toString() - Method in record class org.nanonative.nano.services.metric.model.MetricCache.Metric
Returns a string representation of this record class.
toString() - Method in class org.nanonative.nano.services.metric.model.MetricCache
 
toString() - Method in record class org.nanonative.nano.services.metric.model.MetricUpdate
Returns a string representation of this record class.
trace(Throwable, Supplier<String>, Object...) - Method in class org.nanonative.nano.core.model.Context
Logs a message with the specified log level.
trace(Supplier<String>, Object...) - Method in class org.nanonative.nano.core.model.Context
Logs a message with the specified log level.
TRACE - Enum constant in enum class org.nanonative.nano.services.http.model.HttpMethod
 
TRACE - Enum constant in enum class org.nanonative.nano.services.logging.model.LogLevel
 
traceId() - Method in class org.nanonative.nano.core.model.Context
Retrieves the last created trace ID of the context.
traceId(int) - Method in class org.nanonative.nano.core.model.Context
Retrieves the trace ID at the specified index.
traceIds() - Method in class org.nanonative.nano.core.model.Context
Retrieves all trace IDs associated with this context.
TRAILER - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
TRANSFER_ENCODING - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
tryExecute(Supplier<Context>, ExRunnable) - Static method in class org.nanonative.nano.helper.NanoUtils
 
tryExecute(Supplier<Context>, ExRunnable, Consumer<Throwable>) - Static method in class org.nanonative.nano.helper.NanoUtils
 
tryExecute(ExRunnable) - Method in class org.nanonative.nano.core.model.Context
 
tryExecute(ExRunnable, Consumer<Throwable>) - Method in class org.nanonative.nano.core.model.Context
 
type() - Method in record class org.nanonative.nano.services.metric.model.MetricUpdate
Returns the value of the type record component.

U

Unhandled - Record Class in org.nanonative.nano.core.model
 
Unhandled(Context, Object, Throwable) - Constructor for record class org.nanonative.nano.core.model.Unhandled
Creates an instance of a Unhandled record class.
unregisterService(Context, Service) - Method in class org.nanonative.nano.core.NanoServices
Unregisters a Service from the Nano framework and stops it.
unsubscribeEvent(int, Consumer<Event>) - Method in class org.nanonative.nano.core.model.Context
Removes a registered event listener for a specific event type.
unsubscribeEvent(int, Consumer<Event>) - Method in class org.nanonative.nano.core.NanoBase
Removes a registered event listener for a specific event type.
updateArch(Context) - Method in class org.nanonative.nano.services.metric.logic.MetricService
 
updateBufferMetrics(Supplier<Context>) - Method in class org.nanonative.nano.services.metric.logic.MetricService
 
updateClassLoaderMetrics(Supplier<Context>) - Method in class org.nanonative.nano.services.metric.logic.MetricService
 
updateCompilerMetrics(Nano) - Method in class org.nanonative.nano.services.metric.logic.MetricService
 
updateCpuMetrics(Supplier<Context>) - Method in class org.nanonative.nano.services.metric.logic.MetricService
 
updateDiscMetrics(Supplier<Context>) - Method in class org.nanonative.nano.services.metric.logic.MetricService
 
updateJavaVersion(Context) - Method in class org.nanonative.nano.services.metric.logic.MetricService
 
updateMemoryMetrics(Supplier<Context>) - Method in class org.nanonative.nano.services.metric.logic.MetricService
 
updateMetric(MetricUpdate) - Method in class org.nanonative.nano.services.metric.logic.MetricService
 
updateMetrics(Nano) - Method in class org.nanonative.nano.services.metric.logic.MetricService
 
updateNanoMetrics(Nano) - Method in class org.nanonative.nano.services.metric.logic.MetricService
 
updateOs(Context) - Method in class org.nanonative.nano.services.metric.logic.MetricService
 
updatePoolMetrics(Supplier<Context>) - Method in class org.nanonative.nano.services.metric.logic.MetricService
 
updateSystemMetrics(Context) - Method in class org.nanonative.nano.services.metric.logic.MetricService
 
updateThreadMetrics(Supplier<Context>) - Method in class org.nanonative.nano.services.metric.logic.MetricService
 
UPGRADE - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
uri() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
usedMemoryMB() - Method in class org.nanonative.nano.core.NanoBase
Calculates the memory usage of the application in megabytes.
USER_AGENT - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
USER_AGENT_BROWSERS - Static variable in class org.nanonative.nano.services.http.model.HttpObject
 
USER_AGENT_MOBILE - Static variable in class org.nanonative.nano.services.http.model.HttpObject
 
userAgent() - Method in class org.nanonative.nano.services.http.model.HttpObject
Retrieves the HttpHeaders.USER_AGENT header from the HttpObject.
userAgent(String) - Method in class org.nanonative.nano.services.http.model.HttpObject
Sets the HttpHeaders.USER_AGENT header for the HttpObject.

V

value() - Method in enum class org.nanonative.nano.services.http.model.ContentType
 
value() - Method in record class org.nanonative.nano.services.metric.model.MetricCache.Metric
Returns the value of the value record component.
value() - Method in record class org.nanonative.nano.services.metric.model.MetricUpdate
Returns the value of the value record component.
valueOf(String) - Static method in enum class org.nanonative.nano.services.http.model.ContentType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.nanonative.nano.services.http.model.HttpMethod
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.nanonative.nano.services.logging.model.LogLevel
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.nanonative.nano.services.metric.model.MetricType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.nanonative.nano.services.http.model.ContentType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.nanonative.nano.services.http.model.HttpMethod
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.nanonative.nano.services.logging.model.LogLevel
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.nanonative.nano.services.metric.model.MetricType
Returns an array containing the constants of this enum class, in the order they are declared.
VARY - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
version() - Method in class org.nanonative.nano.services.http.HttpClient
Returns the HttpClient.Version used by this HttpClient.
version() - Method in class org.nanonative.nano.services.http.model.HttpObject
 
VIA - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
VIDEO_MP4 - Enum constant in enum class org.nanonative.nano.services.http.model.ContentType
 

W

waitFor(Runnable, NanoThread...) - Static method in class org.nanonative.nano.core.model.NanoThread
Waits for all provided NanoThread instances to complete execution and optionally executes a Runnable once all threads have finished.
waitFor(NanoThread...) - Static method in class org.nanonative.nano.core.model.NanoThread
Blocks until all provided NanoThread instances have completed execution.
waitForCondition(BooleanSupplier) - Static method in class org.nanonative.nano.helper.NanoUtils
Waits for a condition to become true, with actions on success or timeout.
waitForCondition(BooleanSupplier, long) - Static method in class org.nanonative.nano.helper.NanoUtils
Waits for a condition to become true, with actions on success or timeout.
waitForStop() - Method in class org.nanonative.nano.core.Nano
This method blocks the current thread for max 10 seconds until the Nano instance is no longer ready.
warn(Throwable, Supplier<String>, Object...) - Method in class org.nanonative.nano.core.model.Context
Logs a message with the specified log level.
warn(Supplier<String>, Object...) - Method in class org.nanonative.nano.core.model.Context
Logs a message with the specified log level.
WARN - Enum constant in enum class org.nanonative.nano.services.logging.model.LogLevel
 
WARNING - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
wavefront - Variable in class org.nanonative.nano.services.metric.logic.MetricService
 
wavefront() - Method in class org.nanonative.nano.services.metric.logic.MetricService
 
wavefront() - Method in class org.nanonative.nano.services.metric.model.MetricCache
 
WILDCARD - Enum constant in enum class org.nanonative.nano.services.http.model.ContentType
 
WWW_AUTHENTICATE - Static variable in class org.nanonative.nano.services.http.model.HttpHeaders
 
A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form