All Classes and Interfaces
Class
Description
Class
AbstractCollection is an abstract implementation of the Collection interface.AbstractList is an abstract implementation of the List interface, optimized
for a backing store which supports random access.This class is an abstract implementation of the
Map interface.A key-value mapping.
An immutable key-value mapping.
Exception thrown when an attempt is made to call an abstract method.
AbstractQueue is an abstract class which implements some of the methods in
Queue.AbstractSequentialList is an abstract implementation of the List interface.
An AbstractSet is an abstract implementation of the Set interface.
A mirror of java.lang.Annotation.
A mirror of java.lang.annotation.AnnotationFormatError.
Declares methods to append characters or character sequences.
Thrown when an exceptional arithmetic condition has occurred.
Added this for Kotlin
An implementation of Deque, backed by an array.
Thrown to indicate that an array has been accessed with an illegal index.
ArrayList is an implementation of
List, backed by an array.Arrays contains static methods which operate on arrays.Thrown to indicate that an attempt has been made to store the wrong type of object into an array of objects.
Runs this method on another thread; the caller returns at once.
A
Future that is already complete: what an @Async method
returns from its body.CLDC11 subset stub.
CLDC11 subset stub.
CLDC11 subset stub.
CLDC11 subset stub.
Reflection-free conversion between a domain value and one SQL scalar.
Asks the build to inject this constructor, field or setter.
AWS Signature Version 4, and the request plumbing every AWS service shares.
A configured, running server: the twenty lines every main used to open with,
written once.
Where the handlers are built, once the things they need exist.
Where a server's websocket endpoints come from.
Runs a test class against the application the build wired: what
@SpringBootTest does.How a
BackendTest reaches the application.Standard base64 (RFC 4648 section 4), with padding.
Base64url without padding, as JSON Web Tokens use it.
A method of a
Configuration class whose return value is a bean.The
BitSet class implements a bit field.The Boolean class wraps a value of the primitive type boolean in an object.
The Byte class is the standard wrapper for byte values.
A ByteArrayInputStream contains an internal buffer that contains bytes that may be read from the stream.
This class implements an output stream in which the data is written into a byte array.
A growable byte buffer that callers reuse.
Calendar is an abstract base class for converting between a Date object and a set of integer fields such as YEAR, MONTH, DAY, HOUR, and so on.
Deprecated
Thrown by
Future.get() when the work was cancelled before it ran.Operations propagated from an entity to its related entities.
The Character class wraps a value of the primitive type char in an object.
This interface represents an ordered set of characters and defines the
methods to probe them.
Added this for Kotlin
Instances of the class Class represent classes and interfaces in a running Java application.
Thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance.
Thrown when an application tries to load in a class through its string name using the forName method in class Class but no definition for the class with the specified name could be found.
This (empty) interface must be implemented by all classes that wish to
support cloning.
Thrown when a program attempts to clone an object which does not support the
Cloneable interface.Collection is the root of the collection hierarchy.Collections contains static methods which operate on
Collection classes.Renames or constrains an
@Entity field's column.One persisted field of an entity: what it is called in Java, what it is called
in the database, and what kind of value it holds.
This interface should be implemented by all classes that wish to define a
A
Comparator is used to compare two objects to determine their ordering with
respect to each other.Marks a class the build constructs and injects, once per server.
An
ConcurrentModificationException is thrown when a Collection is
modified and an existing iterator on the Collection is used to modify the
Collection as well.Constructs this bean only when no other bean has its type.
Constructs this bean only when a configuration key has a value.
Where a server's settings come from, in one resolution order.
A class whose
Bean methods produce beans.Binds a group of configuration keys to the setters of a bean.
Expectations of the response body, from
MockMvcResultMatchers.content().A public no-arg converter for a basic field; converters also receive null values.
Expectations of the cookies a response sets, from
MockMvcResultMatchers.cookie().Counts the calls of this method, and separately the calls that threw.
A count that only goes up -- requests served, jobs run, errors seen.
AWS credentials, and the ways a server actually obtains them.
The crypto a server needs to authenticate a request.
Typed access to one entity's table.
A database operation failed: a statement the engine refused, a connection
that could not be opened or was lost, a query that returned more rows than
one.
One database API over SQLite, PostgreSQL and MySQL, chosen by URL.
A unit of work run inside
Database.transaction(Database.Work).The DataInput interface provides for reading bytes from a binary stream and reconstructing from them data in any of the Java primitive types.
A data input stream lets an application read primitive Java data types from an underlying input stream in a machine-independent way.
The DataOutput interface provides for converting data from any of the Java primitive types to a series of bytes and writing these bytes to a binary stream.
A data output stream lets an application write primitive Java data types to an output stream in a portable way.
A pool of connections to ONE database, whichever engine that database is.
A unit of work run against one borrowed connection.
The class Date represents a specific instant in time, with millisecond precision.
A class for parsing and formatting localisation sensitive dates, compatible
with Jave 6 SDK.
SQLite persistence for server-side binaries, on the engine the translator
already bundles.
A unit of work run inside
Db.transaction(Db.Work).A fixed pool of connections to one SQLite database.
Excludes an
@Entity field from the generated table.Maps an HTTP DELETE to this method.
An annotation for marking an element as deprecated.
A kind of collection that can insert or remove element at both ends("double
ended queue").
What the three engines spell differently, in one place.
**Note: Do not use this class since it is obsolete.
The persistent discriminator for a concrete class in an entity hierarchy.
The Double class wraps a value of the primitive type double in an object.
Mapping for an owned collection of scalar values.
A mirror of java.lang.annotation.ElementType.
A reusable value object whose scalar fields are stored in its owner table.
Flattens an embeddable value into the owner table using a field-name prefix.
Flattens an embeddable identifier into the owner table using a field-name prefix.
Thrown by methods in the Stack class to indicate that the stack is empty.
Marks a POJO or
PropertyBusinessObject as a persistent entity, in the
app and on the Codename One backend alike.What the build generated about one entity class: its table, its columns, and
reflection-free access to its fields.
The entry point to the build-time ORM: entities in, daos out.
A unit of work run inside
EntityManager.transaction(EntityManager.Work).Implementation class required to compile enums
An object that implements the Enumeration interface generates a series of elements, one at a time.
Signals that an end of file or end of stream has been reached unexpectedly during input.
An Error is a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch.
EventListener is the superclass of all event listener interfaces.
This abstract class provides a simple wrapper for objects of type
EventListener.The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
Thrown by
Future.get() when the work failed; the cause is what it threw.Controls when a mapped relationship is loaded.
The file-system calls a static handler needs, isolated so that everything else
in
StaticFiles -- ranges, conditional requests, MIME types, the containment
check -- is pure Java and shared by every target.Signals that an attempt to open the file denoted by a specified pathname
has failed.
Simple version of filter input stream
Dummy implementation of filter output stream
The Float class wraps a value of primitive type float in an object.
Indicates that an output object can be flushed.
An abstract class for parsing and formatting localisation sensitive information, compatible with JDK 6.
The result of work that finishes later -- on the backend, what an
@Async
method returns, completed when its body has run on its executor.A value read when metrics are collected -- a queue's depth, a pool's size, a
@ManagedAttribute.Where a gauge with several labelled values comes from -- one per executor,
say.
Where a gauge's value comes from.
Marks a class the backend processors wrote, so a later pass knows its own work.
Overrides the legacy Id.autoIncrement strategy for this identifier.
Identifier generation strategies for a single identifier field.
Maps an HTTP GET to this method.
See also
What a Lambda-style handler implements.
HashMap is an implementation of Map.
HashSet is an implementation of a Set.
Hashtable associates keys with values.
Expectations of the response headers, from
MockMvcResultMatchers.header().A distribution of values -- durations, sizes -- kept as counts per bucket.
A minimal HTTP/1.1 client over
Tcp.One HTTP response: status line, headers and body.
The one date format HTTP/1.1 requires on the wire ("Sun, 06 Nov 1994 08:49:37
GMT"), formatted and parsed from epoch milliseconds directly.
One HTTP/2 connection, on nghttp2.
One request, once the client has finished sending it.
A body and its headers, for
TestRestTemplate.exchange(String, HttpMethod, HttpEntity, Class, Object...).Request or response headers: names in any case, each with its values in order.
The methods
TestRestTemplate.exchange(String, HttpMethod, HttpEntity, Class, Object...) sends.An HTTP/1.1 server built around a reactor and a bounded worker pool.
One part of a
multipart/form-data request body: a form field, or an
uploaded file when it has a filename.What a handler receives.
What a handler returns.
Chooses the websocket endpoint for an upgrade request, or null when this
router does not serve that path.
What a
HttpServer.WebSocketRoutes callback puts its endpoints into.Where websocket routes come from.
State kept for one client across requests, found again through a cookie.
The common response statuses, so
assertEquals(HttpStatus.OK, response.getStatusCode()) reads as it does in Spring.A response status: an
HttpStatus for the common ones, or any other code.Designates the primary-key field of an
@Entity.Immutable composite identity, in the model's declared identifier-field order.
IdentityHashMap is a variant on HashMap which tests equality by reference
instead of equality by value.
Thrown when an application tries to load in a class, but the currently executing method does not have access to the definition of the specified class, because the class is not public and in another package.
Thrown to indicate that a method has been passed an illegal or inappropriate argument.
Thrown to indicate that a thread has attempted to wait on an object's monitor or to notify other threads waiting on an object's monitor without owning the specified monitor.
Thrown to indicate that a thread is not in an appropriate state for the requested operation.
IncompatibleClassChangeError is the superclass of all classes which
represent errors that occur when inconsistent class files are loaded into
the same running image.A mirror of java.lang.annotation.IncompleteAnnotationException.
Database index over mapped field names, declared on an entity.
Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range.
Stores an entity hierarchy in one table with an immutable discriminator.
This abstract class is the superclass of all classes representing an input stream of bytes.
An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and translates them into characters.
Thrown when an application tries to create an instance of a class using the newInstance method in class Class, but the specified class object cannot be instantiated because it is an interface or is an abstract class.
One named measurement: a counter, a gauge or a histogram.
The Integer class wraps a value of the primitive type int in an object.
Thrown when a thread is waiting, sleeping, or otherwise paused for a long time and another thread interrupts it.
Signals that an I/O operation has been interrupted.
Signals that an I/O exception of some sort has occurred.
Objects of classes that implement this interface can be used within a
foreach statement.An
Iterator is used to sequence over a collection of objects.Foreign key column on the owning table.
Join table and key column names for an owning to-many association.
A mutable query obtained from
Session.createQuery(String, Class).A self-contained JSON reader/writer for server-side binaries.
A value that knows how to write itself as JSON.
Excludes a
@Mapped field from the JSON projection.Expectations of one JSONPath into the JSON body, from
MockMvcResultMatchers.jsonPath(String, Object...).Renames a
@Mapped field in the JSON projection.HS256 JSON Web Tokens: issue one, and verify one you are handed.
Thrown for any token that is not valid and current.
Deprecated
The AWS Lambda custom-runtime loop.
Constructs this bean the first time something calls it, instead of at start-up.
An unloaded association was accessed after its session was detached or closed.
LinkageError is the superclass of all error classes that occur when
loading and linking class files.LinkedHashMap is a variant of HashMap.
LinkedHashSet is a variant of HashSet.
LinkedList is an implementation of List, backed by a linked list.
A
List is a collection which maintains an ordering for its elements.An ListIterator is used to sequence over a List of objects.
Injects the port the
BackendTest's server listens on into an int field.Explicit row-lock modes.
The Long class wraps a value of the primitive type long in an object.
A getter of a
ManagedResource bean published as a gauge.A method of a
ManagedResource bean that the management endpoint and the
development MCP server can invoke.Publishes this bean's
ManagedAttribute getters as metrics and its
ManagedOperation methods as operations -- the JMX model, over OpenTelemetry.Maps entity collection membership through a join table or an inverse mappedBy field.
Maps a single related entity using a foreign key on the owning table.
A
Map is a data structure consisting of a set of keys and values
in which each key is mapped to a single value.Map.Entry is a key/value mapping contained in a Map.Uses a target attribute as the key of an entity relationship Map.
Names the key column of a scalar element-collection Map.
Contributes inherited scalar and relationship mappings to concrete entities.
The class Math contains methods for performing basic numeric operations.
Names and describes one parameter of an
McpTool method.Publishes this method of a bean as a tool on the server's MCP endpoint, so an
agent can call it.
Media types, for
contentType(...) and accept(...).Deprecated
Deprecated
Deprecated
Something that reads
Metrics periodically and sends them somewhere --
the OTLP exporter.The server's metrics: every
Instrument by name, and the ones the
server records about itself.Replaces every bean of the field's type with a Mockito mock, and injects it:
A file part for
MockMvcRequestBuilders.multipart(String, Object...).A
multipart/form-data request, from MockMvcRequestBuilders.multipart(String, Object...):
files and fields, encoded as a browser's form post would be.Calls a running backend's routes in the same process: no socket, no port, the
same answer.
The requests
MockMvc sends, for static import:Handlers for
andDo(...), for static import.The expectations
andExpect(...) takes, for static import:One request for
MockMvc, built by MockMvcRequestBuilders.What a
MockMvc request came back with.One
MockMvc exchange: what was sent and what came back.A MySQL client speaking the client/server protocol directly, for the same
reason as
Postgres: a translated server binary has no JDBC.NavigableMap is a SortedMap with navigation methods answering the closest
matches for specified item.
NavigableSet is a SortedSet with navigation methods answering the closest
matches for specified item.
Thrown if an application tries to create an array with negative size.
Thrown if the Java Virtual Machine tries to load in the definition of a class (as part of a normal method call or as part of creating a new instance using the new expression) and no definition of the class could be found.
Thrown by the nextElement method of an Enumeration to indicate that there are no more elements in the enumeration.
Thrown when the virtual machine notices that a program tries to reference,
on a class or object, a field that does not exist.
Thrown when an application attempts to use null in a case where an object is required.
Thrown to indicate that the application has attempted to convert a string to one of the numeric types, but that the string does not have the appropriate format.
Class Object is the root of the class hierarchy.
This is a compatibility class which supports the java.util.Objects API.
Observable is used to notify a group of Observer objects when a change
occurs.
Observer is the interface to be implemented by objects that
receive notification of updates on an Observable object.Maps a collection of related entities using a join table or an inverse mappedBy field.
Maps a single related entity with a unique owning foreign key, or an inverse mappedBy field.
Traces this server with OpenTelemetry.
The row was changed or removed since it was loaded.
Orders a loaded entity collection by target attributes.
Persists the positions of elements in an owning List.
Exports
Metrics over OTLP/HTTP, every
cn1.otel.metrics.intervalMillis (OTEL_METRIC_EXPORT_INTERVAL, one minute
by default), with cumulative temporality.OpenTelemetry tracing over OTLP/HTTP, with no OpenTelemetry library behind it.
Thrown when the Java Virtual Machine cannot allocate an object because it is out of memory, and no more memory could be made available by the garbage collector.
This abstract class is the superclass of all classes representing an output stream of bytes.
An OutputStreamWriter is a bridge from character streams to byte streams: Characters written to it are translated into bytes.
An annotation to indicate that a method is intended to override a superclass
method.
An error occurred during parsing.
Maps an HTTP PATCH to this method.
Binds a
{name} segment of the path to this parameter.An ORM failure, including an underlying database failure during lazy access.
Called once the bean is constructed and every member is injected.
A PostgreSQL client speaking the v3 frontend/backend protocol directly.
Invokes a public no-argument callback after an entity is loaded or refreshed.
Maps an HTTP POST to this method.
Invokes a public no-argument callback after the entity insert succeeds, before commit.
Invokes a public no-argument callback after the entity row is deleted, before commit.
Invokes a public no-argument callback after the entity update succeeds, before commit.
Called when the server stops, after it has finished the requests in flight
and before the database closes.
Invokes a public no-argument callback before inserting a new entity during flush.
Invokes a public no-argument callback before the entity row is deleted during flush.
Invokes a public no-argument callback before a dirty entity update during flush.
The bean an injection point receives when several have its type and it names
none.
A PrintStream adds functionality to another output stream, namely the ability to print representations of various data values conveniently.
A PriorityQueue holds elements on a priority heap, which orders the elements
according to their natural order or according to the comparator specified at
construction time.
Constructs this bean only when a profile is active.
What a
Transactional method does about a transaction that is already
open on the calling thread.Maps an HTTP PUT to this method.
Picks one bean by name where several have the type an injection point asks
for.
A query named in the entity's own terms.
A mutable, parameterized query obtained from
Session.query(Class).This kind of collection provides advanced operations compared to basic
collections, such as insertion, extraction, and inspection.
An instance of this class is used to generate a stream of pseudorandom numbers.
RandomAccess is implemented by
List implementations that support fast
(usually constant time) random access.Readiness notification over epoll (Linux) or kqueue (macOS/BSD).
Abstract class for reading character streams.
Base class for Java record types.
Abstract base class for reference objects.
Binds the decoded request body to this parameter.
Binds a request header to this parameter.
A path, and optionally a verb, for a controller or one of its methods.
Binds a request parameter to this parameter: the query string's value, or,
when the query has none, a field of the form the body carries --
application/x-www-form-urlencoded, or a multipart/form-data part that is
not a file.Binds one part of a
multipart/form-data request body to this parameter.A
TestRestTemplate response: status, headers and the body converted to the
type asked for.The status this method answers with when it returns normally.
Marks a class whose methods answer HTTP requests.
What to do with a
MockMvc result: assert on it, act on it, or return it.Something done with a
MockMvc result, such as MockMvcResultHandlers.print().One expectation of a
MockMvc result, from MockMvcResultMatchers.A mirror of java.lang.annotation.RetentionPolicy.
The Runnable interface should be implemented by any class whose instances are intended to be executed by a thread.
Every Java application has a single instance of class Runtime that allows the application to interface with the environment in which the application is running.
RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine.
Amazon S3, and anything that speaks its API (MinIO, Cloudflare R2, Backblaze
B2, Wasabi, Ceph) -- which is why the endpoint is configurable rather than
assembled from a region alone.
What
S3.headObject(String, String) reports.Runs this method of a bean on a schedule.
How many instances of a bean there are, and how long each lives.
Thrown by the system to indicate a security violation.
Here to simplify porting, won't actually work...
A listening TCP socket and the blocking read/write a worker uses once it owns a
connection.
Thrown when a read or write deadline expires.
A persistence context obtained from an entity manager's
openSession() method.Where
HttpSessions are kept between requests.A
Set is a data structure which does not allow duplicate elements.The Short class is the standard wrapper for short values.
Turns SIGTERM into an ordinary blocking call, so a server can shut down cleanly
when its container asks it to.
A class for parsing and formatting dates with a given pattern, compatible
with the Java 6 API.
A reference the collector keeps while the referent is being used and memory allows, and
clears before the process runs out.
A map that has its keys ordered.
SortedSet is a Set which iterates over its elements in a sorted order.
One timed operation inside a distributed trace.
Stack is a Last-In/First-Out(LIFO) data structure which represents a
stack of objects.Minimal charset constants supported by CLDC11 stubs.
Serves files out of a document root, on the kernel's zero-copy path.
Expectations of the response status, from
MockMvcResultMatchers.status().The String class represents character strings.
A string buffer implements a mutable sequence of characters.
A string builder implements a mutable sequence of characters.
Deprecated
Thrown by the charAt method in class String and by other String methods to indicate that an index is either negative or greater than or equal to the size of the string.
A specialized
Reader that reads characters from a String in
a sequential manner.The
StringTokenizer class allows an application to break a string
into tokens by performing code point comparison.An annotation that indicates a compiler should suppress any warnings of the
type specified in the
#value().The System class contains several useful class fields and methods.
A named place background work runs: a pool of platform threads, or virtual
threads on the server's hosts.
Where background work runs: the named
TaskExecutors, and two
shorthands for running something once.Blocking TCP client socket for server-side (clean-target) binaries.
A class whose
@Bean methods add beans for a BackendTest, and only for it.An HTTP client for a
BackendTest served on a port -- webEnvironment = RANDOM_PORT -- through the backend's own outbound client, so a compiled test
sends real requests from the native binary too.A thread is a thread of execution in a program.
THE VALUES LIVE ON THE THREAD, under a WEAK key, and both halves of that are
load bearing.
The Throwable class is the superclass of all errors and exceptions in the Java language.
Records how long each call of this method takes, as a histogram.
Thrown by
Future.get(long, TimeUnit) when the work has not finished in time.A unit of time, for timeouts such as
Future.get(long, TimeUnit).TimeZone represents a time zone offset, and also figures out daylight savings.
Server-side TLS.
Where spans come from and where they go.
Distributed tracing for the server, and the hooks it is instrumented through.
What
Tracing.inSpan(String, Tracing.Work) runs.Runs this method -- or every public method of this class -- in a database
transaction.
A transaction could not begin, commit or roll back the way a
@Transactional method asked.A MANDATORY method was called with no transaction, or a NEVER one inside one.
The transaction ran past its
timeout and was rolled back.A transaction was rolled back although its own method returned normally,
because a method that joined it failed and marked it rollback-only.
The transaction a
@Transactional method runs in, bound to the calling
thread.TreeMap is an implementation of SortedMap.
TreeSet is an implementation of SortedSet.
The Character Encoding is not supported.
An implementation of a Univeral Resource Identifier (URI).
Signals that a malformed UTF-8 string has been read in a data input stream or by any class that implements the data input interface.
Injects a configuration value.
Vector is a variable size contiguous indexable array of objects.
An int or long counter maintained by a managed session for optimistic locking.
Thrown to indicate that the Java Virtual Machine is broken or has run out of resources necessary for it to continue operating.
A thread of control that is not an OS thread.
This class provides support for weak references.
Outbound HTTP and HTTPS for server-side binaries.
An outbound response: status, body, and libcurl's message when it failed.
What an application implements to serve a websocket route.
Marks a
com.codename1.backend.WebSocket as the endpoint for a path.One websocket connection: the decoder that turns bytes into messages, and the
handle an application sends through.
Abstract class for writing to character streams.
Deprecated.