Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- acceptWebSocket(WebSocket) - Method in interface dev.gmitch215.bytebox.durable.DurableState
-
Takes the server end of a WebSocket into this instance's set.
- acceptWebSocket(WebSocket, JSObject) - Method in interface dev.gmitch215.bytebox.durable.DurableState
-
Takes the server end into this instance's set, under tags.
- ack() - Method in interface dev.gmitch215.bytebox.Message
-
Marks this message delivered regardless of how the handler ends.
- ack() - Method in interface dev.gmitch215.bytebox.QueueBatch.QueueMessage
-
Marks this message delivered.
- ackAll() - Method in interface dev.gmitch215.bytebox.MessageBatch
-
Marks every message delivered regardless of how the handler ends.
- ackAll() - Method in interface dev.gmitch215.bytebox.QueueBatch
-
Marks every message delivered.
- add(BindingType...) - Method in class dev.gmitch215.bytebox.gradle.Bindings
-
Declares several bindings at once, each taking its default name.
- add(TSObject) - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Adds to this
Set. - addRequestProperty(String, String) - Method in class dev.gmitch215.bytebox.net.HttpURLConnection
- addRequestProperty(String, String) - Method in class dev.gmitch215.bytebox.net.URLConnection
-
Adds a request header, keeping any value already set.
- ai() - Method in interface dev.gmitch215.bytebox.Env
-
Returns the Workers AI binding named
AI. - ai() - Method in class dev.gmitch215.bytebox.gradle.Bindings
-
Declares the Workers AI binding, named
AI. - Ai - Interface in dev.gmitch215.bytebox.binding
-
The Workers AI binding.
- AI - Enum constant in enum class dev.gmitch215.bytebox.gradle.BindingType
-
The Workers AI binding.
- AI_SEARCH - Enum constant in enum class dev.gmitch215.bytebox.gradle.BindingType
-
An AI Search instance.
- aiSearch() - Method in interface dev.gmitch215.bytebox.Env
-
Returns the AI Search binding named
AI_SEARCH. - aiSearch(String) - Method in interface dev.gmitch215.bytebox.Env
- AiSearch - Interface in dev.gmitch215.bytebox.binding
-
An AI Search binding.
- alarm(Alarm, Env, ExecutionCtx) - Static method in class dev.gmitch215.bytebox.Handlers
-
Runs an
Alarm. - alarm(AlarmObject, DurableState, Env) - Static method in class dev.gmitch215.bytebox.durable.DurableHandlers
-
Runs an alarm.
- alarm(DurableState, Env) - Method in interface dev.gmitch215.bytebox.durable.AlarmObject
-
The alarm came due.
- alarm(Env, ExecutionCtx) - Method in interface dev.gmitch215.bytebox.Alarm
-
Runs one alarm.
- Alarm - Interface in dev.gmitch215.bytebox
-
Handles a Durable Object alarm.
- ALARM - Enum constant in enum class dev.gmitch215.bytebox.gradle.Triggers
-
A Durable Object alarm.
- alarmAt() - Method in interface dev.gmitch215.bytebox.durable.DurableState
-
Returns when the alarm is due, in milliseconds since the epoch, or 0 when none is set.
- AlarmObject - Interface in dev.gmitch215.bytebox.durable
-
A Durable Object that takes alarms.
- alarms() - Method in record class dev.gmitch215.bytebox.gradle.DurableObjects
-
Returns the value of the
alarmsrecord component. - all() - Method in interface dev.gmitch215.bytebox.binding.D1Database.D1Statement
-
Returns every matching row.
- all(JSPromise<T>...) - Static method in class dev.gmitch215.bytebox.concurrent.Async
-
Waits for every promise, in order.
- allow(String) - Method in interface dev.gmitch215.bytebox.binding.RateLimit
-
Consumes one unit of a key's allowance.
- allRows() - Method in interface dev.gmitch215.bytebox.binding.D1Database.D1Statement
- allValues(String) - Method in class dev.gmitch215.bytebox.net.http.HttpHeaders
-
Every value of a header.
- ALTERNATE - Static variable in class dev.gmitch215.bytebox.text.FormattableFlags
-
The specifier carried
#. - ALWAYS - Enum constant in enum class dev.gmitch215.bytebox.net.http.HttpClient.Redirect
-
Follow it, which is the default here as it is elsewhere.
- analytics() - Method in interface dev.gmitch215.bytebox.Env
-
Returns the Analytics Engine dataset named
ANALYTICS. - analytics(String) - Method in class dev.gmitch215.bytebox.gradle.Bindings
-
Declares an Analytics Engine dataset named
ANALYTICS. - ANALYTICS - Enum constant in enum class dev.gmitch215.bytebox.gradle.BindingType
-
An Analytics Engine dataset.
- AnalyticsEngine - Interface in dev.gmitch215.bytebox.binding
-
An Analytics Engine dataset.
- AnalyticsEngine.DataPoint - Class in dev.gmitch215.bytebox.binding
-
A data point under construction.
- any(BindingType, String, Map<String, String>) - Method in class dev.gmitch215.bytebox.gradle.Bindings
-
Declares a binding of any type, for one this block has no method for yet.
- any(String, Route) - Method in class dev.gmitch215.bytebox.http.Router
-
Adds a route for every method.
- append(String, String) - Method in interface dev.gmitch215.bytebox.Headers
-
Adds one header without replacing existing values.
- appendReplacement(StringBuilder, String) - Method in class dev.gmitch215.bytebox.regex.Matcher
-
Appends everything up to the current match, then the replacement.
- appendTail(StringBuilder) - Method in class dev.gmitch215.bytebox.regex.Matcher
-
Appends everything after the last match.
- APPLICATION_ERROR - Static variable in interface dev.gmitch215.bytebox.socket.WebSocket
-
The application's own error, and the highest code an application may send.
- apply(Project) - Method in class dev.gmitch215.bytebox.gradle.ByteboxPlugin
- array() - Static method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns a new empty array.
- array(Collection<?>) - Static method in interface dev.gmitch215.bytebox.js.TSObject
-
An array from any collection.
- asArray() - Method in interface dev.gmitch215.bytebox.durable.SQL
- asBoolean() - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns this value's truthiness.
- asByte() - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns this value as a byte, truncating the low 8 bits like a Java cast.
- asChar() - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns this value as a char.
- asDouble() - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns this value as a double.
- asDoubleList() - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns the elements of this array read as doubles.
- asFloat() - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns this value as a float, narrowed the way a Java cast narrows.
- asInt() - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns this value as an int, saturating at the bounds like a Java cast.
- asIntList() - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns the elements of this array read as ints.
- ask(String) - Method in interface dev.gmitch215.bytebox.binding.AiSearch
-
Retrieves passages and generates an answer from them.
- asList() - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns the elements of this array,
Setor other iterable. - asLong() - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns this value as a long.
- asLongList() - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns the elements of this array read as longs.
- asMap() - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns this object's own properties, or a
Map's entries. - asMatchPredicate() - Method in class dev.gmitch215.bytebox.regex.Pattern
-
Returns a predicate answering whether the pattern matches a whole string.
- asPredicate() - Method in class dev.gmitch215.bytebox.regex.Pattern
-
Returns a predicate answering whether the pattern is found anywhere in a string.
- assertOk() - Method in interface dev.gmitch215.bytebox.Response
-
Throws unless the status is in the 200s, naming the status and the body.
- asSet() - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns the elements of this array or
Set, in encounter order, without duplicates. - assets() - Method in interface dev.gmitch215.bytebox.Env
-
Returns the static assets binding named
ASSETS. - assets() - Method in class dev.gmitch215.bytebox.gradle.Bindings
-
Declares a static assets binding named
ASSETS, serving./public. - assets(String) - Method in class dev.gmitch215.bytebox.gradle.Bindings
- ASSETS - Enum constant in enum class dev.gmitch215.bytebox.gradle.BindingType
-
A static assets binding.
- asShort() - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns this value as a short, truncating the low 16 bits like a Java cast.
- asString() - Method in interface dev.gmitch215.bytebox.binding.DurableObjectNamespace.DurableObjectId
-
Returns the id as hexadecimal, which
DurableObjectNamespace.idFromString(String)reads back. - asString() - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns this value coerced to a string, the way
String(value)would. - asStringList() - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns the elements of this array read as strings.
- Async - Class in dev.gmitch215.bytebox.concurrent
-
Waiting on JavaScript from Java.
- at(int) - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Reads one element of an array.
- attach(TSObject) - Method in interface dev.gmitch215.bytebox.socket.WebSocket
-
Attaches state that survives hibernation.
- attachment() - Method in interface dev.gmitch215.bytebox.socket.WebSocket
-
Returns what
WebSocket.attach(dev.gmitch215.bytebox.js.TSObject)stored, ornull. - attempts() - Method in interface dev.gmitch215.bytebox.Message
-
Returns how many times delivery has been attempted, starting at one.
- AUTO - Enum constant in enum class dev.gmitch215.bytebox.gradle.SizeSpec.ModuleType
-
Picks on measured size: raw bytes below the crossover, a compressed frame above it.
- await(JSPromise<T>) - Static method in class dev.gmitch215.bytebox.concurrent.Async
-
Waits for a promise and returns its value.
- awaitVoid(JSPromise<?>) - Static method in class dev.gmitch215.bytebox.concurrent.Async
-
Waits for a promise whose value is not wanted.
B
- batch(D1Database.D1Statement...) - Method in interface dev.gmitch215.bytebox.binding.D1Database
-
Runs several prepared statements in one round trip, inside an implicit transaction.
- bind(Object...) - Method in interface dev.gmitch215.bytebox.binding.D1Database.D1Statement
-
Binds values to this statement's placeholders.
- BINDGEN - Static variable in class dev.gmitch215.bytebox.gradle.Runner
-
The binding generator, which ships with the bytebox npm package.
- Binding - Record Class in dev.gmitch215.bytebox.gradle
-
One declared binding, with the name it resolved to.
- Binding(BindingType, String) - Constructor for record class dev.gmitch215.bytebox.gradle.Binding
- Binding(BindingType, String, Map<String, String>) - Constructor for record class dev.gmitch215.bytebox.gradle.Binding
-
Creates an instance of a
Bindingrecord class. - bindingName() - Method in record class dev.gmitch215.bytebox.gradle.DurableObjects
-
Returns the binding name, which is
DO_and the class name upper-snaked. - bindings(BindingType...) - Method in class dev.gmitch215.bytebox.gradle.ByteboxExtension
-
Declares bindings by type, each taking its default name.
- bindings(Action<Bindings>) - Method in class dev.gmitch215.bytebox.gradle.ByteboxExtension
-
Declares bindings.
- Bindings - Class in dev.gmitch215.bytebox.gradle
-
The
bindings { }block. - Bindings() - Constructor for class dev.gmitch215.bytebox.gradle.Bindings
- Bindings.D1Spec - Class in dev.gmitch215.bytebox.gradle
-
Identifiers a D1 database can carry.
- Bindings.KvSpec - Class in dev.gmitch215.bytebox.gradle
-
Identifiers a KV namespace can carry.
- Bindings.R2Spec - Class in dev.gmitch215.bytebox.gradle
-
Identifiers an R2 bucket can carry.
- BindingsReportTask - Class in dev.gmitch215.bytebox.gradle
-
Prints every declared binding, its resolved name, and the remote resource it points at.
- BindingsReportTask() - Constructor for class dev.gmitch215.bytebox.gradle.BindingsReportTask
- BindingType - Enum Class in dev.gmitch215.bytebox.gradle
-
A binding type, for the short form of the bindings block.
- blob(String) - Method in class dev.gmitch215.bytebox.binding.AnalyticsEngine.DataPoint
-
Adds a string field.
- body() - Method in interface dev.gmitch215.bytebox.Message
-
Returns the decoded body.
- body() - Method in class dev.gmitch215.bytebox.net.http.HttpResponse
-
Returns the body, read the way the handler asked for.
- bodyPublisher() - Method in class dev.gmitch215.bytebox.net.http.HttpRequest
-
Returns the body, empty for a request that carries none.
- Bound(TSObject) - Constructor for record class dev.gmitch215.bytebox.Env.Bound
-
Creates an instance of a
Boundrecord class. - broadcast(String) - Method in interface dev.gmitch215.bytebox.durable.DurableState
-
Sends text to every open WebSocket this instance holds.
- browser() - Method in interface dev.gmitch215.bytebox.Env
-
Returns the Browser Rendering binding named
BROWSER. - browser() - Method in class dev.gmitch215.bytebox.gradle.Bindings
-
Declares the Browser Rendering binding, named
BROWSER. - BROWSER - Enum constant in enum class dev.gmitch215.bytebox.gradle.BindingType
-
The Browser Rendering binding.
- budgetBytes() - Method in class dev.gmitch215.bytebox.gradle.SizeSpec
-
The budget in bytes, or -1 when none is set.
- BUFFER_HEAP_MEGABYTES - Static variable in class dev.gmitch215.bytebox.gradle.ByteboxPlugin
-
Megabytes of linear memory the interop stages arrays through, which cannot be zero.
- build() - Method in class dev.gmitch215.bytebox.net.http.HttpClient.Builder
-
Returns the client.
- build() - Method in class dev.gmitch215.bytebox.net.http.HttpRequest.Builder
-
Returns the request.
- byName(String) - Method in interface dev.gmitch215.bytebox.binding.DurableObjectNamespace
-
The stub for a name, in one step.
- Bytebox - Class in dev.gmitch215.bytebox
-
Builds the platform types a handler returns, and reaches the platform functions that are not bindings.
- ByteboxExtension - Class in dev.gmitch215.bytebox.gradle
-
The
bytebox { }block. - ByteboxExtension(ObjectFactory) - Constructor for class dev.gmitch215.bytebox.gradle.ByteboxExtension
- ByteboxPlugin - Class in dev.gmitch215.bytebox.gradle
-
Compiles a Java workspace into a Cloudflare Worker.
- ByteboxPlugin() - Constructor for class dev.gmitch215.bytebox.gradle.ByteboxPlugin
- bytes() - Method in interface dev.gmitch215.bytebox.binding.R2Bucket.R2ObjectBody
-
Returns the body, as bytes.
- bytes() - Method in interface dev.gmitch215.bytebox.Request
-
Reads the whole body as bytes.
- bytes() - Method in interface dev.gmitch215.bytebox.Response
-
Reads the whole body as bytes.
- bytes(byte[], String) - Static method in class dev.gmitch215.bytebox.Bytebox
-
A response carrying bytes.
- bytes(ArrayBuffer, String) - Static method in class dev.gmitch215.bytebox.Bytebox
-
A response carrying bytes.
- Bytes - Class in dev.gmitch215.bytebox.js
-
Converts between a Java
byte[]and the runtime's buffers.
C
- call(String, TSObject...) - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Calls one of this object's methods.
- CANON_EQ - Static variable in class dev.gmitch215.bytebox.regex.Pattern
-
Normalise before matching, which is refused.
- CASE_INSENSITIVE - Static variable in class dev.gmitch215.bytebox.regex.Pattern
-
Fold case when matching.
- changes() - Method in interface dev.gmitch215.bytebox.binding.D1Database.D1Result
-
Returns how many rows the statement changed.
- claim(Object) - Method in interface dev.gmitch215.bytebox.io.SerialSource
-
Registers the instance being built, before any of its fields are read.
- CLASS_NAME - Static variable in class dev.gmitch215.bytebox.gradle.GenerateEntryPointTask
-
The generated class's simple name.
- className() - Method in record class dev.gmitch215.bytebox.gradle.DurableObjects
-
Returns the value of the
classNamerecord component. - className() - Method in record class dev.gmitch215.bytebox.io.SerialDescriptor
-
Returns the value of the
classNamerecord component. - client() - Method in class dev.gmitch215.bytebox.socket.WebSocketPair
-
Returns the end that goes back to the client, in a 101 response.
- Clock - Class in dev.gmitch215.bytebox.builtin
-
Time, and what the platform does to it.
- close() - Method in class dev.gmitch215.bytebox.io.ObjectInputStream
- close() - Method in class dev.gmitch215.bytebox.io.ObjectOutputStream
- close() - Method in class dev.gmitch215.bytebox.net.Socket
- close() - Method in class dev.gmitch215.bytebox.socket.Socket
- close() - Method in interface dev.gmitch215.bytebox.socket.WebSocket
-
Closes the connection normally.
- close() - Method in class dev.gmitch215.bytebox.text.Formatter
- close(int, String) - Method in interface dev.gmitch215.bytebox.socket.WebSocket
-
Closes the connection.
- closed() - Method in class dev.gmitch215.bytebox.socket.Socket
-
Returns a promise that settles when the connection closes, for
ctx.waitUntil. - closed(SocketObject, WebSocket, int, String, boolean, DurableState, Env) - Static method in class dev.gmitch215.bytebox.durable.DurableHandlers
-
Runs a close.
- closed(WebSocket, int, String, boolean, DurableState, Env) - Method in interface dev.gmitch215.bytebox.durable.SocketObject
-
A connection closed.
- Codec<T> - Interface in dev.gmitch215.bytebox.json
-
Converts one type to and from a JavaScript value.
- colo() - Method in interface dev.gmitch215.bytebox.Request
-
Returns the Cloudflare data centre that handled the request, or
null. - columnNames() - Method in interface dev.gmitch215.bytebox.durable.SQL
- columns() - Method in interface dev.gmitch215.bytebox.durable.SQL
-
Returns the column names, in the order the query returns them.
- command(List<String>) - Method in class dev.gmitch215.bytebox.gradle.Runner
-
The full command line for a Wrangler invocation.
- COMMENTS - Static variable in class dev.gmitch215.bytebox.regex.Pattern
-
Treat whitespace and
#comments in the pattern as nothing. - compare(String, String, String) - Static method in class dev.gmitch215.bytebox.builtin.Intl
-
Compares two strings the way a locale sorts them.
- CompatibilityDate - Class in dev.gmitch215.bytebox.gradle
-
Checks a compatibility date before Wrangler has to.
- compatibilityFlags(String...) - Method in class dev.gmitch215.bytebox.gradle.WranglerSpec
-
Adds compatibility flags.
- compile(String) - Static method in class dev.gmitch215.bytebox.regex.Pattern
-
Compiles a pattern.
- compile(String, int) - Static method in class dev.gmitch215.bytebox.regex.Pattern
-
Compiles a pattern with flags.
- completed(T) - Static method in class dev.gmitch215.bytebox.concurrent.Future
-
A future that is already done.
- compressionArgs(String...) - Method in class dev.gmitch215.bytebox.gradle.SizeSpec
-
Adds compressor arguments.
- configKey() - Method in enum class dev.gmitch215.bytebox.gradle.BindingType
-
Returns the Wrangler configuration key this type is written under.
- connect() - Method in class dev.gmitch215.bytebox.net.HttpURLConnection
- connect() - Method in class dev.gmitch215.bytebox.net.URLConnection
-
Sends the request, if it has not been sent.
- connect(String, int) - Static method in class dev.gmitch215.bytebox.socket.Sockets
-
Opens a connection.
- connected - Variable in class dev.gmitch215.bytebox.net.URLConnection
-
Whether
URLConnection.connect()has run. - ConnectException - Exception Class in dev.gmitch215.bytebox.net
-
A connection was refused, standing in for
java.net.ConnectException. - ConnectException() - Constructor for exception class dev.gmitch215.bytebox.net.ConnectException
-
With no message.
- ConnectException(String) - Constructor for exception class dev.gmitch215.bytebox.net.ConnectException
- connectStartTLS(String, int) - Static method in class dev.gmitch215.bytebox.socket.Sockets
-
Opens a connection that upgrades to TLS later.
- connectTimeout - Variable in class dev.gmitch215.bytebox.net.URLConnection
-
How long to allow for the connection, in milliseconds, or zero for no limit.
- connectTimeout() - Method in class dev.gmitch215.bytebox.net.http.HttpClient
-
Returns how long a connection may take to establish, empty for no limit.
- connectTimeout(Duration) - Method in class dev.gmitch215.bytebox.net.http.HttpClient.Builder
-
How long a connection may take to establish.
- connectTLS(String, int) - Static method in class dev.gmitch215.bytebox.socket.Sockets
-
Opens a connection that is TLS from the first byte.
- Consumer<T> - Interface in dev.gmitch215.bytebox
-
Consumes messages from a Queue.
- container(String) - Method in interface dev.gmitch215.bytebox.Env
- Container - Interface in dev.gmitch215.bytebox.binding
-
A Containers binding.
- CONTAINER - Enum constant in enum class dev.gmitch215.bytebox.gradle.BindingType
-
A container.
- contentLength() - Method in class dev.gmitch215.bytebox.net.http.HttpRequest.BodyPublisher
-
Returns the length, which is always known because the body is always in hand.
- contribute(SubstitutionSink) - Method in class dev.gmitch215.bytebox.io.Substitutions
- contribute(SubstitutionSink) - Method in class dev.gmitch215.bytebox.net.Substitutions
- contribute(SubstitutionSink) - Method in class dev.gmitch215.bytebox.regex.Substitutions
- contribute(SubstitutionSink) - Method in class dev.gmitch215.bytebox.text.Substitutions
- contribute(SubstitutionSink) - Method in class dev.gmitch215.bytebox.time.Substitutions
- country() - Method in interface dev.gmitch215.bytebox.Request
-
Returns the two-letter country Cloudflare resolved the client to, or
null. - create() - Static method in class dev.gmitch215.bytebox.concurrent.Deferred
- create() - Static method in class dev.gmitch215.bytebox.http.Router
-
Returns a new router with no routes.
- create() - Static method in class dev.gmitch215.bytebox.socket.WebSocketPair
-
Returns a new pair.
- create(TSObject) - Method in interface dev.gmitch215.bytebox.binding.Workflow
- Cron - Record Class in dev.gmitch215.bytebox
-
The Cron Trigger that started a scheduled invocation.
- Cron(String, long) - Constructor for record class dev.gmitch215.bytebox.Cron
-
Creates an instance of a
Cronrecord class. - crons(String...) - Method in class dev.gmitch215.bytebox.gradle.WranglerSpec
-
Adds Cron Triggers.
- Crypto - Class in dev.gmitch215.bytebox.builtin
-
The platform's Web Crypto, exposed as itself.
- currency(double, String, String) - Static method in class dev.gmitch215.bytebox.builtin.Intl
-
Formats an amount of money.
D
- d1() - Method in interface dev.gmitch215.bytebox.Env
-
Returns the D1 database named
DB. - d1() - Method in class dev.gmitch215.bytebox.gradle.Bindings
-
Declares a D1 database named
DB. - d1(String) - Method in interface dev.gmitch215.bytebox.Env
- d1(String) - Method in class dev.gmitch215.bytebox.gradle.Bindings
- d1(String, Action<Bindings.D1Spec>) - Method in class dev.gmitch215.bytebox.gradle.Bindings
- D1 - Enum constant in enum class dev.gmitch215.bytebox.gradle.BindingType
-
A D1 database.
- D1Database - Interface in dev.gmitch215.bytebox.binding
-
A D1 database.
- D1Database.D1ExecResult - Interface in dev.gmitch215.bytebox.binding
-
What
D1Database.exec(String)answers. - D1Database.D1Meta - Interface in dev.gmitch215.bytebox.binding
-
What a statement cost.
- D1Database.D1Result - Interface in dev.gmitch215.bytebox.binding
-
What a statement produced.
- D1Database.D1Statement - Interface in dev.gmitch215.bytebox.binding
-
A prepared statement.
- D1Spec() - Constructor for class dev.gmitch215.bytebox.gradle.Bindings.D1Spec
- DATA - Enum constant in enum class dev.gmitch215.bytebox.gradle.SizeSpec.ModuleType
-
Raw bytes in a
Datamodule, compressed by Cloudflare's own gzip. - DATA_COMPRESSED - Enum constant in enum class dev.gmitch215.bytebox.gradle.SizeSpec.ModuleType
-
A compressed frame in a
Datamodule, inflated at module scope. - dateTime(double, String, TSObject) - Static method in class dev.gmitch215.bytebox.builtin.Intl
-
Formats an instant with options.
- dateTime(double, String, String) - Static method in class dev.gmitch215.bytebox.builtin.Intl
-
Formats an instant in a timezone.
- decode(byte[]) - Static method in class dev.gmitch215.bytebox.builtin.Text
-
Decodes UTF-8.
- decode(byte[], Class<T>) - Static method in class dev.gmitch215.bytebox.io.Serial
-
Reads an object.
- decode(byte[], String) - Static method in class dev.gmitch215.bytebox.builtin.Text
-
Decodes bytes in a named encoding.
- decode(TSObject) - Method in interface dev.gmitch215.bytebox.json.Codec
-
Reads a value.
- decode(TSObject, Class<T>) - Static method in class dev.gmitch215.bytebox.json.JSON
-
Reads a JavaScript value as a Java type.
- decode(ArrayBuffer) - Static method in class dev.gmitch215.bytebox.builtin.Text
-
Decodes UTF-8.
- decode(ArrayBuffer, String) - Static method in class dev.gmitch215.bytebox.builtin.Text
-
Decodes bytes in a named encoding.
- decoder() - Method in enum class dev.gmitch215.bytebox.gradle.SizeSpec.Compressor
-
Returns the npm package holding the synchronous decoder, or null when none is needed.
- defaultName() - Method in enum class dev.gmitch215.bytebox.gradle.BindingType
-
Returns the name the first binding of this type takes.
- Deferred<T> - Class in dev.gmitch215.bytebox.concurrent
-
A JavaScript promise that Java settles.
- delete(String) - Method in interface dev.gmitch215.bytebox.binding.KVNamespace
-
Removes a key.
- delete(String) - Method in interface dev.gmitch215.bytebox.binding.R2Bucket
-
Removes an object.
- delete(String) - Method in interface dev.gmitch215.bytebox.durable.DurableState
-
Removes a key.
- delete(String) - Method in interface dev.gmitch215.bytebox.Headers
-
Removes a header.
- delete(String...) - Method in interface dev.gmitch215.bytebox.binding.R2Bucket
-
Removes several objects in one call.
- delete(String, Route) - Method in class dev.gmitch215.bytebox.http.Router
-
Adds a
DELETEroute. - DELETE() - Method in class dev.gmitch215.bytebox.net.http.HttpRequest.Builder
-
Returns this builder, sending a DELETE.
- deleteAlarm() - Method in interface dev.gmitch215.bytebox.durable.DurableState
-
Cancels the alarm.
- deleteAll() - Method in interface dev.gmitch215.bytebox.durable.DurableState
-
Removes everything this instance holds, including the alarm.
- deleteByIds(String...) - Method in interface dev.gmitch215.bytebox.binding.Vectorize
-
Removes vectors by id.
- deleteObject(String) - Method in interface dev.gmitch215.bytebox.binding.R2Bucket
- deleteObjects(JSArray<JSString>) - Method in interface dev.gmitch215.bytebox.binding.R2Bucket
- describe() - Method in interface dev.gmitch215.bytebox.binding.Vectorize
-
Returns the index's dimension, metric and vector count.
- describe() - Method in class dev.gmitch215.bytebox.gradle.Runner
-
Returns a description for the build log.
- describeIndex() - Method in interface dev.gmitch215.bytebox.binding.Vectorize
- descriptors() - Method in interface dev.gmitch215.bytebox.io.SerialCodec
-
Returns the class hierarchy's descriptors, most derived first.
- dev.gmitch215.bytebox - package dev.gmitch215.bytebox
-
Worker entry points and the HTTP types a handler works in.
- dev.gmitch215.bytebox.binding - package dev.gmitch215.bytebox.binding
-
The Cloudflare bindings, reached through
Env. - dev.gmitch215.bytebox.builtin - package dev.gmitch215.bytebox.builtin
-
Platform facilities exposed as themselves rather than behind a Java API.
- dev.gmitch215.bytebox.concurrent - package dev.gmitch215.bytebox.concurrent
-
Suspension, and the pieces that make a blocking API possible.
- dev.gmitch215.bytebox.durable - package dev.gmitch215.bytebox.durable
- dev.gmitch215.bytebox.gradle - package dev.gmitch215.bytebox.gradle
-
The Gradle plugin that turns a Java workspace into a Cloudflare Worker.
- dev.gmitch215.bytebox.http - package dev.gmitch215.bytebox.http
-
Routing a request to a handler.
- dev.gmitch215.bytebox.io - package dev.gmitch215.bytebox.io
- dev.gmitch215.bytebox.js - package dev.gmitch215.bytebox.js
-
Reaching any JavaScript value from Java.
- dev.gmitch215.bytebox.json - package dev.gmitch215.bytebox.json
-
JSON, through generated codecs rather than reflection.
- dev.gmitch215.bytebox.net - package dev.gmitch215.bytebox.net
- dev.gmitch215.bytebox.net.http - package dev.gmitch215.bytebox.net.http
-
The
java.net.httpclient, overfetch. - dev.gmitch215.bytebox.regex - package dev.gmitch215.bytebox.regex
-
What makes
java.util.regexwork here, which nothing in a project has to name. - dev.gmitch215.bytebox.socket - package dev.gmitch215.bytebox.socket
-
Raw outbound TCP, over
cloudflare:sockets. - dev.gmitch215.bytebox.text - package dev.gmitch215.bytebox.text
-
What makes
String.formatcost what it costs here, which nothing in a project has to name. - dev.gmitch215.bytebox.time - package dev.gmitch215.bytebox.time
-
What makes
java.timework, which nothing in a project has to name. - digest(String, byte[]) - Static method in class dev.gmitch215.bytebox.builtin.Crypto
-
Hashes bytes with a named algorithm.
- digest(String, ArrayBuffer) - Static method in class dev.gmitch215.bytebox.builtin.Crypto
-
Hashes bytes with a named algorithm.
- discarding() - Static method in class dev.gmitch215.bytebox.net.http.HttpResponse.BodyHandlers
-
Returns a handler that reads the body and throws it away.
- disconnect() - Method in class dev.gmitch215.bytebox.net.HttpURLConnection
-
Releases the response.
- dispatch() - Method in interface dev.gmitch215.bytebox.Env
-
Returns the dispatch namespace named
DISPATCH. - DISPATCH - Enum constant in enum class dev.gmitch215.bytebox.gradle.BindingType
-
A Workers for Platforms dispatch namespace.
- DispatchNamespace - Interface in dev.gmitch215.bytebox.binding
-
A Workers for Platforms dispatch namespace.
- disposition() - Method in interface dev.gmitch215.bytebox.InboundMail
-
Returns what has been done with this message so far.
- doInput - Variable in class dev.gmitch215.bytebox.net.URLConnection
-
Whether the caller intends to read a body.
- doOutput - Variable in class dev.gmitch215.bytebox.net.URLConnection
-
Whether the caller intends to write a body.
- doPause() - Method in interface dev.gmitch215.bytebox.binding.Workflow.Instance
- doResume() - Method in interface dev.gmitch215.bytebox.binding.Workflow.Instance
- doSendEvent(TSObject) - Method in interface dev.gmitch215.bytebox.binding.Workflow.Instance
- doSignal(int) - Method in interface dev.gmitch215.bytebox.binding.Container
- doStart(TSObject) - Method in interface dev.gmitch215.bytebox.binding.Container
- DOTALL - Static variable in class dev.gmitch215.bytebox.regex.Pattern
-
Let
.match a line terminator. - doTerminate() - Method in interface dev.gmitch215.bytebox.binding.Workflow.Instance
- drop() - Method in interface dev.gmitch215.bytebox.InboundMail
-
Discards the message on purpose.
- DROPPED - Enum constant in enum class dev.gmitch215.bytebox.MailAction
-
Discarded on purpose.
- DURABLE_OBJECT - Enum constant in enum class dev.gmitch215.bytebox.gradle.BindingType
-
A Durable Object namespace.
- DurableHandlers - Class in dev.gmitch215.bytebox.durable
-
What the generated Durable Object exports call.
- durableObject(String) - Method in interface dev.gmitch215.bytebox.Env
- durableObject(String) - Method in class dev.gmitch215.bytebox.gradle.Bindings
-
Declares a Durable Object namespace, named
DO_and the class name upper-snaked. - durableObject(String, String) - Method in class dev.gmitch215.bytebox.gradle.Bindings
-
Declares a Durable Object living in another Worker.
- DurableObject - Interface in dev.gmitch215.bytebox.durable
-
A Durable Object written in Java.
- DurableObjectNamespace - Interface in dev.gmitch215.bytebox.binding
-
A Durable Object binding.
- DurableObjectNamespace.DurableObjectId - Interface in dev.gmitch215.bytebox.binding
-
An instance's identity.
- DurableObjectNamespace.DurableObjectStub - Interface in dev.gmitch215.bytebox.binding
-
A handle on one instance.
- durableObjects(String...) - Method in class dev.gmitch215.bytebox.gradle.ByteboxExtension
-
Exposes Java classes as Durable Objects.
- DurableObjects - Record Class in dev.gmitch215.bytebox.gradle
-
A Durable Object class written in Java, and which of its handlers exist.
- DurableObjects(String, boolean, boolean) - Constructor for record class dev.gmitch215.bytebox.gradle.DurableObjects
-
Creates an instance of a
DurableObjectsrecord class. - DurableState - Interface in dev.gmitch215.bytebox.durable
-
A Durable Object's own context: its storage, its alarm, and its WebSockets.
- DurableState.Storage - Interface in dev.gmitch215.bytebox.durable
-
A Durable Object's storage.
E
- email() - Method in interface dev.gmitch215.bytebox.Env
-
Returns the email sending binding named
EMAIL. - email(InboundMail, Env, ExecutionCtx) - Method in interface dev.gmitch215.bytebox.Mail
-
Handles one inbound message.
- email(Mail, MailMessage, Env, ExecutionCtx) - Static method in class dev.gmitch215.bytebox.Handlers
-
Runs a
Mail. - email(String) - Method in interface dev.gmitch215.bytebox.Env
- email(String) - Method in class dev.gmitch215.bytebox.gradle.Bindings
-
Declares an email sending binding named
EMAIL. - EMAIL - Enum constant in enum class dev.gmitch215.bytebox.gradle.BindingType
-
An email sending binding.
- EMAIL - Enum constant in enum class dev.gmitch215.bytebox.gradle.Triggers
-
Incoming email.
- EmailSender - Interface in dev.gmitch215.bytebox.binding
-
An email sending binding.
- embed(String, String) - Method in interface dev.gmitch215.bytebox.binding.Ai
-
Embeds text with an embedding model, which is the common case worth naming.
- encode(Object) - Static method in class dev.gmitch215.bytebox.io.Serial
-
Writes an object.
- encode(String) - Static method in class dev.gmitch215.bytebox.builtin.Text
-
Encodes text as UTF-8.
- encode(T) - Method in interface dev.gmitch215.bytebox.json.Codec
-
Writes a value.
- encode(T, Class<T>) - Static method in class dev.gmitch215.bytebox.json.JSON
-
Writes a Java value as a JavaScript value.
- end() - Method in class dev.gmitch215.bytebox.regex.Matcher
- end(int) - Method in class dev.gmitch215.bytebox.regex.Matcher
- end(String) - Method in class dev.gmitch215.bytebox.regex.Matcher
- entries() - Method in interface dev.gmitch215.bytebox.durable.DurableState.Storage
- ENUM - Static variable in record class dev.gmitch215.bytebox.io.SerialDescriptor
-
An enum class, whose constants are written by name.
- Env - Interface in dev.gmitch215.bytebox
-
The bindings declared in the Wrangler configuration, addressed by their binding names.
- Env.Bound - Record Class in dev.gmitch215.bytebox
-
A binding that is present, waiting to be typed.
- equals(Object) - Method in record class dev.gmitch215.bytebox.Cron
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.gmitch215.bytebox.Env.Bound
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.gmitch215.bytebox.gradle.Binding
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.gmitch215.bytebox.gradle.DurableObjects
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.gmitch215.bytebox.io.SerialDescriptor
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.gmitch215.bytebox.io.SerialField
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class dev.gmitch215.bytebox.net.http.HttpHeaders
- equals(Object) - Method in class dev.gmitch215.bytebox.net.InetAddress
- equals(Object) - Method in class dev.gmitch215.bytebox.net.URL
- equals(Object) - Method in class dev.gmitch215.bytebox.time.ZoneRules
- exec(String) - Method in interface dev.gmitch215.bytebox.binding.D1Database
-
Runs one or more statements that take no values.
- executable() - Method in class dev.gmitch215.bytebox.gradle.Runner
-
Returns the resolved executable, so a build can log which one it found.
- execute(String) - Method in interface dev.gmitch215.bytebox.binding.D1Database
- ExecutionCtx - Interface in dev.gmitch215.bytebox
-
The per-invocation context Cloudflare passes to every handler.
- expectContinue(boolean) - Method in class dev.gmitch215.bytebox.net.http.HttpRequest.Builder
-
Whether to expect a 100-continue, which the platform does not send.
- exportName() - Method in enum class dev.gmitch215.bytebox.gradle.Triggers
-
Returns the name the generated Worker exports for this trigger.
- exportPrefix() - Method in record class dev.gmitch215.bytebox.gradle.DurableObjects
-
The prefix every export for this object shares.
- expression() - Method in record class dev.gmitch215.bytebox.Cron
-
Returns the value of the
expressionrecord component.
F
- failed(SocketObject, WebSocket, String, DurableState, Env) - Static method in class dev.gmitch215.bytebox.durable.DurableHandlers
-
Runs a failure.
- failed(WebSocket, String, DurableState, Env) - Method in interface dev.gmitch215.bytebox.durable.SocketObject
-
A connection failed.
- failed(Throwable) - Static method in class dev.gmitch215.bytebox.concurrent.Future
-
A future that has already failed.
- fetch(DurableObject, Request, DurableState, Env) - Static method in class dev.gmitch215.bytebox.durable.DurableHandlers
-
Runs a request.
- fetch(Request) - Method in interface dev.gmitch215.bytebox.binding.DurableObjectNamespace.DurableObjectStub
-
Sends a request to the instance.
- fetch(Request) - Method in interface dev.gmitch215.bytebox.binding.Fetcher
-
Sends a request.
- fetch(Request) - Static method in class dev.gmitch215.bytebox.Bytebox
-
Sends a request to the internet.
- fetch(Request, DurableState, Env) - Method in interface dev.gmitch215.bytebox.durable.DurableObject
-
Answers a request routed to this instance.
- fetch(Request, Env, ExecutionCtx) - Method in interface dev.gmitch215.bytebox.Worker
-
Answers one HTTP request.
- fetch(Worker, Request, Env, ExecutionCtx) - Static method in class dev.gmitch215.bytebox.Handlers
-
Runs a
Worker. - fetch(String) - Method in interface dev.gmitch215.bytebox.binding.DurableObjectNamespace.DurableObjectStub
-
Sends a request to the instance by URL.
- fetch(String) - Method in interface dev.gmitch215.bytebox.binding.Fetcher
-
Sends a GET to a URL.
- fetch(String) - Static method in class dev.gmitch215.bytebox.Bytebox
-
Sends a request to the internet.
- fetch(String, TSObject) - Method in interface dev.gmitch215.bytebox.binding.Fetcher
-
Sends a request built from a URL and options.
- fetch(String, TSObject) - Static method in class dev.gmitch215.bytebox.Bytebox
-
Sends a request with options.
- FETCH - Enum constant in enum class dev.gmitch215.bytebox.gradle.Triggers
-
HTTP requests.
- fetchByIds(JSArray<TSObject>) - Method in interface dev.gmitch215.bytebox.binding.Vectorize
- Fetcher - Interface in dev.gmitch215.bytebox.binding
-
Anything reachable by sending it a request.
- fetchInstance(String) - Method in interface dev.gmitch215.bytebox.binding.Workflow
- fields() - Method in record class dev.gmitch215.bytebox.io.SerialDescriptor
-
Returns the value of the
fieldsrecord component. - filter(Request, Map<String, String>, Env, ExecutionCtx, Supplier<Response>) - Method in interface dev.gmitch215.bytebox.http.Filter
-
Sees the request.
- Filter - Interface in dev.gmitch215.bytebox.http
-
Something that sees every request before the route does.
- find() - Method in class dev.gmitch215.bytebox.regex.Matcher
-
Finds the next match after where the last one ended.
- find(int) - Method in class dev.gmitch215.bytebox.regex.Matcher
-
Finds the next match from a position, forgetting where the last one ended.
- first() - Method in interface dev.gmitch215.bytebox.binding.D1Database.D1Statement
-
Returns the first row, or
nullwhen the query matched nothing. - first(String) - Method in interface dev.gmitch215.bytebox.binding.D1Database.D1Statement
-
Reads one column of the first row.
- firstColumn(String) - Method in interface dev.gmitch215.bytebox.binding.D1Database.D1Statement
- firstRow() - Method in interface dev.gmitch215.bytebox.binding.D1Database.D1Statement
- firstValue(String) - Method in class dev.gmitch215.bytebox.net.http.HttpHeaders
-
The last value of a header.
- firstValueAsLong(String) - Method in class dev.gmitch215.bytebox.net.http.HttpHeaders
-
The value of a header read as a number.
- flags() - Method in record class dev.gmitch215.bytebox.io.SerialDescriptor
-
Returns the value of the
flagsrecord component. - flags() - Method in class dev.gmitch215.bytebox.regex.Pattern
-
Returns the flags it was compiled with.
- flush() - Method in class dev.gmitch215.bytebox.io.ObjectOutputStream
-
Flushes the underlying stream.
- flush() - Method in class dev.gmitch215.bytebox.text.Formatter
- followRedirects() - Method in class dev.gmitch215.bytebox.net.http.HttpClient
-
Returns how redirects are handled.
- followRedirects(HttpClient.Redirect) - Method in class dev.gmitch215.bytebox.net.http.HttpClient.Builder
-
What to do with a redirect.
- format(String, Object...) - Method in class dev.gmitch215.bytebox.text.Formatter
-
Writes a formatted string.
- format(Locale, String, Object...) - Method in class dev.gmitch215.bytebox.text.Formatter
-
Writes a formatted string in a given locale.
- Formattable - Interface in dev.gmitch215.bytebox.text
-
A type that formats itself, standing in for
java.util.Formattable. - FormattableFlags - Class in dev.gmitch215.bytebox.text
-
The flags a
Formattableis told about, standing in forjava.util.FormattableFlags. - Formatter - Class in dev.gmitch215.bytebox.text
-
A formatter, standing in for
java.util.Formatter. - Formatter() - Constructor for class dev.gmitch215.bytebox.text.Formatter
-
Writing into a string, in the platform's own locale.
- Formatter(Appendable) - Constructor for class dev.gmitch215.bytebox.text.Formatter
- Formatter(Appendable, Locale) - Constructor for class dev.gmitch215.bytebox.text.Formatter
- Formatter(Locale) - Constructor for class dev.gmitch215.bytebox.text.Formatter
- formatTo(Formatter, int, int, int) - Method in interface dev.gmitch215.bytebox.text.Formattable
-
Writes this into a formatter.
- forward(String) - Method in interface dev.gmitch215.bytebox.InboundMail
-
Sends the message on to a verified destination address.
- forward(String) - Method in interface dev.gmitch215.bytebox.MailMessage
-
Sends the message on to a verified destination address.
- FORWARDED - Enum constant in enum class dev.gmitch215.bytebox.MailAction
-
Sent on to a verified destination address.
- from() - Method in interface dev.gmitch215.bytebox.InboundMail
-
Returns the envelope sender.
- from(Object) - Static method in interface dev.gmitch215.bytebox.js.TSObject
-
Converts any Java value, deciding by its runtime type.
- fromBase64(String) - Static method in class dev.gmitch215.bytebox.builtin.Text
-
Decodes base64.
- fromBuffer(ArrayBuffer) - Static method in class dev.gmitch215.bytebox.js.Bytes
-
A buffer as a Java array.
- fromHex(String) - Static method in class dev.gmitch215.bytebox.builtin.Text
-
Decodes hexadecimal.
- fromJson(String) - Static method in interface dev.gmitch215.bytebox.js.TSObject
-
Parses JSON.
- fromView(ArrayBufferView) - Static method in class dev.gmitch215.bytebox.js.Bytes
-
A view as a Java array.
- Future<T> - Class in dev.gmitch215.bytebox.concurrent
-
A value that is not here yet, backed by a JavaScript promise.
G
- generate() - Method in class dev.gmitch215.bytebox.gradle.GenerateCodecsTask
-
Writes the codecs.
- generate() - Method in class dev.gmitch215.bytebox.gradle.GenerateEntryPointTask
-
Writes the entry point.
- generate() - Method in class dev.gmitch215.bytebox.gradle.GenerateNPMBindingsTask
-
Runs the generator.
- generate() - Method in class dev.gmitch215.bytebox.gradle.GenerateScaffoldTask
-
Writes the project.
- generate() - Method in class dev.gmitch215.bytebox.gradle.GenerateSerialCodecsTask
-
Writes the codecs.
- GenerateCodecsTask - Class in dev.gmitch215.bytebox.gradle
-
Writes a JSON codec for every type asked for, and one class that registers them all.
- GenerateCodecsTask() - Constructor for class dev.gmitch215.bytebox.gradle.GenerateCodecsTask
- GENERATED_SOURCE_SET - Static variable in class dev.gmitch215.bytebox.gradle.ByteboxPlugin
-
The source set the generated entry point and codecs are compiled in.
- GenerateEntryPointTask - Class in dev.gmitch215.bytebox.gradle
-
Writes the Java class the compiled module exports its handlers from.
- GenerateEntryPointTask() - Constructor for class dev.gmitch215.bytebox.gradle.GenerateEntryPointTask
- GenerateNPMBindingsTask - Class in dev.gmitch215.bytebox.gradle
-
Writes Java bindings for the npm packages a project asks for, from their TypeScript types.
- GenerateNPMBindingsTask(ExecOperations) - Constructor for class dev.gmitch215.bytebox.gradle.GenerateNPMBindingsTask
- GenerateScaffoldTask - Class in dev.gmitch215.bytebox.gradle
-
Writes the Worker project around the compiled module: the Wrangler configuration, the JavaScript entry point, and the package manifest.
- GenerateScaffoldTask() - Constructor for class dev.gmitch215.bytebox.gradle.GenerateScaffoldTask
- GenerateSerialCodecsTask - Class in dev.gmitch215.bytebox.gradle
-
Writes a codec for every type annotated
@SerialType, in Java's own serialization format. - GenerateSerialCodecsTask() - Constructor for class dev.gmitch215.bytebox.gradle.GenerateSerialCodecsTask
- get(DurableObjectNamespace.DurableObjectId) - Method in interface dev.gmitch215.bytebox.binding.DurableObjectNamespace
-
The stub for an id, which is a handle rather than a round trip.
- get(String) - Method in interface dev.gmitch215.bytebox.binding.DispatchNamespace
-
Gets a handle on a user Worker.
- get(String) - Method in interface dev.gmitch215.bytebox.binding.KVNamespace
-
Reads a value as text.
- get(String) - Method in interface dev.gmitch215.bytebox.binding.R2Bucket
-
Reads an object.
- get(String) - Method in interface dev.gmitch215.bytebox.durable.DurableState
-
Reads a value.
- get(String) - Method in interface dev.gmitch215.bytebox.Env
-
Reads one binding by name, whatever its type.
- get(String) - Method in interface dev.gmitch215.bytebox.Headers
-
Reads one header.
- get(String) - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Reads one property.
- get(String, Route) - Method in class dev.gmitch215.bytebox.http.Router
-
Adds a
GETroute. - get(String, TSObject, TSObject) - Method in interface dev.gmitch215.bytebox.binding.DispatchNamespace
-
Gets a handle on a user Worker, with arguments and limits.
- get(String, String) - Method in interface dev.gmitch215.bytebox.Headers
-
Reads a header, falling back when absent.
- GET() - Method in class dev.gmitch215.bytebox.net.http.HttpRequest.Builder
-
Returns this builder, sending a GET.
- getAddress() - Method in class dev.gmitch215.bytebox.net.InetAddress
-
Returns the four or sixteen bytes of the address.
- getAll() - Method in class dev.gmitch215.bytebox.gradle.Bindings
-
Returns every binding declared so far, in declaration order.
- getAllByName(String) - Static method in class dev.gmitch215.bytebox.net.InetAddress
-
Every address of a host.
- getArgs() - Method in class dev.gmitch215.bytebox.gradle.WranglerTask
-
Returns extra arguments from the command line.
- getAttempts() - Method in interface dev.gmitch215.bytebox.QueueBatch.QueueMessage
-
Returns how many times delivery has been attempted.
- getAuthority() - Method in class dev.gmitch215.bytebox.net.URL
-
Returns the host and port as written, which is the host alone on a default port.
- getAvailableZoneIds() - Static method in class dev.gmitch215.bytebox.time.ZoneRulesProvider
-
Returns every identifier the platform names, which excludes aliases it nonetheless accepts.
- getBindings() - Method in class dev.gmitch215.bytebox.gradle.BindingsReportTask
-
Returns the declared bindings.
- getBindings() - Method in class dev.gmitch215.bytebox.gradle.ByteboxExtension
-
Returns the declared bindings.
- getBindings() - Method in class dev.gmitch215.bytebox.gradle.GenerateScaffoldTask
-
Returns the declared bindings.
- getBody() - Method in interface dev.gmitch215.bytebox.QueueBatch.QueueMessage
-
Returns the body, which is any structured-clone value.
- getBucketName() - Method in class dev.gmitch215.bytebox.gradle.Bindings.R2Spec
-
Returns the bucket's own name.
- getBudget() - Method in class dev.gmitch215.bytebox.gradle.PackWasmTask
-
Returns the ceiling to fail past, in bytes on the gzip meter, or -1 for none.
- getBudget() - Method in class dev.gmitch215.bytebox.gradle.SizeReportTask
-
Returns the ceiling to compare against, or -1 for none.
- getBudget() - Method in class dev.gmitch215.bytebox.gradle.SizeSpec
-
Returns a ceiling the build fails past, measured on Wrangler's gzip meter.
- getBuffer(String, String) - Method in interface dev.gmitch215.bytebox.binding.KVNamespace
- getByAddress(byte[]) - Static method in class dev.gmitch215.bytebox.net.InetAddress
-
An address, without asking a resolver.
- getByAddress(String, byte[]) - Static method in class dev.gmitch215.bytebox.net.InetAddress
-
An address for a host name, without asking a resolver.
- getByIds(String...) - Method in interface dev.gmitch215.bytebox.binding.Vectorize
-
Reads vectors by id.
- getByName(String) - Static method in class dev.gmitch215.bytebox.net.InetAddress
-
The address of a host.
- getByteboxVersion() - Method in class dev.gmitch215.bytebox.gradle.GenerateScaffoldTask
-
Returns the version of bytebox to depend on.
- getBytes(String) - Method in interface dev.gmitch215.bytebox.binding.KVNamespace
-
Reads a value as bytes.
- getBytes(String) - Method in interface dev.gmitch215.bytebox.binding.R2Bucket
-
Reads an object's body as bytes.
- getCanonicalHostName() - Method in class dev.gmitch215.bytebox.net.InetAddress
-
Returns the same as
InetAddress.getHostName(), since no reverse lookup is made. - getCf() - Method in interface dev.gmitch215.bytebox.Request
-
Returns Cloudflare's own request properties, such as
countryandcolo. - getChanges() - Method in interface dev.gmitch215.bytebox.binding.D1Database.D1Meta
-
Returns how many rows changed.
- getClasspath() - Method in class dev.gmitch215.bytebox.gradle.GenerateCodecsTask
-
Returns everything needed to resolve those classes, including bytebox itself.
- getClasspath() - Method in class dev.gmitch215.bytebox.gradle.GenerateSerialCodecsTask
-
Returns everything needed to resolve those classes, including bytebox itself.
- getCommand() - Method in class dev.gmitch215.bytebox.gradle.WranglerTask
-
Returns the Wrangler subcommand and its fixed arguments.
- getCompatibilityDate() - Method in class dev.gmitch215.bytebox.gradle.GenerateScaffoldTask
-
Returns the compatibility date.
- getCompatibilityDate() - Method in class dev.gmitch215.bytebox.gradle.WranglerSpec
-
Returns the compatibility date.
- getCompatibilityFlags() - Method in class dev.gmitch215.bytebox.gradle.GenerateScaffoldTask
-
Returns the compatibility flags, before the Node ones are dealt with.
- getCompatibilityFlags() - Method in class dev.gmitch215.bytebox.gradle.WranglerSpec
-
Returns the compatibility flags.
- getCompression() - Method in class dev.gmitch215.bytebox.gradle.PackWasmTask
-
Returns the compressor, when one was chosen.
- getCompression() - Method in class dev.gmitch215.bytebox.gradle.SizeSpec
-
Returns which compressor packs the module.
- getCompressionArgs() - Method in class dev.gmitch215.bytebox.gradle.SizeSpec
-
Returns extra arguments for the chosen compressor.
- getCompressionLevel() - Method in class dev.gmitch215.bytebox.gradle.SizeSpec
-
Returns the compression level, passed through to the chosen compressor.
- getConfirmed() - Method in class dev.gmitch215.bytebox.gradle.WranglerTask
-
Returns whether a write was confirmed.
- getConnectionString() - Method in interface dev.gmitch215.bytebox.binding.Hyperdrive
-
Returns the connection string to hand a driver.
- getConnectTimeout() - Method in class dev.gmitch215.bytebox.net.URLConnection
-
Returns the connection limit in milliseconds.
- getContentEncoding() - Method in class dev.gmitch215.bytebox.net.URLConnection
-
Returns the declared body encoding, or null when the response does not declare one.
- getContentLength() - Method in class dev.gmitch215.bytebox.net.URLConnection
-
Returns the declared body length, or -1 when the response does not declare one.
- getContentLengthLong() - Method in class dev.gmitch215.bytebox.net.URLConnection
-
Returns the declared body length, or -1 when the response does not declare one.
- getContentType() - Method in class dev.gmitch215.bytebox.net.URLConnection
-
Returns the declared media type, or null when the response does not declare one.
- getCoreDependency() - Method in class dev.gmitch215.bytebox.gradle.ByteboxExtension
-
Returns whether applying the plugin puts bytebox on the classpath, which it does by default.
- getCoreVersion() - Method in class dev.gmitch215.bytebox.gradle.ByteboxExtension
-
Returns the version of
bytebox-coreto add, defaulting to the plugin's own. - getCount() - Method in interface dev.gmitch215.bytebox.binding.D1Database.D1ExecResult
-
Returns how many statements ran.
- getCpuTime() - Method in interface dev.gmitch215.bytebox.TraceItem
-
Returns CPU milliseconds the invocation consumed.
- getCron() - Method in interface dev.gmitch215.bytebox.ScheduledController
-
Returns the cron expression that fired.
- getCrons() - Method in class dev.gmitch215.bytebox.gradle.GenerateScaffoldTask
-
Returns the Cron Triggers that fire it.
- getCrons() - Method in class dev.gmitch215.bytebox.gradle.WranglerSpec
-
Returns the Cron Triggers that fire it.
- getCursor() - Method in interface dev.gmitch215.bytebox.binding.KVNamespace.Listing
-
Returns where the next page starts, or
nullwhen this one is the last. - getCursor() - Method in interface dev.gmitch215.bytebox.binding.R2Bucket.R2Objects
-
Returns where the next page starts, or
nullwhen this one is the last. - getCustomMetadata() - Method in interface dev.gmitch215.bytebox.binding.R2Bucket.R2Object
-
Returns the custom metadata stored with the object.
- getDatabase() - Method in interface dev.gmitch215.bytebox.binding.Hyperdrive
-
Returns the database name.
- getDatabaseId() - Method in class dev.gmitch215.bytebox.gradle.Bindings.D1Spec
-
Returns the database id.
- getDatabaseName() - Method in class dev.gmitch215.bytebox.gradle.Bindings.D1Spec
-
Returns the database's own name.
- getDaylightSavings(Instant) - Method in class dev.gmitch215.bytebox.time.ZoneRules
-
How far daylight saving has moved the clock.
- getDecoder() - Method in class dev.gmitch215.bytebox.gradle.GenerateScaffoldTask
-
Returns the npm package supplying the synchronous decompressor, when one is needed.
- getDecoderVersion() - Method in class dev.gmitch215.bytebox.gradle.GenerateScaffoldTask
-
Returns the version range for that package.
- getDefaultPort() - Method in class dev.gmitch215.bytebox.net.URL
-
Returns the port the scheme uses when none is written, or -1 for a scheme with none.
- getDestructive() - Method in class dev.gmitch215.bytebox.gradle.WranglerTask
-
Returns whether this command changes or destroys something.
- getDoInput() - Method in class dev.gmitch215.bytebox.net.URLConnection
-
Returns whether the caller said it would read a body.
- getDoOutput() - Method in class dev.gmitch215.bytebox.net.URLConnection
-
Returns whether the caller said it would write a body.
- getDurableObjectClasses() - Method in class dev.gmitch215.bytebox.gradle.ByteboxExtension
-
Returns the Java classes to expose as Durable Objects, fully qualified.
- getDurableObjectClasses() - Method in class dev.gmitch215.bytebox.gradle.GenerateEntryPointTask
-
Returns the Java classes exposed as Durable Objects.
- getDurableObjects() - Method in class dev.gmitch215.bytebox.gradle.GenerateScaffoldTask
-
Returns the Durable Objects written in Java, each needing a JavaScript class to be one.
- getDuration() - Method in interface dev.gmitch215.bytebox.binding.D1Database.D1ExecResult
-
Returns how long they took, in milliseconds.
- getDuration() - Method in interface dev.gmitch215.bytebox.binding.D1Database.D1Meta
-
Returns how long the statement took, in milliseconds.
- getErrorStream() - Method in class dev.gmitch215.bytebox.net.HttpURLConnection
-
The body of a failing response, which
HttpURLConnection.getInputStream()throws rather than return. - getEtag() - Method in interface dev.gmitch215.bytebox.binding.R2Bucket.R2Object
-
Returns the entity tag.
- getExpiration() - Method in interface dev.gmitch215.bytebox.binding.KVNamespace.Key
-
Returns when the key expires, in seconds since the epoch, or 0 when it does not.
- getFile() - Method in class dev.gmitch215.bytebox.net.URL
-
Returns the path with any query, which is what the request line carries.
- getFormatSpecifier() - Method in exception class dev.gmitch215.bytebox.text.MissingFormatArgumentException
-
Returns the specifier that had no argument.
- getFrom() - Method in interface dev.gmitch215.bytebox.MailMessage
-
Returns the envelope sender.
- getHandlerClass() - Method in class dev.gmitch215.bytebox.gradle.ByteboxExtension
-
Returns the class implementing one or more of the trigger interfaces.
- getHandlerClass() - Method in class dev.gmitch215.bytebox.gradle.GenerateEntryPointTask
-
Returns the handler class to route to.
- getHandlerClasspath() - Method in class dev.gmitch215.bytebox.gradle.GenerateEntryPointTask
-
Returns where to find the handler, so its interfaces can be read.
- getHeaderField(String) - Method in class dev.gmitch215.bytebox.net.HttpURLConnection
- getHeaderField(String) - Method in class dev.gmitch215.bytebox.net.URLConnection
-
One response header.
- getHeaderFieldInt(String, int) - Method in class dev.gmitch215.bytebox.net.URLConnection
-
The value of a response header read as a number.
- getHeaderFieldLong(String, long) - Method in class dev.gmitch215.bytebox.net.URLConnection
-
The value of a response header read as a number.
- getHeaderFields() - Method in class dev.gmitch215.bytebox.net.HttpURLConnection
-
Every response header.
- getHeaders() - Method in interface dev.gmitch215.bytebox.MailMessage
-
Returns the message headers.
- getHeaders() - Method in interface dev.gmitch215.bytebox.Request
-
Returns the request headers.
- getHeaders() - Method in interface dev.gmitch215.bytebox.Response
-
Returns the response headers.
- getHost() - Method in interface dev.gmitch215.bytebox.binding.Hyperdrive
-
Returns the host to connect to.
- getHost() - Method in class dev.gmitch215.bytebox.net.Socket
-
Returns the host this socket was opened to.
- getHost() - Method in class dev.gmitch215.bytebox.net.URL
-
Returns the host, without the port.
- getHostAddress() - Method in class dev.gmitch215.bytebox.net.InetAddress
-
Returns the address as text.
- getHostName() - Method in class dev.gmitch215.bytebox.net.InetAddress
-
Returns the name this address was resolved from, or the address when there was none.
- getHttpMetadata() - Method in interface dev.gmitch215.bytebox.binding.R2Bucket.R2Object
-
Returns the HTTP metadata stored with the object.
- getId() - Method in interface dev.gmitch215.bytebox.binding.DurableObjectNamespace.DurableObjectStub
-
Returns this instance's id.
- getId() - Method in interface dev.gmitch215.bytebox.binding.VersionMetadata
-
Returns the version id.
- getId() - Method in interface dev.gmitch215.bytebox.binding.Workflow.Instance
-
Returns the instance id.
- getId() - Method in class dev.gmitch215.bytebox.gradle.Bindings.KvSpec
-
Returns the namespace id, or null to let Wrangler provision one.
- getId() - Method in interface dev.gmitch215.bytebox.QueueBatch.QueueMessage
-
Returns the system-generated message id.
- getInetAddress() - Method in class dev.gmitch215.bytebox.net.Socket
-
Returns the address this socket was opened to.
- getInputStream() - Method in class dev.gmitch215.bytebox.net.HttpURLConnection
- getInputStream() - Method in class dev.gmitch215.bytebox.net.Socket
-
Returns the stream to read from.
- getInputStream() - Method in class dev.gmitch215.bytebox.net.URLConnection
-
The body.
- getInstanceFollowRedirects() - Method in class dev.gmitch215.bytebox.net.HttpURLConnection
-
Returns whether a redirect will be followed.
- getIntrospect() - Method in class dev.gmitch215.bytebox.gradle.GenerateNPMBindingsTask
-
Returns whether the generator may import a package to read exports it cannot see.
- getJavaPackage() - Method in class dev.gmitch215.bytebox.gradle.GenerateNPMBindingsTask
-
Returns the Java package the generated classes live in.
- getJson(String) - Method in interface dev.gmitch215.bytebox.binding.KVNamespace
-
Reads a value and parses it as JSON.
- getJSONTypes() - Method in class dev.gmitch215.bytebox.gradle.ByteboxExtension
-
Returns the types to generate JSON codecs for, fully qualified.
- getJurisdiction() - Method in class dev.gmitch215.bytebox.gradle.Bindings.R2Spec
-
Returns the jurisdiction the bucket is pinned to, such as
eu. - getKey() - Method in interface dev.gmitch215.bytebox.binding.R2Bucket.R2Object
-
Returns the key.
- getKeys() - Method in interface dev.gmitch215.bytebox.binding.KVNamespace.Listing
-
Returns the keys in this page.
- getLastRowId() - Method in interface dev.gmitch215.bytebox.binding.D1Database.D1Meta
-
Returns the rowid of the last inserted row.
- getLong(String, long) - Method in interface dev.gmitch215.bytebox.durable.DurableState
-
Reads a number.
- getMessages() - Method in interface dev.gmitch215.bytebox.QueueBatch
-
Returns the messages.
- getMeta() - Method in interface dev.gmitch215.bytebox.binding.D1Database.D1Result
-
Returns timing and row counts.
- getMetadata() - Method in interface dev.gmitch215.bytebox.binding.KVNamespace.Entry
-
Returns the metadata, or
nullwhen none was stored. - getMetadata() - Method in interface dev.gmitch215.bytebox.binding.KVNamespace.Key
-
Returns the metadata stored with the value, or
null. - getMetadata(String, String) - Method in interface dev.gmitch215.bytebox.binding.KVNamespace
- getMethod() - Method in interface dev.gmitch215.bytebox.Request
-
Returns the HTTP method.
- getMigrationsDir() - Method in class dev.gmitch215.bytebox.gradle.Bindings.D1Spec
-
Returns where the migrations live.
- getModule() - Method in class dev.gmitch215.bytebox.gradle.SizeSpec
-
Returns how the compiled module is carried in the bundle.
- getModuleType() - Method in class dev.gmitch215.bytebox.gradle.PackWasmTask
-
Returns how the module is carried.
- getName() - Method in interface dev.gmitch215.bytebox.binding.KVNamespace.Key
-
Returns the key name.
- getName() - Method in class dev.gmitch215.bytebox.gradle.WranglerSpec
-
Returns the Worker's name.
- getNodeDirectory() - Method in class dev.gmitch215.bytebox.gradle.GenerateNPMBindingsTask
-
Returns the directory holding
node_modules. - getNPMBindingPackages() - Method in class dev.gmitch215.bytebox.gradle.ByteboxExtension
-
Returns the npm packages to generate Java bindings for.
- getNPMIntrospection() - Method in class dev.gmitch215.bytebox.gradle.ByteboxExtension
-
Returns whether the generator may import a package to read exports no static analysis can see.
- getNPMPackages() - Method in class dev.gmitch215.bytebox.gradle.ByteboxExtension
-
Returns the npm packages the compiled program imports, as
name@range. - getNPMPackages() - Method in class dev.gmitch215.bytebox.gradle.GenerateScaffoldTask
-
Returns the npm packages the program imports, as
name@range. - getObject(String) - Method in interface dev.gmitch215.bytebox.binding.R2Bucket
- getObject(String, JSObject) - Method in interface dev.gmitch215.bytebox.binding.R2Bucket
- getObjects() - Method in interface dev.gmitch215.bytebox.binding.R2Bucket.R2Objects
-
Returns the objects in this page.
- getObservability() - Method in class dev.gmitch215.bytebox.gradle.GenerateScaffoldTask
-
Returns whether to send logs to Cloudflare's observability.
- getObservability() - Method in class dev.gmitch215.bytebox.gradle.WranglerSpec
-
Returns whether to send logs to Cloudflare's observability.
- getOffset(Instant) - Method in class dev.gmitch215.bytebox.time.ZoneRules
-
The offset at an instant.
- getOffset(LocalDateTime) - Method in class dev.gmitch215.bytebox.time.ZoneRules
-
The offset that applies to a wall-clock reading, preferring the earlier one where it happens twice and the one after the change where it does not happen at all.
- getOutcome() - Method in interface dev.gmitch215.bytebox.TraceItem
-
Returns the invocation outcome, such as
okorexception. - getOutputDirectory() - Method in class dev.gmitch215.bytebox.gradle.GenerateCodecsTask
-
Returns where the generated source goes.
- getOutputDirectory() - Method in class dev.gmitch215.bytebox.gradle.GenerateEntryPointTask
-
Returns where the generated source goes.
- getOutputDirectory() - Method in class dev.gmitch215.bytebox.gradle.GenerateNPMBindingsTask
-
Returns where the generated source goes.
- getOutputDirectory() - Method in class dev.gmitch215.bytebox.gradle.GenerateScaffoldTask
-
Returns where the project is written.
- getOutputDirectory() - Method in class dev.gmitch215.bytebox.gradle.GenerateSerialCodecsTask
-
Returns where the generated source goes.
- getOutputDirectory() - Method in class dev.gmitch215.bytebox.gradle.PackWasmTask
-
Returns where the Worker's sources live.
- getOutputStream() - Method in class dev.gmitch215.bytebox.net.HttpURLConnection
- getOutputStream() - Method in class dev.gmitch215.bytebox.net.Socket
-
Returns the stream to write to.
- getOutputStream() - Method in class dev.gmitch215.bytebox.net.URLConnection
-
Where to write the request body.
- getPackages() - Method in class dev.gmitch215.bytebox.gradle.GenerateNPMBindingsTask
-
Returns the package specifiers to bind, each optionally naming a subpath export.
- getPassword() - Method in interface dev.gmitch215.bytebox.binding.Hyperdrive
-
Returns the password to authenticate with.
- getPath() - Method in class dev.gmitch215.bytebox.net.URL
-
Returns the path.
- getPort() - Method in interface dev.gmitch215.bytebox.binding.Hyperdrive
-
Returns the port to connect to.
- getPort() - Method in class dev.gmitch215.bytebox.net.Socket
-
Returns the port this socket was opened to.
- getPort() - Method in class dev.gmitch215.bytebox.net.URL
-
Returns the port, or -1 when the URL leaves the scheme's own port implied.
- getPreviewId() - Method in class dev.gmitch215.bytebox.gradle.Bindings.KvSpec
-
Returns the namespace used by
wrangler dev. - getProjectDirectory() - Method in class dev.gmitch215.bytebox.gradle.WranglerTask
-
Returns the generated Worker project, which is the working directory.
- getProps() - Method in interface dev.gmitch215.bytebox.ExecutionCtx
-
The Worker's own properties, when the invocation carries them.
- getProtocol() - Method in class dev.gmitch215.bytebox.net.URL
-
Returns the scheme, without the colon.
- getQuery() - Method in class dev.gmitch215.bytebox.net.URL
-
Returns the query, without the question mark, or null when there is none.
- getQueue() - Method in interface dev.gmitch215.bytebox.QueueBatch
-
Returns the name of the queue this batch came from.
- getRange(String, int, int) - Method in interface dev.gmitch215.bytebox.binding.R2Bucket
-
Reads part of an object.
- getRaw() - Method in interface dev.gmitch215.bytebox.MailMessage
-
Returns the raw MIME message, as a stream.
- getRawSize() - Method in interface dev.gmitch215.bytebox.MailMessage
-
Returns the size of the raw message in bytes.
- getReadTimeout() - Method in class dev.gmitch215.bytebox.net.URLConnection
-
Returns the read limit in milliseconds.
- getReadyState() - Method in interface dev.gmitch215.bytebox.socket.WebSocket
-
Returns the ready state.
- getRef() - Method in class dev.gmitch215.bytebox.net.URL
-
Returns the fragment, without the hash, or null when there is none.
- getRequestMethod() - Method in class dev.gmitch215.bytebox.net.HttpURLConnection
-
Returns the method that will be used.
- getRequestProperty(String) - Method in class dev.gmitch215.bytebox.net.HttpURLConnection
- getRequestProperty(String) - Method in class dev.gmitch215.bytebox.net.URLConnection
-
One request header, as set.
- getRequiresAccount() - Method in class dev.gmitch215.bytebox.gradle.WranglerTask
-
Returns whether this command needs a logged-in Wrangler.
- getResponseCode() - Method in class dev.gmitch215.bytebox.net.HttpURLConnection
-
The status.
- getResponseMessage() - Method in class dev.gmitch215.bytebox.net.HttpURLConnection
-
The status text.
- getResults() - Method in interface dev.gmitch215.bytebox.binding.D1Database.D1Result
-
Returns the rows.
- getRoutes() - Method in class dev.gmitch215.bytebox.gradle.GenerateScaffoldTask
-
Returns the routes the Worker answers on.
- getRoutes() - Method in class dev.gmitch215.bytebox.gradle.WranglerSpec
-
Returns the routes this Worker answers on.
- getRowsRead() - Method in interface dev.gmitch215.bytebox.binding.D1Database.D1Meta
-
Returns how many rows the database read.
- getRowsWritten() - Method in interface dev.gmitch215.bytebox.binding.D1Database.D1Meta
-
Returns how many rows the database wrote.
- getRules(String, boolean) - Static method in class dev.gmitch215.bytebox.time.ZoneRulesProvider
-
The rules for an identifier.
- getRunner() - Method in class dev.gmitch215.bytebox.gradle.ByteboxExtension
-
Returns which runtime runs the Wrangler CLI.
- getRunner() - Method in class dev.gmitch215.bytebox.gradle.GenerateNPMBindingsTask
-
Returns the pinned runner, or empty to search.
- getRunner() - Method in class dev.gmitch215.bytebox.gradle.WranglerTask
-
Returns the pinned runner, or empty to search.
- getRuntime() - Method in class dev.gmitch215.bytebox.gradle.PackWasmTask
-
Returns the generated runtime beside it.
- getScanned() - Method in class dev.gmitch215.bytebox.gradle.GenerateCodecsTask
-
Returns the project's own compiled classes, which are the ones scanned.
- getScanned() - Method in class dev.gmitch215.bytebox.gradle.GenerateSerialCodecsTask
-
Returns the project's own compiled classes, which are the ones scanned.
- getScheduledTime() - Method in interface dev.gmitch215.bytebox.ScheduledController
-
Returns when the invocation was due, in milliseconds since the epoch.
- getScriptName() - Method in interface dev.gmitch215.bytebox.TraceItem
-
Returns the name of the Worker that produced the event.
- getSerialTypes() - Method in class dev.gmitch215.bytebox.gradle.ByteboxExtension
-
Returns the types to generate
java.ioserialization codecs for, fully qualified. - getSetCookie() - Method in interface dev.gmitch215.bytebox.Headers
-
Returns every
Set-Cookieseparately, whichHeaders.get(String)cannot express. - getSize() - Method in interface dev.gmitch215.bytebox.binding.R2Bucket.R2Object
-
Returns the size in bytes.
- getSize() - Method in class dev.gmitch215.bytebox.gradle.ByteboxExtension
-
Returns how the compiled module is packed and how big it is allowed to get.
- getSoTimeout() - Method in class dev.gmitch215.bytebox.net.Socket
-
Returns the timeout that was set, which is not enforced.
- getStandardOffset(Instant) - Method in class dev.gmitch215.bytebox.time.ZoneRules
-
The offset the zone keeps when daylight saving is not in force.
- getStatus() - Method in interface dev.gmitch215.bytebox.Response
-
Returns the status code.
- getStatusText() - Method in interface dev.gmitch215.bytebox.Response
-
Returns the status text.
- getString(String) - Method in interface dev.gmitch215.bytebox.durable.DurableState
-
Reads text.
- getTag() - Method in interface dev.gmitch215.bytebox.binding.VersionMetadata
-
Returns the version tag, when one was set on upload.
- getTailConsumers() - Method in class dev.gmitch215.bytebox.gradle.GenerateScaffoldTask
-
Returns the Workers this one sends logs to.
- getTailConsumers() - Method in class dev.gmitch215.bytebox.gradle.WranglerSpec
-
Returns the Workers this one sends its logs to.
- getTcpPort(int) - Method in interface dev.gmitch215.bytebox.binding.Container
-
Opens a TCP connection to a port inside the container.
- getText(String) - Method in interface dev.gmitch215.bytebox.binding.KVNamespace
- getText(String) - Method in interface dev.gmitch215.bytebox.binding.R2Bucket
-
Reads an object's body as text.
- getTimestamp() - Method in interface dev.gmitch215.bytebox.binding.VersionMetadata
-
Returns when the version was uploaded, as an ISO 8601 timestamp.
- getTimestamp() - Method in interface dev.gmitch215.bytebox.QueueBatch.QueueMessage
-
Returns when the message was sent, as a
Date. - getTo() - Method in interface dev.gmitch215.bytebox.MailMessage
-
Returns the envelope recipient.
- getTransition(LocalDateTime) - Method in class dev.gmitch215.bytebox.time.ZoneRules
-
The change a wall-clock reading falls inside.
- getTransitionRules() - Method in class dev.gmitch215.bytebox.time.ZoneRules
-
Returns the rules by which changes recur.
- getTransitions() - Method in class dev.gmitch215.bytebox.time.ZoneRules
-
Returns every recorded change.
- getTriggers() - Method in class dev.gmitch215.bytebox.gradle.GenerateScaffoldTask
-
Returns the triggers the handler handles, by export name.
- getType() - Method in interface dev.gmitch215.bytebox.ScheduledController
-
Returns the trigger type, such as
scheduled. - getTypes() - Method in class dev.gmitch215.bytebox.gradle.GenerateCodecsTask
-
Returns types to generate codecs for that the scan would not find.
- getTypes() - Method in class dev.gmitch215.bytebox.gradle.GenerateSerialCodecsTask
-
Returns types to generate codecs for that the scan would not find.
- getUrl() - Method in interface dev.gmitch215.bytebox.Request
-
Returns the full request URL.
- getUrl() - Method in interface dev.gmitch215.bytebox.Response
-
Returns the URL the body came from, which differs from the one asked for after a redirect.
- getURL() - Method in class dev.gmitch215.bytebox.net.URLConnection
-
Returns the URL this connection was opened for.
- getUseCaches() - Method in class dev.gmitch215.bytebox.net.URLConnection
-
Returns true, because the platform's cache is not something a caller turns off here.
- getUser() - Method in interface dev.gmitch215.bytebox.binding.Hyperdrive
-
Returns the user to authenticate as.
- getUserInfo() - Method in class dev.gmitch215.bytebox.net.URL
-
Returns the user information before the host, or null when there is none.
- getValidOffsets(LocalDateTime) - Method in class dev.gmitch215.bytebox.time.ZoneRules
-
Every offset a wall-clock reading could mean: none in a gap, two in an overlap, otherwise one.
- getValue() - Method in interface dev.gmitch215.bytebox.binding.KVNamespace.Entry
-
Returns the value, or
nullwhen the key is absent. - getVersion() - Method in interface dev.gmitch215.bytebox.binding.R2Bucket.R2Object
-
Returns the version this write created.
- getVersions(String) - Static method in class dev.gmitch215.bytebox.time.ZoneRulesProvider
-
The one version of the rules there is.
- getWallTime() - Method in interface dev.gmitch215.bytebox.TraceItem
-
Returns wall-clock milliseconds the invocation took.
- getWasm() - Method in class dev.gmitch215.bytebox.gradle.PackWasmTask
-
Returns the compiled module.
- getWasm() - Method in class dev.gmitch215.bytebox.gradle.SizeReportTask
-
Returns the compiled module to measure.
- getWithMetadata(String) - Method in interface dev.gmitch215.bytebox.binding.KVNamespace
-
Reads a value together with the metadata stored beside it.
- getWithType(String, String) - Method in interface dev.gmitch215.bytebox.binding.KVNamespace
- getWorkerName() - Method in class dev.gmitch215.bytebox.gradle.GenerateScaffoldTask
-
Returns the Worker's name.
- getWrangler() - Method in class dev.gmitch215.bytebox.gradle.ByteboxExtension
-
Returns what goes into the generated Wrangler configuration.
- GOING_AWAY - Static variable in interface dev.gmitch215.bytebox.socket.WebSocket
-
The endpoint is going away.
- group() - Method in class dev.gmitch215.bytebox.regex.Matcher
- group(int) - Method in class dev.gmitch215.bytebox.regex.Matcher
- group(String) - Method in class dev.gmitch215.bytebox.regex.Matcher
- GROUP - Static variable in class dev.gmitch215.bytebox.gradle.ByteboxPlugin
-
The task group every task this plugin registers belongs to.
- groupCount() - Method in class dev.gmitch215.bytebox.regex.Matcher
- GZIP - Enum constant in enum class dev.gmitch215.bytebox.gradle.SizeSpec.Compressor
-
gzip, inflated by
fflate.
H
- handle(Request, Map<String, String>, Env, ExecutionCtx) - Method in interface dev.gmitch215.bytebox.http.Route
-
Answers the request.
- Handlers - Class in dev.gmitch215.bytebox
-
What a generated entry point calls.
- handles(Class<?>) - Static method in class dev.gmitch215.bytebox.io.Serial
-
Whether a type can be read and written.
- handles(Class<?>) - Static method in class dev.gmitch215.bytebox.json.JSON
-
Whether a type has a codec.
- has(String) - Method in interface dev.gmitch215.bytebox.Env
-
Returns whether a binding is declared.
- has(String) - Method in interface dev.gmitch215.bytebox.Headers
-
Reports whether a header is present.
- hashCode() - Method in record class dev.gmitch215.bytebox.Cron
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.gmitch215.bytebox.Env.Bound
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.gmitch215.bytebox.gradle.Binding
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.gmitch215.bytebox.gradle.DurableObjects
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.gmitch215.bytebox.io.SerialDescriptor
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.gmitch215.bytebox.io.SerialField
-
Returns a hash code value for this object.
- hashCode() - Method in class dev.gmitch215.bytebox.net.http.HttpHeaders
- hashCode() - Method in class dev.gmitch215.bytebox.net.InetAddress
- hashCode() - Method in class dev.gmitch215.bytebox.net.URL
- hashCode() - Method in class dev.gmitch215.bytebox.time.ZoneRules
- head(String) - Method in interface dev.gmitch215.bytebox.binding.R2Bucket
-
Reads an object's metadata without its body.
- header(String, String) - Method in class dev.gmitch215.bytebox.net.http.HttpRequest.Builder
-
Adds a header, keeping any value already set.
- headers() - Static method in class dev.gmitch215.bytebox.Bytebox
-
Returns a header collection nothing has been put in yet.
- headers() - Method in interface dev.gmitch215.bytebox.InboundMail
-
Returns the message headers.
- headers() - Method in class dev.gmitch215.bytebox.net.http.HttpRequest
-
Returns the headers.
- headers() - Method in class dev.gmitch215.bytebox.net.http.HttpResponse
-
Returns the response headers.
- headers(String...) - Method in class dev.gmitch215.bytebox.net.http.HttpRequest.Builder
-
Adds headers, given as alternating names and values.
- Headers - Interface in dev.gmitch215.bytebox
-
HTTP headers.
- headObject(String) - Method in interface dev.gmitch215.bytebox.binding.R2Bucket
- hmac(String, byte[], byte[]) - Static method in class dev.gmitch215.bytebox.builtin.Crypto
-
HMAC of bytes under a key of bytes.
- hmac(String, String, String) - Static method in class dev.gmitch215.bytebox.builtin.Crypto
-
HMAC of text under a key.
- hmacSha256(String, String) - Static method in class dev.gmitch215.bytebox.builtin.Crypto
-
HMAC-SHA256 of text under a key.
- host() - Method in interface dev.gmitch215.bytebox.Request
-
Returns the host, including the port when the URL carried one.
- HTTP_1_1 - Enum constant in enum class dev.gmitch215.bytebox.net.http.HttpClient.Version
-
HTTP/1.1.
- HTTP_2 - Enum constant in enum class dev.gmitch215.bytebox.net.http.HttpClient.Version
-
HTTP/2.
- HTTP_ACCEPTED - Static variable in class dev.gmitch215.bytebox.net.HttpURLConnection
-
The 202 status.
- HTTP_BAD_GATEWAY - Static variable in class dev.gmitch215.bytebox.net.HttpURLConnection
-
The 502 status.
- HTTP_BAD_REQUEST - Static variable in class dev.gmitch215.bytebox.net.HttpURLConnection
-
The 400 status.
- HTTP_CONFLICT - Static variable in class dev.gmitch215.bytebox.net.HttpURLConnection
-
The 409 status.
- HTTP_CREATED - Static variable in class dev.gmitch215.bytebox.net.HttpURLConnection
-
The 201 status.
- HTTP_FORBIDDEN - Static variable in class dev.gmitch215.bytebox.net.HttpURLConnection
-
The 403 status.
- HTTP_INTERNAL_ERROR - Static variable in class dev.gmitch215.bytebox.net.HttpURLConnection
-
The 500 status.
- HTTP_MOVED_PERM - Static variable in class dev.gmitch215.bytebox.net.HttpURLConnection
-
The 301 status.
- HTTP_MOVED_TEMP - Static variable in class dev.gmitch215.bytebox.net.HttpURLConnection
-
The 302 status.
- HTTP_NO_CONTENT - Static variable in class dev.gmitch215.bytebox.net.HttpURLConnection
-
The 204 status.
- HTTP_NOT_FOUND - Static variable in class dev.gmitch215.bytebox.net.HttpURLConnection
-
The 404 status.
- HTTP_NOT_MODIFIED - Static variable in class dev.gmitch215.bytebox.net.HttpURLConnection
-
The 304 status.
- HTTP_OK - Static variable in class dev.gmitch215.bytebox.net.HttpURLConnection
-
The 200 status.
- HTTP_TOO_MANY_REQUESTS - Static variable in class dev.gmitch215.bytebox.net.HttpURLConnection
-
The 429 status, which the platform's own rate limits also use.
- HTTP_UNAUTHORIZED - Static variable in class dev.gmitch215.bytebox.net.HttpURLConnection
-
The 401 status.
- HTTP_UNAVAILABLE - Static variable in class dev.gmitch215.bytebox.net.HttpURLConnection
-
The 503 status.
- HttpClient - Class in dev.gmitch215.bytebox.net.http
-
An HTTP client, standing in for
java.net.http.HttpClient. - HttpClient.Builder - Class in dev.gmitch215.bytebox.net.http
-
Assembles a client.
- HttpClient.Redirect - Enum Class in dev.gmitch215.bytebox.net.http
-
What to do with a redirect.
- HttpClient.Version - Enum Class in dev.gmitch215.bytebox.net.http
-
Which HTTP version to use, which on this platform the platform decides.
- HttpHeaders - Class in dev.gmitch215.bytebox.net.http
-
The headers of a request or a response, standing in for
java.net.http.HttpHeaders. - HttpRequest - Class in dev.gmitch215.bytebox.net.http
-
A request, standing in for
java.net.http.HttpRequest. - HttpRequest.BodyPublisher - Class in dev.gmitch215.bytebox.net.http
-
A request body.
- HttpRequest.BodyPublishers - Class in dev.gmitch215.bytebox.net.http
-
The request bodies there are.
- HttpRequest.Builder - Class in dev.gmitch215.bytebox.net.http
-
Assembles a request.
- HttpResponse<T> - Class in dev.gmitch215.bytebox.net.http
-
A response, standing in for
java.net.http.HttpResponse. - HttpResponse.BodyHandler<T> - Class in dev.gmitch215.bytebox.net.http
-
How to read a body.
- HttpResponse.BodyHandlers - Class in dev.gmitch215.bytebox.net.http
-
The ways to read a body.
- HttpURLConnection - Class in dev.gmitch215.bytebox.net
-
An HTTP request, standing in for
java.net.HttpURLConnection. - HttpURLConnection(URL) - Constructor for class dev.gmitch215.bytebox.net.HttpURLConnection
- hyperdrive() - Method in interface dev.gmitch215.bytebox.Env
-
Returns the Hyperdrive configuration named
HYPERDRIVE. - hyperdrive(String) - Method in interface dev.gmitch215.bytebox.Env
- hyperdrive(String) - Method in class dev.gmitch215.bytebox.gradle.Bindings
-
Declares a Hyperdrive configuration named
HYPERDRIVE. - Hyperdrive - Interface in dev.gmitch215.bytebox.binding
-
A Hyperdrive configuration.
- HYPERDRIVE - Enum constant in enum class dev.gmitch215.bytebox.gradle.BindingType
-
A Hyperdrive configuration.
I
- id() - Method in interface dev.gmitch215.bytebox.binding.Workflow.Instance
-
Returns the instance id, for a caller that only wants the string.
- id() - Method in interface dev.gmitch215.bytebox.Message
-
Returns the system-generated message id.
- identifier() - Method in interface dev.gmitch215.bytebox.durable.DurableState
-
Returns this instance's identifier, stable for the life of the object.
- identifiers() - Method in record class dev.gmitch215.bytebox.gradle.Binding
-
Returns the value of the
identifiersrecord component. - idFromName(String) - Method in interface dev.gmitch215.bytebox.binding.DurableObjectNamespace
-
The id for a name, which is stable: the same name always gives the same id.
- idFromString(String) - Method in interface dev.gmitch215.bytebox.binding.DurableObjectNamespace
-
Parses an id previously produced by
DurableObjectNamespace.DurableObjectId.asString(). - IllegalFormatException - Exception Class in dev.gmitch215.bytebox.text
-
A format string the formatter will not accept, standing in for
java.util.IllegalFormatException. - IllegalFormatException() - Constructor for exception class dev.gmitch215.bytebox.text.IllegalFormatException
-
With no message.
- IllegalFormatException(String) - Constructor for exception class dev.gmitch215.bytebox.text.IllegalFormatException
- images() - Method in interface dev.gmitch215.bytebox.Env
-
Returns the Images binding named
IMAGES. - images() - Method in class dev.gmitch215.bytebox.gradle.Bindings
-
Declares the Images binding, named
IMAGES. - Images - Interface in dev.gmitch215.bytebox.binding
-
The Images binding.
- IMAGES - Enum constant in enum class dev.gmitch215.bytebox.gradle.BindingType
-
The Images binding.
- Images.Transformer - Interface in dev.gmitch215.bytebox.binding
-
A transformation under construction.
- InboundMail - Interface in dev.gmitch215.bytebox
-
An incoming email message, which records what a handler did with it.
- index(String) - Method in class dev.gmitch215.bytebox.binding.AnalyticsEngine.DataPoint
-
Sets the index queries group by.
- InetAddress - Class in dev.gmitch215.bytebox.net
-
An IP address, standing in for
java.net.InetAddress. - info(JSObject) - Method in interface dev.gmitch215.bytebox.binding.Images
-
Reads an image's format and dimensions without transforming it.
- input(JSObject) - Method in interface dev.gmitch215.bytebox.binding.Images
-
Starts a transformation.
- insert(TSObject...) - Method in interface dev.gmitch215.bytebox.binding.Vectorize
-
Adds vectors, failing on an id that already exists.
- insertVectors(JSArray<TSObject>) - Method in interface dev.gmitch215.bytebox.binding.Vectorize
- instance(String) - Method in interface dev.gmitch215.bytebox.binding.Workflow
-
Looks up a running or finished instance.
- instance(String, Supplier<T>) - Static method in class dev.gmitch215.bytebox.durable.DurableHandlers
-
The instance for an identifier, built on first use.
- interfaceName() - Method in enum class dev.gmitch215.bytebox.gradle.Triggers
-
Returns the interface a handler implements to handle this trigger.
- Intl - Class in dev.gmitch215.bytebox.builtin
-
The platform's own locale data, exposed as itself.
- inZone(double, String) - Static method in class dev.gmitch215.bytebox.builtin.Clock
-
Formats an instant for a timezone, using the platform's own zone data.
- ioException() - Method in class dev.gmitch215.bytebox.text.Formatter
-
Returns the failure the destination reported, or null when it has not failed.
- ip() - Method in interface dev.gmitch215.bytebox.Request
-
Returns the client's IP address as Cloudflare saw it, or
null. - isAnyLocalAddress() - Method in class dev.gmitch215.bytebox.net.InetAddress
-
Returns whether this is the unspecified address.
- isArray() - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns whether this value is a JavaScript array.
- isBigInt() - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns whether this value is a
BigInt, which is how a Java long crosses over. - isBodyUsed() - Method in interface dev.gmitch215.bytebox.Request
-
Returns whether the body has already been read.
- isBodyUsed() - Method in interface dev.gmitch215.bytebox.Response
-
Returns whether the body has already been read.
- isBoolean() - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns whether this value is a boolean.
- isClosed() - Method in class dev.gmitch215.bytebox.net.Socket
-
Returns whether the socket has been closed.
- isConnected() - Method in class dev.gmitch215.bytebox.net.Socket
-
Returns whether the socket was opened and has not been closed.
- isDaylightSavings(Instant) - Method in class dev.gmitch215.bytebox.time.ZoneRules
-
Whether daylight saving is in force.
- isDelete() - Method in interface dev.gmitch215.bytebox.Request
-
Returns whether the request method is DELETE.
- isFixedOffset() - Method in class dev.gmitch215.bytebox.time.ZoneRules
-
Returns whether the offset never varies.
- isFunction() - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns whether this value is callable.
- isGet() - Method in interface dev.gmitch215.bytebox.Request
-
Returns whether the request method is GET.
- isListComplete() - Method in interface dev.gmitch215.bytebox.binding.KVNamespace.Listing
-
Returns whether this page is the last.
- isLoopbackAddress() - Method in class dev.gmitch215.bytebox.net.InetAddress
-
Returns whether this is a loopback address.
- isMap() - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns whether this value is a JavaScript
Map, not a plain object. - isMulticastAddress() - Method in class dev.gmitch215.bytebox.net.InetAddress
-
Returns whether this is a multicast address.
- isNull() - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns whether this value is
nullorundefined. - isNumber() - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns whether this value is a
Number, which is every Java numeric but long. - iso(double) - Static method in class dev.gmitch215.bytebox.builtin.Clock
-
Formats an instant as an ISO 8601 timestamp in UTC.
- isOk() - Method in interface dev.gmitch215.bytebox.Response
-
Returns whether the status is in the 200s.
- isoNow() - Static method in class dev.gmitch215.bytebox.builtin.Clock
-
Returns the current time as an ISO 8601 timestamp in UTC.
- isOpen() - Method in interface dev.gmitch215.bytebox.socket.WebSocket
-
Returns whether the connection can still carry a message.
- isPatch() - Method in interface dev.gmitch215.bytebox.Request
-
Returns whether the request method is PATCH.
- isPost() - Method in interface dev.gmitch215.bytebox.Request
-
Returns whether the request method is POST.
- isPut() - Method in interface dev.gmitch215.bytebox.Request
-
Returns whether the request method is PUT.
- isReachable(int) - Method in class dev.gmitch215.bytebox.net.InetAddress
-
Whether the host answers an HTTPS request within a deadline.
- isRunning() - Method in interface dev.gmitch215.bytebox.binding.Container
-
Returns whether the container is running.
- isSet() - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns whether this value is a JavaScript
Set. - isSiteLocalAddress() - Method in class dev.gmitch215.bytebox.net.InetAddress
-
Returns whether this is an address only reachable inside a private network.
- isString() - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns whether this value is a string.
- isSuccess() - Method in interface dev.gmitch215.bytebox.binding.D1Database.D1Result
-
Returns whether the statement succeeded.
- isSuccess() - Method in interface dev.gmitch215.bytebox.binding.RateLimit.Outcome
-
Returns whether the request is allowed.
- isTruncated() - Method in interface dev.gmitch215.bytebox.binding.R2Bucket.R2Objects
-
Returns whether more pages follow.
- isUndefined() - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns whether this value is
undefinedspecifically. - isValidOffset(LocalDateTime, ZoneOffset) - Method in class dev.gmitch215.bytebox.time.ZoneRules
-
Whether a wall-clock reading and an offset go together.
J
- JAVA_LANG_ENUM - Static variable in record class dev.gmitch215.bytebox.io.SerialDescriptor
-
The descriptor every enum's chain ends with.
- join() - Method in class dev.gmitch215.bytebox.concurrent.Future
-
Waits for the value.
- JSArrays - Class in dev.gmitch215.bytebox.js
-
Builds a JavaScript array from a Java one.
- json() - Method in interface dev.gmitch215.bytebox.binding.R2Bucket.R2ObjectBody
-
Returns the body, parsed as JSON.
- json() - Method in interface dev.gmitch215.bytebox.Request
-
Reads the whole body and parses it as JSON.
- json() - Method in interface dev.gmitch215.bytebox.Response
-
Reads the whole body and parses it as JSON.
- json(TSObject) - Static method in class dev.gmitch215.bytebox.Bytebox
-
A JSON response built from a JavaScript value, for anything with no codec.
- json(Class<T>) - Method in interface dev.gmitch215.bytebox.Request
-
Reads the whole body and converts it to a Java type.
- json(Class<T>) - Method in interface dev.gmitch215.bytebox.Response
-
Reads the whole body and converts it to a Java type.
- json(String) - Static method in class dev.gmitch215.bytebox.Bytebox
-
A 200 carrying already-serialised JSON.
- json(String, int) - Static method in class dev.gmitch215.bytebox.Bytebox
-
A JSON response with an explicit status.
- json(Function<TSObject, T>) - Method in interface dev.gmitch215.bytebox.Request
-
Reads the whole body and converts it with a function of your own.
- json(Function<TSObject, T>) - Method in interface dev.gmitch215.bytebox.Response
-
Reads the whole body and converts it with a function of your own.
- json(T, Class<T>) - Static method in class dev.gmitch215.bytebox.Bytebox
-
A 200 carrying a Java value as JSON.
- JSON - Class in dev.gmitch215.bytebox.json
-
Converts between Java types and JSON, through codecs rather than reflection.
- JSONType - Annotation Interface in dev.gmitch215.bytebox.json
-
Generates a JSON codec for this type.
- jsonTypes(String...) - Method in class dev.gmitch215.bytebox.gradle.ByteboxExtension
-
Adds types to generate JSON codecs for.
- JSRejection - Exception Class in dev.gmitch215.bytebox.concurrent
-
A JavaScript promise rejected with something that is not a Java throwable.
- JSRejection(String) - Constructor for exception class dev.gmitch215.bytebox.concurrent.JSRejection
K
- keys() - Method in interface dev.gmitch215.bytebox.binding.R2Bucket.R2Objects
-
Returns the keys in this page.
- keys() - Method in interface dev.gmitch215.bytebox.durable.DurableState
-
Returns every key this instance holds.
- keys() - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns this object's own enumerable property names, or a
Map's keys. - kv() - Method in interface dev.gmitch215.bytebox.Env
-
Returns the KV namespace named
KV. - kv() - Method in class dev.gmitch215.bytebox.gradle.Bindings
-
Declares a KV namespace named
KV. - kv(String) - Method in interface dev.gmitch215.bytebox.Env
- kv(String) - Method in class dev.gmitch215.bytebox.gradle.Bindings
- kv(String, Action<Bindings.KvSpec>) - Method in class dev.gmitch215.bytebox.gradle.Bindings
- KV - Enum constant in enum class dev.gmitch215.bytebox.gradle.BindingType
-
A Workers KV namespace.
- KVNamespace - Interface in dev.gmitch215.bytebox.binding
-
A Workers KV namespace.
- KVNamespace.Entry - Interface in dev.gmitch215.bytebox.binding
-
A value and the metadata stored with it.
- KVNamespace.Key - Interface in dev.gmitch215.bytebox.binding
-
One key in a listing.
- KVNamespace.Listing - Interface in dev.gmitch215.bytebox.binding
-
One page of a key listing.
- KvSpec() - Constructor for class dev.gmitch215.bytebox.gradle.Bindings.KvSpec
L
- LEFT_JUSTIFY - Static variable in class dev.gmitch215.bytebox.text.FormattableFlags
-
The specifier carried
-. - length() - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns how many elements this holds.
- limit(TSObject) - Method in interface dev.gmitch215.bytebox.binding.RateLimit
- list() - Method in interface dev.gmitch215.bytebox.binding.KVNamespace
-
Returns the first page of keys.
- list() - Method in interface dev.gmitch215.bytebox.binding.R2Bucket
-
Returns the first page of objects.
- list(TSObject, String) - Static method in class dev.gmitch215.bytebox.builtin.Intl
-
Joins a list the way a language does, such as
a, b and c. - list(String) - Method in interface dev.gmitch215.bytebox.binding.KVNamespace
-
Lists keys under a prefix.
- list(String) - Method in interface dev.gmitch215.bytebox.binding.R2Bucket
-
Lists objects under a prefix.
- list(String, String, int) - Method in interface dev.gmitch215.bytebox.binding.KVNamespace
-
Lists keys from where a previous page left off.
- list(String, String, int) - Method in interface dev.gmitch215.bytebox.binding.R2Bucket
-
Lists objects from where a previous page left off.
- listAll(String) - Method in interface dev.gmitch215.bytebox.binding.KVNamespace
-
Returns every key under a prefix, following the cursor until the listing completes.
- listAll(String) - Method in interface dev.gmitch215.bytebox.binding.R2Bucket
-
Returns every key under a prefix, following the cursor until the listing completes.
- listKeys(JSObject) - Method in interface dev.gmitch215.bytebox.binding.KVNamespace
- listObjects(JSObject) - Method in interface dev.gmitch215.bytebox.binding.R2Bucket
- LITERAL - Static variable in class dev.gmitch215.bytebox.regex.Pattern
-
Treat the pattern as a literal.
- locale() - Method in class dev.gmitch215.bytebox.text.Formatter
-
Returns the locale, or null when there is none.
- log(String) - Static method in class dev.gmitch215.bytebox.Bytebox
-
Writes a line to the Worker's log, which
wrangler tailshows. - lookingAt() - Method in class dev.gmitch215.bytebox.regex.Matcher
-
Whether the start of the input matches.
M
- Mail - Interface in dev.gmitch215.bytebox
-
Handles incoming email.
- MailAction - Enum Class in dev.gmitch215.bytebox
-
What a
Mailhandler did with a message. - MailMessage - Interface in dev.gmitch215.bytebox
-
Cloudflare's
ForwardableEmailMessage. - map() - Method in class dev.gmitch215.bytebox.net.http.HttpHeaders
-
Returns every header, keyed in lower case.
- map(Function<T, R>) - Method in class dev.gmitch215.bytebox.concurrent.Future
-
Transforms the value once it arrives, on a fiber of its own.
- map(Map<String, ?>) - Static method in interface dev.gmitch215.bytebox.js.TSObject
-
A real JavaScript
Map, for an API that wants one. - matcher(CharSequence) - Method in class dev.gmitch215.bytebox.regex.Pattern
-
A matcher over an input.
- Matcher - Class in dev.gmitch215.bytebox.regex
-
A match in progress, standing in for
java.util.regex.Matcher. - matches() - Method in class dev.gmitch215.bytebox.regex.Matcher
-
Whether the whole input matches.
- matches(String, CharSequence) - Static method in class dev.gmitch215.bytebox.regex.Pattern
-
Whether a whole input matches a pattern, compiling it each time.
- md5(byte[]) - Static method in class dev.gmitch215.bytebox.builtin.Crypto
-
MD5 of bytes.
- md5(String) - Static method in class dev.gmitch215.bytebox.builtin.Crypto
-
MD5 of text, UTF-8 encoded.
- message(SocketObject, WebSocket, String, DurableState, Env) - Static method in class dev.gmitch215.bytebox.durable.DurableHandlers
-
Runs a text message.
- message(SocketObject, WebSocket, ArrayBuffer, DurableState, Env) - Static method in class dev.gmitch215.bytebox.durable.DurableHandlers
-
Runs a binary message.
- message(WebSocket, byte[], DurableState, Env) - Method in interface dev.gmitch215.bytebox.durable.SocketObject
-
A binary message arrived.
- message(WebSocket, String, DurableState, Env) - Method in interface dev.gmitch215.bytebox.durable.SocketObject
-
A text message arrived.
- Message<T> - Interface in dev.gmitch215.bytebox
-
One message from a Queue.
- MessageBatch<T> - Interface in dev.gmitch215.bytebox
-
A batch of Queue messages delivered to a
Consumer. - messages() - Method in interface dev.gmitch215.bytebox.MessageBatch
-
Returns the messages, in best-effort publication order.
- method() - Method in class dev.gmitch215.bytebox.net.http.HttpRequest
-
Returns the method.
- method(String, HttpRequest.BodyPublisher) - Method in class dev.gmitch215.bytebox.net.http.HttpRequest.Builder
-
Sends a method of your own.
- MissingFormatArgumentException - Exception Class in dev.gmitch215.bytebox.text
-
A specifier with no argument to fill it, standing in for
java.util.MissingFormatArgumentException. - MissingFormatArgumentException(String) - Constructor for exception class dev.gmitch215.bytebox.text.MissingFormatArgumentException
- mtls() - Method in interface dev.gmitch215.bytebox.Env
-
Returns the mTLS binding named
MTLS. - MTLS - Enum constant in enum class dev.gmitch215.bytebox.gradle.BindingType
-
An mTLS certificate.
- MULTILINE - Static variable in class dev.gmitch215.bytebox.regex.Pattern
-
Let
^and$match at every line.
N
- name() - Method in interface dev.gmitch215.bytebox.binding.DurableObjectNamespace.DurableObjectId
-
Returns the name this id came from, or
nullwhen it came from none. - name() - Method in record class dev.gmitch215.bytebox.gradle.Binding
-
Returns the value of the
namerecord component. - name() - Method in record class dev.gmitch215.bytebox.io.SerialField
-
Returns the value of the
namerecord component. - namedGroups() - Method in class dev.gmitch215.bytebox.regex.Matcher
- namedGroups() - Method in class dev.gmitch215.bytebox.regex.Pattern
-
Returns every named group, in the order the pattern declares them.
- names() - Method in interface dev.gmitch215.bytebox.binding.KVNamespace.Listing
-
Returns the key names in this page.
- NEVER - Enum constant in enum class dev.gmitch215.bytebox.net.http.HttpClient.Redirect
-
Return it rather than follow it.
- newBuilder() - Static method in class dev.gmitch215.bytebox.net.http.HttpClient
-
Returns a builder.
- newBuilder() - Static method in class dev.gmitch215.bytebox.net.http.HttpRequest
-
Returns a builder.
- newBuilder(URI) - Static method in class dev.gmitch215.bytebox.net.http.HttpRequest
-
A builder aimed at a URI.
- newHttpClient() - Static method in class dev.gmitch215.bytebox.net.http.HttpClient
-
Returns a client with the defaults.
- newUniqueId() - Method in interface dev.gmitch215.bytebox.binding.DurableObjectNamespace
-
Returns a fresh id nothing has used, placed near whoever asked for it.
- nextTransition(Instant) - Method in class dev.gmitch215.bytebox.time.ZoneRules
-
The next change after an instant.
- noBody() - Static method in class dev.gmitch215.bytebox.net.http.HttpRequest.BodyPublishers
-
Returns a publisher that sends nothing.
- nodeCompatByDefault(LocalDate) - Static method in class dev.gmitch215.bytebox.gradle.CompatibilityDate
-
Whether a date has Node compatibility on by default.
- NONE - Enum constant in enum class dev.gmitch215.bytebox.gradle.SizeSpec.Compressor
-
No pre-compression; Cloudflare's gzip does the work.
- NONE - Enum constant in enum class dev.gmitch215.bytebox.MailAction
-
Nothing yet.
- NORMAL - Enum constant in enum class dev.gmitch215.bytebox.net.http.HttpClient.Redirect
-
Follow it, since the platform does not downgrade a scheme anyway.
- NORMAL - Static variable in interface dev.gmitch215.bytebox.socket.WebSocket
-
Normal closure: the purpose the connection was opened for is finished.
- notFound(Route) - Method in class dev.gmitch215.bytebox.http.Router
-
Sets what answers a request no route matched.
- now() - Static method in class dev.gmitch215.bytebox.builtin.Clock
-
The current time, which advances only after I/O.
- npm(String, String) - Method in class dev.gmitch215.bytebox.gradle.ByteboxExtension
-
Declares an npm package the compiled program imports.
- NPM_PACKAGE - Static variable in class dev.gmitch215.bytebox.gradle.ByteboxPlugin
-
The Java package generated npm bindings live in.
- npmBindings(String...) - Method in class dev.gmitch215.bytebox.gradle.ByteboxExtension
-
Asks for generated Java bindings for packages already declared with
ByteboxExtension.npm(java.lang.String, java.lang.String). - nullValue() - Static method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns JavaScript
null. - number(double) - Method in class dev.gmitch215.bytebox.binding.AnalyticsEngine.DataPoint
-
Adds a numeric field.
- number(double, String) - Static method in class dev.gmitch215.bytebox.builtin.Intl
-
Formats a number for a locale.
- number(double, String, TSObject) - Static method in class dev.gmitch215.bytebox.builtin.Intl
-
Formats a number with options.
- Numbers - Search tag in interface dev.gmitch215.bytebox.js.TSObject
- Section
O
- object() - Static method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns a new empty object.
- object(Map<String, ?>) - Static method in interface dev.gmitch215.bytebox.js.TSObject
-
A plain object from a map, which is the shape JSON and a structured clone both use.
- ObjectInputStream - Class in dev.gmitch215.bytebox.io
-
Reads objects in Java's serialization format, standing in for
java.io.ObjectInputStream. - ObjectInputStream(InputStream) - Constructor for class dev.gmitch215.bytebox.io.ObjectInputStream
- ObjectOutputStream - Class in dev.gmitch215.bytebox.io
-
Writes objects in Java's serialization format, standing in for
java.io.ObjectOutputStream. - ObjectOutputStream(OutputStream) - Constructor for class dev.gmitch215.bytebox.io.ObjectOutputStream
- of() - Static method in class dev.gmitch215.bytebox.binding.AnalyticsEngine.DataPoint
-
Returns an empty data point.
- of(boolean) - Static method in interface dev.gmitch215.bytebox.js.TSObject
- of(byte) - Static method in interface dev.gmitch215.bytebox.js.TSObject
- of(char) - Static method in interface dev.gmitch215.bytebox.js.TSObject
- of(double) - Static method in interface dev.gmitch215.bytebox.js.TSObject
- of(float) - Static method in interface dev.gmitch215.bytebox.js.TSObject
- of(int) - Static method in interface dev.gmitch215.bytebox.js.TSObject
- of(long) - Static method in interface dev.gmitch215.bytebox.js.TSObject
-
A
BigInt, because aNumbercannot hold every long. - of(short) - Static method in interface dev.gmitch215.bytebox.js.TSObject
- of(String) - Static method in interface dev.gmitch215.bytebox.js.TSObject
- of(String, Iterable<File>) - Static method in enum class dev.gmitch215.bytebox.gradle.Triggers
-
Reads the triggers a class handles.
- of(ZoneOffset) - Static method in class dev.gmitch215.bytebox.time.ZoneRules
-
The rules of a zone that is only ever one offset.
- of(ZoneOffset, ZoneOffset, List<ZoneOffsetTransition>, List<ZoneOffsetTransition>, List<ZoneOffsetTransitionRule>) - Static method in class dev.gmitch215.bytebox.time.ZoneRules
-
Rules assembled from a transition history, which is not available here.
- of(List<String>, Iterable<File>) - Static method in record class dev.gmitch215.bytebox.gradle.DurableObjects
-
Reads each named class.
- of(Map<String, List<String>>) - Static method in class dev.gmitch215.bytebox.net.http.HttpHeaders
-
Headers from a map.
- of(JSPromise<T>) - Static method in class dev.gmitch215.bytebox.concurrent.Future
-
Adopts an existing promise.
- of(JSObject) - Static method in interface dev.gmitch215.bytebox.js.TSObject
-
Wraps any JavaScript value.
- of(T[]) - Static method in class dev.gmitch215.bytebox.js.JSArrays
-
A JavaScript array holding the same values, in the same order.
- ofByteArray() - Static method in class dev.gmitch215.bytebox.net.http.HttpResponse.BodyHandlers
-
Returns a handler reading the body as bytes.
- ofByteArray(byte[]) - Static method in class dev.gmitch215.bytebox.net.http.HttpRequest.BodyPublishers
-
A body of bytes.
- ofByteArray(byte[], int, int) - Static method in class dev.gmitch215.bytebox.net.http.HttpRequest.BodyPublishers
-
Part of an array of bytes.
- offsetAt(long) - Method in interface dev.gmitch215.bytebox.time.ZoneLookup
-
The offset from UTC at an instant.
- offsetHours(double, String) - Static method in class dev.gmitch215.bytebox.builtin.Clock
-
A zone's offset from UTC at an instant, which is what makes daylight saving observable.
- offsetMinutes(double, String) - Static method in class dev.gmitch215.bytebox.builtin.Clock
-
A zone's offset from UTC at an instant, which is what makes daylight saving observable.
- ofInputStream() - Static method in class dev.gmitch215.bytebox.net.http.HttpResponse.BodyHandlers
-
Returns a handler reading the body as a stream over bytes already in hand.
- ofNumber(long) - Static method in interface dev.gmitch215.bytebox.js.TSObject
-
A long as a
Number, for a JavaScript API that will not take aBigInt. - ofString() - Static method in class dev.gmitch215.bytebox.net.http.HttpResponse.BodyHandlers
-
Returns a handler reading the body as UTF-8 text.
- ofString(String) - Static method in class dev.gmitch215.bytebox.net.http.HttpRequest.BodyPublishers
-
A body of text.
- ofString(String, Charset) - Static method in class dev.gmitch215.bytebox.net.http.HttpRequest.BodyPublishers
-
A body of text in a given encoding.
- ofString(Charset) - Static method in class dev.gmitch215.bytebox.net.http.HttpResponse.BodyHandlers
-
Reads the body as text.
- omitNulls() - Element in annotation interface dev.gmitch215.bytebox.json.JSONType
-
Whether to leave out a field holding null rather than writing it as
null. - on(String, String, Route) - Method in class dev.gmitch215.bytebox.http.Router
-
Adds a route.
- one() - Method in interface dev.gmitch215.bytebox.durable.SQL
-
Returns the single row this query answered.
- openConnection() - Method in class dev.gmitch215.bytebox.net.URL
-
Opens a connection to this URL, without sending anything yet.
- openStream() - Method in class dev.gmitch215.bytebox.net.URL
-
Sends a GET and returns the body.
- orElse(T) - Method in class dev.gmitch215.bytebox.concurrent.Future
-
Waits for the value, answering a fallback if the future failed.
- orElseGet(Supplier<T>) - Method in class dev.gmitch215.bytebox.concurrent.Future
-
Waits for the value, calling a supplier if the future failed.
- origin() - Method in interface dev.gmitch215.bytebox.Request
-
Returns the scheme and host, with no path.
- out() - Method in class dev.gmitch215.bytebox.text.Formatter
-
Returns where this writes.
- output(TSObject) - Method in interface dev.gmitch215.bytebox.binding.Images.Transformer
-
Renders the result.
P
- pack() - Method in class dev.gmitch215.bytebox.gradle.PackWasmTask
-
Packs the module.
- PACKAGE - Static variable in class dev.gmitch215.bytebox.gradle.GenerateCodecsTask
-
The package the generated codecs live in.
- PACKAGE - Static variable in class dev.gmitch215.bytebox.gradle.GenerateEntryPointTask
-
The package the generated entry point lives in.
- PACKAGE - Static variable in class dev.gmitch215.bytebox.gradle.GenerateSerialCodecsTask
-
The package the generated codecs live in.
- PackWasmTask - Class in dev.gmitch215.bytebox.gradle
-
Puts the compiled module where the Worker imports it from, and enforces the size budget.
- PackWasmTask() - Constructor for class dev.gmitch215.bytebox.gradle.PackWasmTask
- parse(String) - Static method in class dev.gmitch215.bytebox.builtin.Clock
-
Parses an ISO 8601 timestamp.
- parse(String) - Static method in class dev.gmitch215.bytebox.gradle.CompatibilityDate
-
Reads a date, refusing anything Wrangler would refuse for a reason decidable here.
- parse(String, Class<T>) - Static method in class dev.gmitch215.bytebox.json.JSON
-
Parses JSON text as a Java type.
- passThroughOnException() - Method in interface dev.gmitch215.bytebox.ExecutionCtx
-
Marks the invocation so an uncaught exception does not retry it.
- patch(String, Route) - Method in class dev.gmitch215.bytebox.http.Router
-
Adds a
PATCHroute. - path() - Method in interface dev.gmitch215.bytebox.Request
-
Returns the request path, without the query string.
- pattern() - Method in class dev.gmitch215.bytebox.regex.Matcher
-
Returns the pattern this matches with.
- pattern() - Method in class dev.gmitch215.bytebox.regex.Pattern
-
Returns the pattern as written.
- Pattern - Class in dev.gmitch215.bytebox.regex
-
A compiled pattern, standing in for
java.util.regex.Pattern. - pause() - Method in interface dev.gmitch215.bytebox.binding.Workflow.Instance
-
Pauses the instance.
- pipeline() - Method in interface dev.gmitch215.bytebox.Env
-
Returns the Pipeline named
PIPELINE. - Pipeline - Interface in dev.gmitch215.bytebox.binding
-
A Pipelines binding.
- PIPELINE - Enum constant in enum class dev.gmitch215.bytebox.gradle.BindingType
-
A Pipeline.
- post(String, Route) - Method in class dev.gmitch215.bytebox.http.Router
-
Adds a
POSTroute. - POST(HttpRequest.BodyPublisher) - Method in class dev.gmitch215.bytebox.net.http.HttpRequest.Builder
-
Sends a POST.
- prepare(String) - Method in interface dev.gmitch215.bytebox.binding.D1Database
-
Prepares a statement.
- previousResponse() - Method in class dev.gmitch215.bytebox.net.http.HttpResponse
-
Returns the response that redirected to this one, which is never present: fetch hides them.
- previousTransition(Instant) - Method in class dev.gmitch215.bytebox.time.ZoneRules
-
The last change before an instant.
- primitive() - Method in record class dev.gmitch215.bytebox.io.SerialField
-
Returns whether this field is a primitive, which decides where it sorts and how it is written.
- promise() - Method in class dev.gmitch215.bytebox.concurrent.Deferred
-
Returns the promise, to hand back to JavaScript.
- promise() - Method in class dev.gmitch215.bytebox.concurrent.Future
-
Returns the underlying promise, to hand to JavaScript or to
ctx.waitUntil. - push(TSObject) - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Appends to this array.
- put(TSObject, TSObject) - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Writes into this
Map, which takes any key rather than only a string. - put(String, long) - Method in interface dev.gmitch215.bytebox.durable.DurableState
-
Writes a number.
- put(String, Route) - Method in class dev.gmitch215.bytebox.http.Router
-
Adds a
PUTroute. - put(String, TSObject) - Method in interface dev.gmitch215.bytebox.durable.DurableState
-
Writes a value.
- put(String, String) - Method in interface dev.gmitch215.bytebox.binding.KVNamespace
-
Writes a value.
- put(String, String) - Method in interface dev.gmitch215.bytebox.binding.R2Bucket
-
Writes text.
- put(String, String) - Method in interface dev.gmitch215.bytebox.durable.DurableState
-
Writes text.
- put(String, String, int) - Method in interface dev.gmitch215.bytebox.binding.KVNamespace
-
Writes a value that expires.
- put(String, String, String) - Method in interface dev.gmitch215.bytebox.binding.R2Bucket
-
Writes text with a content type.
- PUT(HttpRequest.BodyPublisher) - Method in class dev.gmitch215.bytebox.net.http.HttpRequest.Builder
-
Sends a PUT.
- putBuffer(String, ArrayBuffer) - Method in interface dev.gmitch215.bytebox.binding.KVNamespace
- putBuffer(String, ArrayBuffer) - Method in interface dev.gmitch215.bytebox.binding.R2Bucket
- putBuffer(String, ArrayBuffer, JSObject) - Method in interface dev.gmitch215.bytebox.binding.R2Bucket
- putBytes(String, byte[]) - Method in interface dev.gmitch215.bytebox.binding.KVNamespace
-
Writes bytes.
- putBytes(String, byte[]) - Method in interface dev.gmitch215.bytebox.binding.R2Bucket
-
Writes bytes.
- putBytes(String, ArrayBuffer) - Method in interface dev.gmitch215.bytebox.binding.KVNamespace
-
Writes bytes.
- putBytes(String, ArrayBuffer) - Method in interface dev.gmitch215.bytebox.binding.R2Bucket
-
Writes bytes.
- putBytes(String, ArrayBuffer, String, TSObject) - Method in interface dev.gmitch215.bytebox.binding.R2Bucket
-
Writes bytes with a content type and custom metadata.
- putText(String, String) - Method in interface dev.gmitch215.bytebox.binding.KVNamespace
- putText(String, String) - Method in interface dev.gmitch215.bytebox.binding.R2Bucket
- putText(String, String, JSObject) - Method in interface dev.gmitch215.bytebox.binding.KVNamespace
- putText(String, String, JSObject) - Method in interface dev.gmitch215.bytebox.binding.R2Bucket
- putWithMetadata(String, String, TSObject) - Method in interface dev.gmitch215.bytebox.binding.KVNamespace
-
Writes a value with metadata, which
KVNamespace.list()returns without a second read.
Q
- query(double[], int) - Method in interface dev.gmitch215.bytebox.binding.Vectorize
-
Finds the nearest vectors.
- query(double[], int, TSObject) - Method in interface dev.gmitch215.bytebox.binding.Vectorize
-
Finds the nearest vectors, returning their metadata and values too.
- query(String) - Method in interface dev.gmitch215.bytebox.Request
-
Reads one query parameter.
- query(String, String) - Method in interface dev.gmitch215.bytebox.Request
-
Reads one query parameter, falling back when absent.
- queue() - Method in interface dev.gmitch215.bytebox.Env
-
Returns the Queue producer named
QUEUE. - queue() - Method in class dev.gmitch215.bytebox.gradle.Bindings
-
Declares a Queue producer named
QUEUE. - queue() - Method in interface dev.gmitch215.bytebox.MessageBatch
-
Returns the name of the queue this batch came from.
- queue(Consumer<TSObject>, QueueBatch, Env, ExecutionCtx) - Static method in class dev.gmitch215.bytebox.Handlers
-
Runs a
Consumer. - queue(MessageBatch<T>, Env, ExecutionCtx) - Method in interface dev.gmitch215.bytebox.Consumer
-
Handles one batch.
- queue(String) - Method in interface dev.gmitch215.bytebox.Env
- queue(String) - Method in class dev.gmitch215.bytebox.gradle.Bindings
- queue(String, String) - Method in class dev.gmitch215.bytebox.gradle.Bindings
- Queue - Interface in dev.gmitch215.bytebox.binding
-
A Queue producer.
- QUEUE - Enum constant in enum class dev.gmitch215.bytebox.gradle.BindingType
-
A Queue producer.
- QUEUE - Enum constant in enum class dev.gmitch215.bytebox.gradle.Triggers
-
Queue batches.
- QueueBatch - Interface in dev.gmitch215.bytebox
-
Cloudflare's
MessageBatch. - QueueBatch.QueueMessage - Interface in dev.gmitch215.bytebox
-
One message from a Queue, as JavaScript delivers it.
- quote(String) - Static method in class dev.gmitch215.bytebox.regex.Pattern
-
A pattern that matches a literal.
- quoteReplacement(String) - Static method in class dev.gmitch215.bytebox.regex.Matcher
-
A replacement that stands for itself, with nothing in it taken as a group.
R
- r2() - Method in interface dev.gmitch215.bytebox.Env
-
Returns the R2 bucket named
BLOB. - r2() - Method in class dev.gmitch215.bytebox.gradle.Bindings
-
Declares an R2 bucket named
BLOB. - r2(String) - Method in interface dev.gmitch215.bytebox.Env
- r2(String) - Method in class dev.gmitch215.bytebox.gradle.Bindings
- r2(String, Action<Bindings.R2Spec>) - Method in class dev.gmitch215.bytebox.gradle.Bindings
- R2 - Enum constant in enum class dev.gmitch215.bytebox.gradle.BindingType
-
An R2 bucket.
- R2Bucket - Interface in dev.gmitch215.bytebox.binding
-
An R2 bucket.
- R2Bucket.R2Object - Interface in dev.gmitch215.bytebox.binding
-
An object's metadata.
- R2Bucket.R2ObjectBody - Interface in dev.gmitch215.bytebox.binding
-
An object's metadata together with its body.
- R2Bucket.R2Objects - Interface in dev.gmitch215.bytebox.binding
-
One page of an object listing.
- R2Spec() - Constructor for class dev.gmitch215.bytebox.gradle.Bindings.R2Spec
- race(JSPromise<T>...) - Static method in class dev.gmitch215.bytebox.concurrent.Async
-
Waits for whichever promise settles first.
- random(int) - Static method in class dev.gmitch215.bytebox.builtin.Crypto
-
Cryptographically random bytes.
- random(int) - Static method in class dev.gmitch215.bytebox.Bytebox
-
Fills a buffer with cryptographically random bytes.
- random32() - Static method in class dev.gmitch215.bytebox.builtin.Crypto
-
Cryptographically random 32 bytes.
- rateLimit() - Method in interface dev.gmitch215.bytebox.Env
-
Returns the rate limiter named
RATELIMIT. - rateLimit(int, int, int) - Method in class dev.gmitch215.bytebox.gradle.Bindings
-
Declares a rate limiter named
RATELIMIT. - rateLimit(String) - Method in interface dev.gmitch215.bytebox.Env
- RateLimit - Interface in dev.gmitch215.bytebox.binding
-
A rate limiting binding.
- RATELIMIT - Enum constant in enum class dev.gmitch215.bytebox.gradle.BindingType
-
A rate limiter.
- RateLimit.Outcome - Interface in dev.gmitch215.bytebox.binding
-
Whether a key was within its allowance.
- raw() - Method in interface dev.gmitch215.bytebox.InboundMail
-
Returns the raw MIME message.
- rawSize() - Method in interface dev.gmitch215.bytebox.InboundMail
-
Returns the size of the raw message in bytes.
- rayId() - Method in interface dev.gmitch215.bytebox.Request
-
Returns the ray id Cloudflare traces this request by, or
null. - read() - Method in interface dev.gmitch215.bytebox.binding.SecretsStore
- read() - Method in class dev.gmitch215.bytebox.socket.Socket
-
Reads whatever has arrived, up to the next chunk boundary.
- read(String) - Method in interface dev.gmitch215.bytebox.durable.DurableState.Storage
- readAlarm() - Method in interface dev.gmitch215.bytebox.durable.DurableState.Storage
- readAll() - Method in class dev.gmitch215.bytebox.socket.Socket
-
Reads until the peer closes the connection.
- readBoolean() - Method in interface dev.gmitch215.bytebox.io.SerialSource
-
Returns the next value.
- readByte() - Method in interface dev.gmitch215.bytebox.io.SerialSource
-
Returns the next value.
- readBytes() - Method in interface dev.gmitch215.bytebox.binding.R2Bucket.R2ObjectBody
- readBytes() - Method in interface dev.gmitch215.bytebox.Request
- readBytes() - Method in interface dev.gmitch215.bytebox.Response
- readChar() - Method in interface dev.gmitch215.bytebox.io.SerialSource
-
Returns the next value.
- readData(SerialSource) - Method in interface dev.gmitch215.bytebox.io.SerialCodec
-
Reads every field value back and builds the object.
- readDouble() - Method in interface dev.gmitch215.bytebox.io.SerialSource
-
Returns the next value.
- readFloat() - Method in interface dev.gmitch215.bytebox.io.SerialSource
-
Returns the next value.
- readInfo(JSObject) - Method in interface dev.gmitch215.bytebox.binding.Images
- readInt() - Method in interface dev.gmitch215.bytebox.io.SerialSource
-
Returns the next value.
- readJson() - Method in interface dev.gmitch215.bytebox.binding.R2Bucket.R2ObjectBody
- readJson() - Method in interface dev.gmitch215.bytebox.Request
- readJson() - Method in interface dev.gmitch215.bytebox.Response
- readLong() - Method in interface dev.gmitch215.bytebox.io.SerialSource
-
Returns the next value.
- readObject() - Method in class dev.gmitch215.bytebox.io.ObjectInputStream
-
Reads the object without naming its type.
- readObject(Class<T>) - Method in class dev.gmitch215.bytebox.io.ObjectInputStream
-
Reads the object.
- readObject(Class<T>) - Method in interface dev.gmitch215.bytebox.io.SerialSource
-
Reads a reference.
- readShort() - Method in interface dev.gmitch215.bytebox.io.SerialSource
-
Returns the next value.
- readStatus() - Method in interface dev.gmitch215.bytebox.binding.Workflow.Instance
- readText() - Method in interface dev.gmitch215.bytebox.binding.R2Bucket.R2ObjectBody
- readText() - Method in interface dev.gmitch215.bytebox.Request
- readText() - Method in interface dev.gmitch215.bytebox.Response
- readTimeout - Variable in class dev.gmitch215.bytebox.net.URLConnection
-
How long to allow for reading, in milliseconds, or zero for no limit.
- readUntil(String) - Method in class dev.gmitch215.bytebox.socket.Socket
-
Reads until a delimiter appears, which is how a line-oriented protocol is framed.
- recover(Function<Throwable, T>) - Method in class dev.gmitch215.bytebox.concurrent.Future
-
Handles a failure without unwinding.
- redirect(String, int) - Static method in class dev.gmitch215.bytebox.Bytebox
-
A redirect.
- redundant(LocalDate, List<String>) - Static method in class dev.gmitch215.bytebox.gradle.CompatibilityDate
-
Flags that are already the default for a date, and so do nothing.
- refresh() - Static method in class dev.gmitch215.bytebox.time.ZoneRulesProvider
-
Returns false, because the platform's database changes only when the platform does.
- register(Class<T>, SerialCodec<T>) - Static method in class dev.gmitch215.bytebox.io.Serial
-
Registers a codec.
- register(Class<T>, Codec<T>) - Static method in class dev.gmitch215.bytebox.json.JSON
-
Registers a codec.
- REGISTRY - Static variable in class dev.gmitch215.bytebox.gradle.GenerateCodecsTask
-
The class that registers every generated codec.
- REGISTRY - Static variable in class dev.gmitch215.bytebox.gradle.GenerateSerialCodecsTask
-
The class that registers every generated codec.
- reject(String) - Method in interface dev.gmitch215.bytebox.InboundMail
-
Refuses the message with a permanent SMTP error.
- reject(Throwable) - Method in class dev.gmitch215.bytebox.concurrent.Deferred
-
Rejects the promise with a Java throwable, which crosses back as a JavaScript error.
- reject(JSError) - Method in class dev.gmitch215.bytebox.concurrent.Deferred
-
Rejects the promise with a JavaScript value.
- REJECTED - Enum constant in enum class dev.gmitch215.bytebox.MailAction
-
Refused with a permanent SMTP error.
- relative(double, String, String) - Static method in class dev.gmitch215.bytebox.builtin.Intl
-
Formats a duration the way a person would say it, such as
3 days ago. - remove(String) - Method in interface dev.gmitch215.bytebox.binding.KVNamespace
- remove(String) - Method in interface dev.gmitch215.bytebox.durable.DurableState.Storage
- removeAlarm() - Method in interface dev.gmitch215.bytebox.durable.DurableState.Storage
- removeAll() - Method in interface dev.gmitch215.bytebox.durable.DurableState.Storage
- removeByIds(JSArray<TSObject>) - Method in interface dev.gmitch215.bytebox.binding.Vectorize
- render(TSObject) - Method in interface dev.gmitch215.bytebox.binding.Images.Transformer
- repeatable() - Method in enum class dev.gmitch215.bytebox.gradle.BindingType
-
Whether a Worker can declare more than one of these.
- replaceAll(String) - Method in class dev.gmitch215.bytebox.regex.Matcher
-
Replaces every match.
- replaceFirst(String) - Method in class dev.gmitch215.bytebox.regex.Matcher
-
Replaces the first match.
- REPLIED - Enum constant in enum class dev.gmitch215.bytebox.MailAction
-
Answered in the same SMTP session.
- reply(String) - Method in interface dev.gmitch215.bytebox.InboundMail
-
Answers the message in the same SMTP session.
- reply(JSObject) - Method in interface dev.gmitch215.bytebox.MailMessage
-
Answers the message in the same SMTP session.
- report() - Method in class dev.gmitch215.bytebox.gradle.BindingsReportTask
-
Prints the report.
- report() - Method in class dev.gmitch215.bytebox.gradle.SizeReportTask
-
Measures the module and writes the result to the build log.
- request() - Method in class dev.gmitch215.bytebox.net.http.HttpResponse
-
Returns the request this answers.
- request(String, String, String, TSObject) - Static method in class dev.gmitch215.bytebox.Bytebox
-
Builds a request, for sending somewhere rather than for answering.
- Request - Interface in dev.gmitch215.bytebox
-
An incoming HTTP request.
- reset() - Method in class dev.gmitch215.bytebox.regex.Matcher
-
Forgets everything found so far.
- reset(CharSequence) - Method in class dev.gmitch215.bytebox.regex.Matcher
-
Forgets everything found so far and takes a new input.
- resolve(String) - Static method in class dev.gmitch215.bytebox.gradle.Runner
-
Resolves a runner for the Wrangler CLI.
- resolve(String, String) - Static method in class dev.gmitch215.bytebox.gradle.Runner
-
Resolves a runner for a named tool, or explains what to install.
- resolve(T) - Method in class dev.gmitch215.bytebox.concurrent.Deferred
-
Resolves the promise.
- response(String) - Static method in class dev.gmitch215.bytebox.Bytebox
-
A 200 carrying text.
- response(String, int) - Static method in class dev.gmitch215.bytebox.Bytebox
-
A response with an explicit status.
- response(String, int, TSObject) - Static method in class dev.gmitch215.bytebox.Bytebox
-
A response with a status and headers.
- Response - Interface in dev.gmitch215.bytebox
-
An HTTP response, outgoing or received.
- results() - Method in class dev.gmitch215.bytebox.regex.Matcher
-
Every match, as results that keep what they found.
- resume() - Method in interface dev.gmitch215.bytebox.binding.Workflow.Instance
-
Resumes a paused instance.
- retry() - Method in interface dev.gmitch215.bytebox.Message
-
Marks this message for redelivery in a later batch.
- retry() - Method in interface dev.gmitch215.bytebox.QueueBatch.QueueMessage
-
Marks this message for redelivery.
- retry(int) - Method in interface dev.gmitch215.bytebox.Message
-
Marks this message for redelivery after a delay.
- retry(JSObject) - Method in interface dev.gmitch215.bytebox.QueueBatch.QueueMessage
-
Marks this message for redelivery after a delay.
- retryAll() - Method in interface dev.gmitch215.bytebox.MessageBatch
-
Marks every message for redelivery in a later batch.
- retryAll() - Method in interface dev.gmitch215.bytebox.QueueBatch
-
Marks every message for redelivery.
- route(Request, Env, ExecutionCtx) - Method in class dev.gmitch215.bytebox.http.Router
-
Routes a request.
- Route - Interface in dev.gmitch215.bytebox.http
-
What answers one matched request.
- Router - Class in dev.gmitch215.bytebox.http
-
Routes a request to a handler by method and path.
- routes(String...) - Method in class dev.gmitch215.bytebox.gradle.WranglerSpec
-
Adds routes.
- rows() - Method in interface dev.gmitch215.bytebox.binding.D1Database.D1Result
-
Returns the rows, as a Java list.
- rows() - Method in interface dev.gmitch215.bytebox.durable.SQL
-
Returns every row, read at once.
- rowsRead() - Method in interface dev.gmitch215.bytebox.durable.SQL
-
Returns how many rows the query read, which is what the platform bills.
- rowsWritten() - Method in interface dev.gmitch215.bytebox.durable.SQL
-
Returns how many rows the query wrote.
- rpc(String, TSObject...) - Method in interface dev.gmitch215.bytebox.binding.DurableObjectNamespace.DurableObjectStub
-
Calls one of the instance's own methods.
- rpc(String, TSObject...) - Method in interface dev.gmitch215.bytebox.binding.Fetcher
-
Calls a method the other side exposes over RPC.
- run() - Method in interface dev.gmitch215.bytebox.binding.D1Database.D1Statement
-
Returns the outcome of a statement whose rows are not wanted.
- run() - Method in class dev.gmitch215.bytebox.gradle.WranglerTask
-
Runs the command.
- run(Runnable) - Static method in class dev.gmitch215.bytebox.concurrent.Async
-
Runs work on its own fiber, with no result.
- run(String, TSObject) - Method in interface dev.gmitch215.bytebox.binding.Ai
-
Runs a model.
- run(String, TSObject, TSObject) - Method in interface dev.gmitch215.bytebox.binding.Ai
-
Runs a model with options such as
gatewayorreturnRawResponse. - runAi(TSObject) - Method in interface dev.gmitch215.bytebox.binding.AiSearch
- runBatch(JSArray<D1Database.D1Statement>) - Method in interface dev.gmitch215.bytebox.binding.D1Database
- runModel(String, TSObject) - Method in interface dev.gmitch215.bytebox.binding.Ai
- runModel(String, TSObject, TSObject) - Method in interface dev.gmitch215.bytebox.binding.Ai
- Runner - Class in dev.gmitch215.bytebox.gradle
-
Finds something that can run a Node command-line tool.
- runQuery(JSArray<TSObject>, TSObject) - Method in interface dev.gmitch215.bytebox.binding.Vectorize
- runSearch(TSObject) - Method in interface dev.gmitch215.bytebox.binding.AiSearch
- runStatement() - Method in interface dev.gmitch215.bytebox.binding.D1Database.D1Statement
S
- sameFile(URL) - Method in class dev.gmitch215.bytebox.net.URL
-
Whether two URLs name the same thing apart from the fragment.
- scheduleAlarm(double) - Method in interface dev.gmitch215.bytebox.durable.DurableState.Storage
- scheduled(Cron, Env, ExecutionCtx) - Method in interface dev.gmitch215.bytebox.Scheduled
-
Runs one scheduled invocation.
- scheduled(Scheduled, ScheduledController, Env, ExecutionCtx) - Static method in class dev.gmitch215.bytebox.Handlers
-
Runs a
Scheduled. - Scheduled - Interface in dev.gmitch215.bytebox
-
Handles Cron Triggers.
- SCHEDULED - Enum constant in enum class dev.gmitch215.bytebox.gradle.Triggers
-
Cron Triggers.
- scheduledAt() - Method in record class dev.gmitch215.bytebox.Cron
-
Returns the value of the
scheduledAtrecord component. - ScheduledController - Interface in dev.gmitch215.bytebox
-
The controller Cloudflare passes to a
scheduledhandler. - search(String) - Method in interface dev.gmitch215.bytebox.binding.AiSearch
-
Retrieves matching passages without generating an answer.
- secret() - Method in interface dev.gmitch215.bytebox.Env
-
Returns the Secrets Store secret named
SECRETS. - secret(String) - Method in interface dev.gmitch215.bytebox.Env
- SECRETS - Enum constant in enum class dev.gmitch215.bytebox.gradle.BindingType
-
A Secrets Store secret.
- SecretsStore - Interface in dev.gmitch215.bytebox.binding
-
One secret from a Secrets Store.
- send(byte[]) - Method in interface dev.gmitch215.bytebox.socket.WebSocket
-
Sends bytes.
- send(TSObject) - Method in interface dev.gmitch215.bytebox.binding.Queue
-
Sends one message.
- send(TSObject...) - Method in interface dev.gmitch215.bytebox.binding.Pipeline
-
Sends records.
- send(TSObject, int) - Method in interface dev.gmitch215.bytebox.binding.Queue
-
Sends one message after a delay.
- send(HttpRequest, HttpResponse.BodyHandler<T>) - Method in class dev.gmitch215.bytebox.net.http.HttpClient
-
Sends a request and waits for the answer.
- send(Request) - Method in interface dev.gmitch215.bytebox.binding.DurableObjectNamespace.DurableObjectStub
- send(Request) - Method in interface dev.gmitch215.bytebox.binding.Fetcher
- send(String) - Method in interface dev.gmitch215.bytebox.binding.DurableObjectNamespace.DurableObjectStub
- send(String) - Method in interface dev.gmitch215.bytebox.binding.Fetcher
- send(String) - Method in interface dev.gmitch215.bytebox.socket.WebSocket
-
Sends text.
- send(String, TSObject) - Method in interface dev.gmitch215.bytebox.binding.Fetcher
- send(String, String, String) - Method in interface dev.gmitch215.bytebox.binding.EmailSender
-
Sends a message.
- send(String, String, String, String) - Method in interface dev.gmitch215.bytebox.binding.EmailSender
-
Sends a plain-text message, assembling the MIME.
- send(ArrayBuffer) - Method in interface dev.gmitch215.bytebox.socket.WebSocket
-
Sends bytes.
- sendBatch(TSObject...) - Method in interface dev.gmitch215.bytebox.binding.Queue
-
Sends several messages in one call, which counts as one write rather than several.
- sendEvent(String, TSObject) - Method in interface dev.gmitch215.bytebox.binding.Workflow.Instance
-
Delivers an event the workflow is waiting for.
- sendJson(TSObject) - Method in interface dev.gmitch215.bytebox.socket.WebSocket
-
Sends a value as JSON.
- sendJson(String) - Method in interface dev.gmitch215.bytebox.binding.Pipeline
-
Sends one record given as JSON.
- sendJson(String) - Method in interface dev.gmitch215.bytebox.binding.Queue
-
Sends one message as JSON.
- sendMessage(TSObject) - Method in interface dev.gmitch215.bytebox.binding.Queue
- sendMessage(TSObject, JSObject) - Method in interface dev.gmitch215.bytebox.binding.Queue
- sendMessage(JSObject) - Method in interface dev.gmitch215.bytebox.binding.EmailSender
- sendMessages(JSArray<TSObject>) - Method in interface dev.gmitch215.bytebox.binding.Queue
- sendRecords(JSArray<TSObject>) - Method in interface dev.gmitch215.bytebox.binding.Pipeline
- Serial - Class in dev.gmitch215.bytebox.io
-
Reads and writes objects in Java's own serialization format.
- SerialCodec<T> - Interface in dev.gmitch215.bytebox.io
-
Reads and writes one type in Java's serialization format.
- SerialDescriptor - Record Class in dev.gmitch215.bytebox.io
-
One class's entry in a stream's class descriptor chain.
- SerialDescriptor(String, long, byte, List<SerialField>) - Constructor for record class dev.gmitch215.bytebox.io.SerialDescriptor
-
Creates an instance of a
SerialDescriptorrecord class. - SerialException - Exception Class in dev.gmitch215.bytebox.io
-
A stream that could not be read or written.
- SerialException(String) - Constructor for exception class dev.gmitch215.bytebox.io.SerialException
- SerialException(String, Throwable) - Constructor for exception class dev.gmitch215.bytebox.io.SerialException
- SerialField - Record Class in dev.gmitch215.bytebox.io
-
One field, as the serialization format describes it.
- SerialField(String, char, String) - Constructor for record class dev.gmitch215.bytebox.io.SerialField
-
Creates an instance of a
SerialFieldrecord class. - SERIALIZABLE - Static variable in record class dev.gmitch215.bytebox.io.SerialDescriptor
-
A class that takes part in serialization.
- SerialSink - Interface in dev.gmitch215.bytebox.io
-
Where a codec writes one object's field values.
- SerialSource - Interface in dev.gmitch215.bytebox.io
-
Where a codec reads one object's field values back.
- SerialType - Annotation Interface in dev.gmitch215.bytebox.io
-
Generates a codec that reads and writes this type in Java's own serialization format.
- serialTypes(String...) - Method in class dev.gmitch215.bytebox.gradle.ByteboxExtension
-
Adds types to generate serialization codecs for.
- serialVersionUID() - Method in record class dev.gmitch215.bytebox.io.SerialDescriptor
-
Returns the value of the
serialVersionUIDrecord component. - server() - Method in class dev.gmitch215.bytebox.socket.WebSocketPair
-
Returns the end this Worker keeps.
- service() - Method in interface dev.gmitch215.bytebox.Env
-
Returns the service binding named
SERVICE. - service(String) - Method in interface dev.gmitch215.bytebox.Env
- service(String) - Method in class dev.gmitch215.bytebox.gradle.Bindings
-
Declares a service binding to another Worker.
- service(String, String) - Method in class dev.gmitch215.bytebox.gradle.Bindings
- SERVICE - Enum constant in enum class dev.gmitch215.bytebox.gradle.BindingType
-
Another Worker, reached with no network hop.
- set(String, TSObject) - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Writes one property.
- set(String, String) - Method in interface dev.gmitch215.bytebox.Headers
-
Sets one header, replacing any existing value.
- set(Collection<?>) - Static method in interface dev.gmitch215.bytebox.js.TSObject
-
A real JavaScript
Set, for an API that wants one. - setAlarm(long) - Method in interface dev.gmitch215.bytebox.durable.DurableState
-
Schedules the alarm handler.
- setArgsOption(String) - Method in class dev.gmitch215.bytebox.gradle.WranglerTask
-
Extra arguments, split on spaces.
- setBucketName(String) - Method in class dev.gmitch215.bytebox.gradle.Bindings.R2Spec
- setConfirmedOption(boolean) - Method in class dev.gmitch215.bytebox.gradle.WranglerTask
-
Confirms a command that writes.
- setConnectTimeout(int) - Method in class dev.gmitch215.bytebox.net.URLConnection
-
How long to allow for the connection.
- setCookies() - Method in interface dev.gmitch215.bytebox.Headers
-
Returns every
Set-Cookie, as a Java list. - setDatabaseId(String) - Method in class dev.gmitch215.bytebox.gradle.Bindings.D1Spec
- setDatabaseName(String) - Method in class dev.gmitch215.bytebox.gradle.Bindings.D1Spec
- setDoInput(boolean) - Method in class dev.gmitch215.bytebox.net.URLConnection
-
Whether the caller intends to read a body.
- setDoOutput(boolean) - Method in class dev.gmitch215.bytebox.net.URLConnection
-
Whether the caller intends to write a body.
- setHeader(String, String) - Method in class dev.gmitch215.bytebox.net.http.HttpRequest.Builder
-
Sets a header, replacing any value already set.
- setId(String) - Method in class dev.gmitch215.bytebox.gradle.Bindings.KvSpec
- setInstanceFollowRedirects(boolean) - Method in class dev.gmitch215.bytebox.net.HttpURLConnection
-
Whether to follow a redirect rather than return it.
- setJurisdiction(String) - Method in class dev.gmitch215.bytebox.gradle.Bindings.R2Spec
- setMigrationsDir(String) - Method in class dev.gmitch215.bytebox.gradle.Bindings.D1Spec
- setPreviewId(String) - Method in class dev.gmitch215.bytebox.gradle.Bindings.KvSpec
- setReadTimeout(int) - Method in class dev.gmitch215.bytebox.net.URLConnection
-
How long to allow for reading.
- setReject(String) - Method in interface dev.gmitch215.bytebox.MailMessage
-
Refuses the message with a permanent SMTP error.
- setRequestMethod(String) - Method in class dev.gmitch215.bytebox.net.HttpURLConnection
-
The method to use.
- setRequestProperty(String, String) - Method in class dev.gmitch215.bytebox.net.HttpURLConnection
- setRequestProperty(String, String) - Method in class dev.gmitch215.bytebox.net.URLConnection
-
Sets a request header, replacing any value already set.
- setSoTimeout(int) - Method in class dev.gmitch215.bytebox.net.Socket
-
Records a read timeout.
- setUseCaches(boolean) - Method in class dev.gmitch215.bytebox.net.URLConnection
-
Whether to use a cached copy, which is ignored: the platform's own cache decides.
- sha1(byte[]) - Static method in class dev.gmitch215.bytebox.builtin.Crypto
-
SHA-1 of bytes.
- sha1(String) - Static method in class dev.gmitch215.bytebox.builtin.Crypto
-
SHA-1 of text, UTF-8 encoded.
- sha256(byte[]) - Static method in class dev.gmitch215.bytebox.builtin.Crypto
-
SHA-256 of bytes.
- sha256(String) - Static method in class dev.gmitch215.bytebox.builtin.Crypto
-
SHA-256 of text, UTF-8 encoded.
- sha512(byte[]) - Static method in class dev.gmitch215.bytebox.builtin.Crypto
-
SHA-512 of bytes.
- sha512(String) - Static method in class dev.gmitch215.bytebox.builtin.Crypto
-
SHA-512 of text, UTF-8 encoded.
- signal(int) - Method in interface dev.gmitch215.bytebox.binding.Container
-
Signals the container.
- signature() - Method in record class dev.gmitch215.bytebox.io.SerialField
-
Returns the value of the
signaturerecord component. - simpleName() - Method in record class dev.gmitch215.bytebox.gradle.DurableObjects
-
Returns the class's simple name, which is what the binding and the JavaScript class are called.
- size(Action<SizeSpec>) - Method in class dev.gmitch215.bytebox.gradle.ByteboxExtension
-
Configures packing and the size budget.
- SizeReportTask - Class in dev.gmitch215.bytebox.gradle
-
Measures the compiled module and prints one row per compression axis.
- SizeReportTask() - Constructor for class dev.gmitch215.bytebox.gradle.SizeReportTask
- SizeSpec - Class in dev.gmitch215.bytebox.gradle
-
The
size { }block: how the compiled module is packed, and how big it may get. - SizeSpec() - Constructor for class dev.gmitch215.bytebox.gradle.SizeSpec
- SizeSpec.Compressor - Enum Class in dev.gmitch215.bytebox.gradle
-
Which compressor packs the module.
- SizeSpec.ModuleType - Enum Class in dev.gmitch215.bytebox.gradle
-
How the compiled module is carried in the bundle.
- sleep(int) - Static method in class dev.gmitch215.bytebox.concurrent.Async
-
Sleeps without occupying the fiber, using the host's timer rather than a spin.
- Socket - Class in dev.gmitch215.bytebox.net
-
A TCP socket, standing in for
java.net.Socket. - Socket - Class in dev.gmitch215.bytebox.socket
-
One TCP connection.
- Socket(String, int) - Constructor for class dev.gmitch215.bytebox.net.Socket
-
Opens a connection.
- Socket(String, int, boolean) - Constructor for class dev.gmitch215.bytebox.net.Socket
-
Opens a connection, with or without TLS.
- Socket(String, int, Socket) - Constructor for class dev.gmitch215.bytebox.net.Socket
- SocketException - Exception Class in dev.gmitch215.bytebox.net
-
A socket failed, standing in for
java.net.SocketException. - SocketException() - Constructor for exception class dev.gmitch215.bytebox.net.SocketException
-
With no message.
- SocketException(String) - Constructor for exception class dev.gmitch215.bytebox.net.SocketException
- SocketObject - Interface in dev.gmitch215.bytebox.durable
-
A Durable Object that takes WebSockets.
- sockets() - Method in interface dev.gmitch215.bytebox.durable.DurableState
-
Returns every WebSocket this instance holds.
- sockets() - Method in record class dev.gmitch215.bytebox.gradle.DurableObjects
-
Returns the value of the
socketsrecord component. - Sockets - Class in dev.gmitch215.bytebox.socket
-
Raw outbound TCP, from
cloudflare:sockets. - SocketTimeoutException - Exception Class in dev.gmitch215.bytebox.net
-
A read ran out of time, standing in for
java.net.SocketTimeoutException. - SocketTimeoutException() - Constructor for exception class dev.gmitch215.bytebox.net.SocketTimeoutException
-
With no message.
- SocketTimeoutException(String) - Constructor for exception class dev.gmitch215.bytebox.net.SocketTimeoutException
- split(CharSequence) - Method in class dev.gmitch215.bytebox.regex.Pattern
-
Splits an input around every match.
- split(CharSequence, int) - Method in class dev.gmitch215.bytebox.regex.Pattern
-
Splits an input around every match.
- splitAsStream(CharSequence) - Method in class dev.gmitch215.bytebox.regex.Pattern
-
The pieces an input splits into, as a stream.
- sql(String, Object...) - Method in interface dev.gmitch215.bytebox.durable.DurableState
-
Runs a query against this instance's own SQLite database.
- SQL - Interface in dev.gmitch215.bytebox.durable
-
A Durable Object's SQLite database.
- start() - Method in interface dev.gmitch215.bytebox.binding.Container
-
Starts the container.
- start() - Method in class dev.gmitch215.bytebox.regex.Matcher
- start(int) - Method in class dev.gmitch215.bytebox.regex.Matcher
- start(TSObject) - Method in interface dev.gmitch215.bytebox.binding.Container
-
Starts the container with entrypoint overrides.
- start(TSObject) - Method in interface dev.gmitch215.bytebox.binding.Workflow
-
Starts an instance, letting Cloudflare pick the id.
- start(String) - Method in class dev.gmitch215.bytebox.regex.Matcher
- start(String, TSObject) - Method in interface dev.gmitch215.bytebox.binding.Workflow
-
Starts an instance with an id of your own, which makes the call idempotent.
- startTLS() - Method in class dev.gmitch215.bytebox.net.Socket
-
Starts TLS on this connection.
- startTLS() - Method in class dev.gmitch215.bytebox.socket.Socket
-
Upgrades a connection opened with
Sockets.connectStartTLS(String, int)to TLS. - status() - Method in interface dev.gmitch215.bytebox.binding.Workflow.Instance
-
Returns the instance's status and output.
- status(int) - Static method in class dev.gmitch215.bytebox.Bytebox
-
An empty response with a status, for the cases where the status is the whole answer.
- statusCode() - Method in class dev.gmitch215.bytebox.net.http.HttpResponse
-
Returns the status code.
- stop() - Method in interface dev.gmitch215.bytebox.binding.Container
-
Stops the container gracefully.
- storage() - Method in interface dev.gmitch215.bytebox.durable.DurableState
-
Returns the storage itself, for anything the convenience methods here do not cover.
- stream() - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns the elements of this array or
Setas a stream. - stringify(T, Class<T>) - Static method in class dev.gmitch215.bytebox.json.JSON
-
Serialises a Java value as JSON text.
- Substitutions - Class in dev.gmitch215.bytebox.io
-
Points
java.io.ObjectOutputStreamandObjectInputStreamat the ones in this package. - Substitutions - Class in dev.gmitch215.bytebox.net
-
Points the reachable parts of
java.netat the ones in this package. - Substitutions - Class in dev.gmitch215.bytebox.regex
-
Points
java.util.regex.PatternandMatcherat the ones in this package. - Substitutions - Class in dev.gmitch215.bytebox.text
-
Points
java.util.Formatterand what it needs at the ones in this package. - Substitutions - Class in dev.gmitch215.bytebox.time
-
Points
java.timeat an implementation of it, and its rule provider at this package's. - Substitutions() - Constructor for class dev.gmitch215.bytebox.io.Substitutions
- Substitutions() - Constructor for class dev.gmitch215.bytebox.net.Substitutions
- Substitutions() - Constructor for class dev.gmitch215.bytebox.regex.Substitutions
- Substitutions() - Constructor for class dev.gmitch215.bytebox.text.Substitutions
- Substitutions() - Constructor for class dev.gmitch215.bytebox.time.Substitutions
- supply(Supplier<T>) - Static method in class dev.gmitch215.bytebox.concurrent.Async
-
Runs work on its own fiber, so the caller does not wait for it.
- supports(String) - Static method in class dev.gmitch215.bytebox.builtin.Clock
-
Reports whether the runtime knows a timezone.
- supports(String) - Static method in class dev.gmitch215.bytebox.builtin.Intl
-
Reports whether the runtime carries data for a locale.
- supports(String) - Static method in class dev.gmitch215.bytebox.builtin.Text
-
Reports whether the runtime knows an encoding.
T
- tail(Tail, JSArrayReader<TraceItem>, Env, ExecutionCtx) - Static method in class dev.gmitch215.bytebox.Handlers
-
Runs a
Tail. - tail(List<TraceItem>, Env, ExecutionCtx) - Method in interface dev.gmitch215.bytebox.Tail
-
Handles one batch of trace events.
- Tail - Interface in dev.gmitch215.bytebox
-
Receives trace events from another Worker.
- TAIL - Enum constant in enum class dev.gmitch215.bytebox.gradle.Triggers
-
Trace events from another Worker.
- tailConsumers(String...) - Method in class dev.gmitch215.bytebox.gradle.WranglerSpec
-
Adds tail consumers.
- terminate() - Method in interface dev.gmitch215.bytebox.binding.Workflow.Instance
-
Stops the instance for good.
- text() - Method in interface dev.gmitch215.bytebox.binding.R2Bucket.R2ObjectBody
-
Returns the body, decoded as UTF-8.
- text() - Method in interface dev.gmitch215.bytebox.Request
-
Reads the whole body as text.
- text() - Method in interface dev.gmitch215.bytebox.Response
-
Reads the whole body as text.
- Text - Class in dev.gmitch215.bytebox.builtin
-
The platform's own encoders, exposed as themselves.
- then(Function<T, Future<R>>) - Method in class dev.gmitch215.bytebox.concurrent.Future
-
Chains another asynchronous step after this one.
- timeout() - Method in class dev.gmitch215.bytebox.net.http.HttpRequest
-
Returns how long the request may take, empty for no limit.
- timeout(Duration) - Method in class dev.gmitch215.bytebox.net.http.HttpRequest.Builder
-
How long the request may take.
- timestamp() - Method in interface dev.gmitch215.bytebox.Message
-
Returns when the message was sent, in milliseconds since the epoch.
- timeZone() - Static method in class dev.gmitch215.bytebox.builtin.Intl
-
Returns the timezone the runtime believes it is in, which on Workers is always UTC.
- timingSafeEquals(byte[], byte[]) - Static method in class dev.gmitch215.bytebox.builtin.Crypto
-
Compares two byte arrays without leaking which byte differed through timing.
- timingSafeEquals(String, String) - Static method in class dev.gmitch215.bytebox.builtin.Crypto
-
Compares two strings without leaking which byte differed through timing.
- to() - Method in interface dev.gmitch215.bytebox.InboundMail
-
Returns the envelope recipient.
- toBase64(byte[]) - Static method in class dev.gmitch215.bytebox.builtin.Text
-
Encodes bytes as base64.
- toBase64(ArrayBuffer) - Static method in class dev.gmitch215.bytebox.builtin.Text
-
Encodes bytes as base64.
- toBuffer(byte[]) - Static method in class dev.gmitch215.bytebox.js.Bytes
-
A Java array as a buffer.
- toConfig() - Method in record class dev.gmitch215.bytebox.gradle.Binding
-
This binding as the object Wrangler expects under
BindingType.configKey(). - toExternalForm() - Method in class dev.gmitch215.bytebox.net.URL
-
Returns the URL as text.
- toHex(byte[]) - Static method in class dev.gmitch215.bytebox.builtin.Text
-
Encodes bytes as lowercase hexadecimal.
- toHex(ArrayBuffer) - Static method in class dev.gmitch215.bytebox.builtin.Text
-
Encodes bytes as lowercase hexadecimal.
- toJs(Throwable) - Static method in class dev.gmitch215.bytebox.concurrent.Async
-
Turns a Java throwable into something JavaScript can reject with.
- toJson() - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns this value serialised as JSON.
- toMatchResult() - Method in class dev.gmitch215.bytebox.regex.Matcher
-
Returns what was found, kept as it is now.
- toString() - Method in record class dev.gmitch215.bytebox.Cron
-
Returns a string representation of this record class.
- toString() - Method in record class dev.gmitch215.bytebox.Env.Bound
-
Returns a string representation of this record class.
- toString() - Method in record class dev.gmitch215.bytebox.gradle.Binding
-
Returns a string representation of this record class.
- toString() - Method in record class dev.gmitch215.bytebox.gradle.DurableObjects
-
Returns a string representation of this record class.
- toString() - Method in record class dev.gmitch215.bytebox.io.SerialDescriptor
-
Returns a string representation of this record class.
- toString() - Method in record class dev.gmitch215.bytebox.io.SerialField
-
Returns a string representation of this record class.
- toString() - Method in class dev.gmitch215.bytebox.net.http.HttpHeaders
- toString() - Method in class dev.gmitch215.bytebox.net.http.HttpRequest
- toString() - Method in class dev.gmitch215.bytebox.net.http.HttpResponse
- toString() - Method in class dev.gmitch215.bytebox.net.InetAddress
- toString() - Method in class dev.gmitch215.bytebox.net.URL
- toString() - Method in class dev.gmitch215.bytebox.regex.Pattern
-
Returns the pattern as written.
- toString() - Method in class dev.gmitch215.bytebox.text.Formatter
- toUnsignedView(byte[]) - Static method in class dev.gmitch215.bytebox.js.Bytes
-
A Java array as an unsigned byte view.
- toURI() - Method in class dev.gmitch215.bytebox.net.URL
-
This URL as a
URI. - toView(byte[]) - Static method in class dev.gmitch215.bytebox.js.Bytes
-
A Java array as a signed byte view.
- TraceItem - Interface in dev.gmitch215.bytebox
-
One trace event delivered to a
Tailhandler. - transform(TSObject) - Method in interface dev.gmitch215.bytebox.binding.Images.Transformer
-
Adds a transformation step.
- Triggers - Enum Class in dev.gmitch215.bytebox.gradle
-
Which triggers a handler class handles.
- TSObject - Interface in dev.gmitch215.bytebox.js
-
Any JavaScript value, reachable by name.
- type() - Method in record class dev.gmitch215.bytebox.gradle.Binding
-
Returns the value of the
typerecord component. - typeCode() - Method in record class dev.gmitch215.bytebox.io.SerialField
-
Returns the value of the
typeCoderecord component. - typeOf() - Method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns the result of JavaScript's
typeofon this value.
U
- UNACCEPTABLE - Static variable in interface dev.gmitch215.bytebox.socket.WebSocket
-
A message the endpoint cannot accept, which is the code to use for a protocol error.
- undefined() - Static method in interface dev.gmitch215.bytebox.js.TSObject
-
Returns JavaScript
undefined, which an absent property reads as. - UNICODE_CASE - Static variable in class dev.gmitch215.bytebox.regex.Pattern
-
Fold case across the whole of Unicode, which the platform does anyway.
- UNICODE_CHARACTER_CLASS - Static variable in class dev.gmitch215.bytebox.regex.Pattern
-
Make the predefined classes match across the whole of Unicode, which is refused.
- UNIX_LINES - Static variable in class dev.gmitch215.bytebox.regex.Pattern
-
Treat only
\nas a line terminator. - UnknownHostException - Exception Class in dev.gmitch215.bytebox.net
-
No address for a name, standing in for
java.net.UnknownHostException. - UnknownHostException() - Constructor for exception class dev.gmitch215.bytebox.net.UnknownHostException
-
With no name.
- UnknownHostException(String) - Constructor for exception class dev.gmitch215.bytebox.net.UnknownHostException
- unwrap() - Method in class dev.gmitch215.bytebox.socket.Socket
-
Returns the platform's own socket object, for anything this surface does not cover.
- upgrade(WebSocket) - Static method in class dev.gmitch215.bytebox.Bytebox
-
The 101 that completes a WebSocket upgrade.
- UPPERCASE - Static variable in class dev.gmitch215.bytebox.text.FormattableFlags
-
The conversion was written in upper case.
- upsert(TSObject...) - Method in interface dev.gmitch215.bytebox.binding.Vectorize
-
Adds or replaces vectors.
- upsertVectors(JSArray<TSObject>) - Method in interface dev.gmitch215.bytebox.binding.Vectorize
- uri() - Method in class dev.gmitch215.bytebox.net.http.HttpRequest
-
Returns where the request goes.
- uri() - Method in class dev.gmitch215.bytebox.net.http.HttpResponse
-
Returns the URI the body came from, which differs from the request's after a redirect.
- uri(URI) - Method in class dev.gmitch215.bytebox.net.http.HttpRequest.Builder
-
Where to send the request.
- url - Variable in class dev.gmitch215.bytebox.net.URLConnection
-
The URL this connection was opened for.
- URL - Class in dev.gmitch215.bytebox.net
-
A URL, standing in for
java.net.URL. - URL(URL, String) - Constructor for class dev.gmitch215.bytebox.net.URL
-
Parses a URL against a base, so that a relative one resolves.
- URL(String) - Constructor for class dev.gmitch215.bytebox.net.URL
-
Parses a URL.
- URL(String, String, int, String) - Constructor for class dev.gmitch215.bytebox.net.URL
-
Builds a URL from its parts.
- URL(String, String, String) - Constructor for class dev.gmitch215.bytebox.net.URL
-
Builds a URL from its parts.
- URLConnection - Class in dev.gmitch215.bytebox.net
-
A connection to a URL, standing in for
java.net.URLConnection. - URLConnection(URL) - Constructor for class dev.gmitch215.bytebox.net.URLConnection
- urlDecode(String) - Static method in class dev.gmitch215.bytebox.builtin.Text
-
Reverses
Text.urlEncode(String). - urlEncode(String) - Static method in class dev.gmitch215.bytebox.builtin.Text
-
Percent-encodes a value for use in a URL.
- use(Filter) - Method in class dev.gmitch215.bytebox.http.Router
-
Adds a filter, which sees every request before the route does.
- userAgent() - Method in interface dev.gmitch215.bytebox.Request
-
Returns the user agent string, or
null. - usingProxy() - Method in class dev.gmitch215.bytebox.net.HttpURLConnection
-
Returns whether a proxy is in use, which is never: the platform has no proxy setting.
- uuid() - Static method in class dev.gmitch215.bytebox.builtin.Crypto
-
Returns a cryptographically random UUID.
- uuid() - Static method in class dev.gmitch215.bytebox.Bytebox
-
Returns a cryptographically random UUID.
V
- value() - Method in interface dev.gmitch215.bytebox.binding.KVNamespace.Entry
-
Returns the value as a Java string, or
null. - value() - Method in interface dev.gmitch215.bytebox.binding.SecretsStore
-
Returns the secret's value.
- value() - Method in record class dev.gmitch215.bytebox.Env.Bound
-
Returns the value of the
valuerecord component. - valueOf(String) - Static method in enum class dev.gmitch215.bytebox.gradle.BindingType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.gmitch215.bytebox.gradle.SizeSpec.Compressor
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.gmitch215.bytebox.gradle.SizeSpec.ModuleType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.gmitch215.bytebox.gradle.Triggers
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.gmitch215.bytebox.MailAction
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.gmitch215.bytebox.net.http.HttpClient.Redirect
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.gmitch215.bytebox.net.http.HttpClient.Version
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class dev.gmitch215.bytebox.gradle.BindingType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.gmitch215.bytebox.gradle.SizeSpec.Compressor
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.gmitch215.bytebox.gradle.SizeSpec.ModuleType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.gmitch215.bytebox.gradle.Triggers
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.gmitch215.bytebox.MailAction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.gmitch215.bytebox.net.http.HttpClient.Redirect
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.gmitch215.bytebox.net.http.HttpClient.Version
-
Returns an array containing the constants of this enum class, in the order they are declared.
- var(String) - Method in interface dev.gmitch215.bytebox.Env
-
Reads a plain variable or secret.
- var(String, String) - Method in interface dev.gmitch215.bytebox.Env
-
Reads a variable, falling back when it is absent.
- vectorize() - Method in interface dev.gmitch215.bytebox.Env
-
Returns the Vectorize index named
VECTORIZE. - vectorize(String) - Method in interface dev.gmitch215.bytebox.Env
- vectorize(String) - Method in class dev.gmitch215.bytebox.gradle.Bindings
-
Declares a Vectorize index named
VECTORIZE. - vectorize(String, String) - Method in class dev.gmitch215.bytebox.gradle.Bindings
- Vectorize - Interface in dev.gmitch215.bytebox.binding
-
A Vectorize index.
- VECTORIZE - Enum constant in enum class dev.gmitch215.bytebox.gradle.BindingType
-
A Vectorize index.
- version() - Method in interface dev.gmitch215.bytebox.Env
-
Returns the version metadata binding named
CF_VERSION_METADATA. - version() - Method in enum class dev.gmitch215.bytebox.gradle.SizeSpec.Compressor
-
Returns the version range for that package.
- version() - Method in class dev.gmitch215.bytebox.net.http.HttpClient
-
Returns the version the platform reports, which it chooses rather than the caller.
- version(HttpClient.Version) - Method in class dev.gmitch215.bytebox.net.http.HttpClient.Builder
-
Which version to ask for, which the platform ignores because it negotiates its own.
- VERSION_METADATA - Enum constant in enum class dev.gmitch215.bytebox.gradle.BindingType
-
The running version's metadata.
- versionMetadata() - Method in class dev.gmitch215.bytebox.gradle.Bindings
-
Declares the version metadata binding, named
CF_VERSION_METADATA. - VersionMetadata - Interface in dev.gmitch215.bytebox.binding
-
Which version of the Worker is running.
W
- waitUntil(Future<?>) - Method in interface dev.gmitch215.bytebox.ExecutionCtx
-
Keeps the invocation alive until a future completes.
- waitUntil(JSPromise<?>) - Method in interface dev.gmitch215.bytebox.ExecutionCtx
-
Keeps the invocation alive until a promise settles.
- waitUntil(JSObject) - Method in interface dev.gmitch215.bytebox.ExecutionCtx
-
Keeps the invocation alive until the given work finishes.
- WebSocket - Interface in dev.gmitch215.bytebox.socket
-
One end of a WebSocket.
- WebSocketPair - Class in dev.gmitch215.bytebox.socket
-
The two ends of a WebSocket the Worker itself creates.
- webSockets() - Method in interface dev.gmitch215.bytebox.durable.DurableState
- Worker - Interface in dev.gmitch215.bytebox
-
Handles HTTP requests.
- WORKER_DIRECTORY - Static variable in class dev.gmitch215.bytebox.gradle.ByteboxPlugin
-
Where the generated Worker project is written, under the build directory.
- workflow() - Method in interface dev.gmitch215.bytebox.Env
-
Returns the Workflow named
WORKFLOW. - workflow(String) - Method in interface dev.gmitch215.bytebox.Env
- workflow(String) - Method in class dev.gmitch215.bytebox.gradle.Bindings
-
Declares a Workflow named
WORKFLOW. - Workflow - Interface in dev.gmitch215.bytebox.binding
-
A Workflows binding.
- WORKFLOW - Enum constant in enum class dev.gmitch215.bytebox.gradle.BindingType
-
A Workflow.
- Workflow.Instance - Interface in dev.gmitch215.bytebox.binding
-
One workflow instance.
- wrangler(Action<WranglerSpec>) - Method in class dev.gmitch215.bytebox.gradle.ByteboxExtension
-
Configures the generated Wrangler configuration.
- WRANGLER - Static variable in class dev.gmitch215.bytebox.gradle.Runner
-
The Wrangler CLI, which is what most of these tasks run.
- WranglerSpec - Class in dev.gmitch215.bytebox.gradle
-
The
wrangler { }block: what goes into the generated configuration. - WranglerSpec() - Constructor for class dev.gmitch215.bytebox.gradle.WranglerSpec
- WranglerTask - Class in dev.gmitch215.bytebox.gradle
-
Runs the Wrangler CLI in the generated Worker project.
- WranglerTask(ExecOperations) - Constructor for class dev.gmitch215.bytebox.gradle.WranglerTask
- write(AnalyticsEngine.DataPoint) - Method in interface dev.gmitch215.bytebox.binding.AnalyticsEngine
-
Records one data point.
- write(String) - Method in class dev.gmitch215.bytebox.socket.Socket
-
Writes text, UTF-8 encoded.
- write(String, TSObject) - Method in interface dev.gmitch215.bytebox.durable.DurableState.Storage
- writeBoolean(boolean) - Method in interface dev.gmitch215.bytebox.io.SerialSink
- writeByte(byte) - Method in interface dev.gmitch215.bytebox.io.SerialSink
- writeChar(char) - Method in interface dev.gmitch215.bytebox.io.SerialSink
- writeData(T, SerialSink) - Method in interface dev.gmitch215.bytebox.io.SerialCodec
-
Writes every field value.
- writeDataPoint(TSObject) - Method in interface dev.gmitch215.bytebox.binding.AnalyticsEngine
-
Records one data point.
- writeDouble(double) - Method in interface dev.gmitch215.bytebox.io.SerialSink
- writeFloat(float) - Method in interface dev.gmitch215.bytebox.io.SerialSink
- writeInt(int) - Method in interface dev.gmitch215.bytebox.io.SerialSink
- writeLong(long) - Method in interface dev.gmitch215.bytebox.io.SerialSink
- writeObject(Object) - Method in class dev.gmitch215.bytebox.io.ObjectOutputStream
-
Writes an object.
- writeObject(Object) - Method in interface dev.gmitch215.bytebox.io.SerialSink
-
Writes a reference:
null, a string, a boxed primitive, an array, an enum constant, or another type with a codec. - writeShort(short) - Method in interface dev.gmitch215.bytebox.io.SerialSink
Z
- ZoneLookup - Interface in dev.gmitch215.bytebox.time
-
The offset a zone was at an instant.
- ZoneRules - Class in dev.gmitch215.bytebox.time
-
What a zone's offset was, and when it changed.
- ZoneRules() - Constructor for class dev.gmitch215.bytebox.time.ZoneRules
-
For
IntlZoneRulesand the fixed rules below, and nothing else. - ZoneRulesProvider - Class in dev.gmitch215.bytebox.time
-
Where
java.timegets its timezone rules. - ZoneRulesProvider() - Constructor for class dev.gmitch215.bytebox.time.ZoneRulesProvider
-
Only ever reached by the compiler, when a class it rewrote declares this as its supertype.
- ZSTD - Enum constant in enum class dev.gmitch215.bytebox.gradle.SizeSpec.Compressor
-
zstd, inflated by
fzstd.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form