Index

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

A

abort() - Method in class net.targetr.wtm3.net.http.websocket.WebSocket
Aborts this WebSocket without waiting for an active frame writer.
abort() - Method in class net.targetr.wtm3.net.SuperSocket
Aborts the TCP transport without flushing buffered streams or waiting for TLS shutdown.
accessCount - Variable in class net.targetr.wtm3.cache.ResourceCache.CacheValue
Number of times this resource has been accessed.
accessCount - Variable in class net.targetr.wtm3.net.http.proxy.cache.ProxyCache.CacheEntry
Number of times this resource has been accessed.
acmeAuthorization - Variable in class net.targetr.wtm3.net.tls.DomainSetup
An authorisation code to complete validation.
AcmeDomainCertification - Class in net.targetr.wtm3.net.tls.acme
Domain certification using ACME.
AcmeDomainCertification() - Constructor for class net.targetr.wtm3.net.tls.acme.AcmeDomainCertification
Used to perform domain certification in the background.
acmeEncodedMacKey - Variable in class net.targetr.wtm3.net.tls.acme.AcmeSettings
Encoded MAC key for ACME certification.
acmeFailures - Variable in class net.targetr.wtm3.net.tls.DomainSetup
The number of failures setting up the domain.
acmeKeyId - Variable in class net.targetr.wtm3.net.tls.acme.AcmeSettings
Key ID for ACME certification.
AcmeProcess - Class in net.targetr.wtm3.net.tls.acme
Request a certificate for a domain.
AcmeProcess(DomainSetup) - Constructor for class net.targetr.wtm3.net.tls.acme.AcmeProcess
Performs domain validation and certification for a domain configuration.
acmeRetryMillis - Variable in class net.targetr.wtm3.net.tls.DomainSetup
Earliest retry time in Clock.realtime() milliseconds.
acmeService - Variable in class net.targetr.wtm3.net.tls.acme.AcmeSettings
ACME service endpoint for domain validation and certification
AcmeSettings - Class in net.targetr.wtm3.net.tls.acme
Settings required for ACME communications to setup domain certificates.
acmeToken - Variable in class net.targetr.wtm3.net.tls.DomainSetup
A token used for domain validation.
acmeUserKeyPath - Variable in class net.targetr.wtm3.net.tls.acme.AcmeSettings
Key file for storing user information about certification
add(byte[]) - Method in class net.targetr.wtm3.io.ReusableBufferList
Adds a byte array to the list.
add(byte[], int, int) - Method in class net.targetr.wtm3.io.ReusableBufferList
Adds a segment of a byte array to the list.
add(String, String...) - Method in class net.targetr.wtm3.net.http.Headers
Adds a value to a header.
add(String, Headers, byte[], long) - Method in class net.targetr.wtm3.net.http.proxy.cache.ProxyCache
Adds a response to the cache.
add(ReusableBuffer) - Method in class net.targetr.wtm3.io.ReusableBufferList
Adds a reusable buffer to the list.
add(ReusableBufferList) - Method in class net.targetr.wtm3.io.ReusableBufferList
Adds all buffers from another list to this list.
addTimeOffset(HealthStat, long) - Static method in class net.targetr.rc.monitoring.health.Health
Replaces a sample's monotonic time with timeOffset in milliseconds.
ApiProxy - Class in net.targetr.rc.util
Proxies HTTP requests to external APIs, injecting necessary API keys.
ApiProxy(ProxyCache) - Constructor for class net.targetr.rc.util.ApiProxy
Constructs a new ApiProxy using the supplied response cache.
app - Variable in class net.targetr.rc.client.ClientRequest
The app the client is running.
attach(HttpRequestMonitoringWebSocketResponse) - Method in class net.targetr.rc.monitoring.logs.http.HttpRequestMonitor
Attaches a WebSocket session to receive output from the request monitor.
attach(WebSocketFrameMonitoringWebSocketResponse) - Method in class net.targetr.rc.monitoring.logs.websocket.WebSocketFrameMonitor
Attaches a WebSocket session to receive frame log entries.
attachClient(ClientRequest) - Method in class net.targetr.rc.room.Room
Adds the client to this room.
attachClient(ClientRequest) - Method in class net.targetr.rc.room.RoomManager
Looks up or creates a room and attaches a client before it can be evicted.
Attachment(Room, Client) - Constructor for record class net.targetr.rc.room.RoomManager.Attachment
Creates an instance of a Attachment record class.
attachRequest(ClientRequest) - Method in class net.targetr.rc.client.Client
Attaches a request, ending the previous request and waking its writer.
available(String) - Method in class net.targetr.wtm3.cache.ResponseCache
Check if a resource is available
awaitCommand(ClientRequest, long) - Method in class net.targetr.rc.client.Client
Waits for and removes the next command while the supplied request is current.

B

backgroundMaintenance - Variable in class net.targetr.wtm3.Settings
Perform maintenance tasks in the background
backlog - Variable in class net.targetr.wtm3.Settings
The listen backlog.
broadcast(Client, ClientCommand) - Method in class net.targetr.rc.room.Room
Broadcasts a JavaScript command to designated targets in this room.
buffers - Variable in class net.targetr.wtm3.net.http.websocket.WebSocketFrame
The payload data as a multiple reusable buffers.
bytesRead - Variable in class net.targetr.wtm3.net.http.HttpRequest
Number of bytes read from the request.
bytesToHex(byte[]) - Static method in class net.targetr.wtm3.io.DigestUtil
Converts a byte array to a text string of HEX.
bytesToHex(byte[]) - Static method in class net.targetr.wtm3.io.IPCrypt
Convert byte array to hex string.
bytesToIp(byte[]) - Static method in class net.targetr.wtm3.io.IPCrypt
Convert a 16-byte representation back to an IP address.
bytesWritten - Variable in class net.targetr.wtm3.net.http.HttpResponse
Number of bytes written to the response.

C

cache - Variable in class net.targetr.wtm3.net.http.proxy.cache.CachingProxyResponse
The cache used to store cacheable responses from the target server.
CacheEntry() - Constructor for class net.targetr.wtm3.net.http.proxy.cache.ProxyCache.CacheEntry
Creates a new, empty cache entry.
CacheKey(String, String) - Constructor for record class net.targetr.wtm3.cache.ResourceCache.CacheKey
Creates an instance of a CacheKey record class.
CacheQueryHandler - Class in net.targetr.rc.monitoring.health
Returns the current state of the supplied caches as JSON.
CacheQueryHandler(HttpRequest, ProxyCache, ResourceCache) - Constructor for class net.targetr.rc.monitoring.health.CacheQueryHandler
Constructs a CacheQueryHandler for the given request and caches.
cacheSizeBytes - Variable in class net.targetr.wtm3.cache.ResourceCache
Current size in bytes of all cached resources
CacheValue() - Constructor for class net.targetr.wtm3.cache.ResourceCache.CacheValue
Constructs a new CacheValue.
CachingProxy - Class in net.targetr.wtm3.net.http.proxy.cache
A proxy that caches responses from target servers to avoid repeated network requests.
CachingProxy(HttpRequest, String, long, long, ProxyCache) - Constructor for class net.targetr.wtm3.net.http.proxy.cache.CachingProxy
Creates a new caching proxy.
CachingProxyResponse - Class in net.targetr.wtm3.net.http.proxy.cache
Streams a response to a client from another connection while caching the response data
CachingProxyResponse(Proxy, long, long, ProxyCache) - Constructor for class net.targetr.wtm3.net.http.proxy.cache.CachingProxyResponse
Builds a new CachingProxyResponse suitable for streaming a response from a proxied connection to the client and caching data at the same time.
canRelayError() - Method in class net.targetr.wtm3.io.MonitoredOutputStream
Returns the error-relay flag.
certificate - Variable in class net.targetr.wtm3.net.tls.GeneratedCert
The certificate matching the private key
certificateChain - Variable in class net.targetr.wtm3.net.tls.DomainSetup
The full certificate chain
checkAddress(String) - Static method in class net.targetr.wtm3.net.http.proxy.ProxySecurity
Validates that the specified target URL string is safe to be proxied.
checkAddress(URI) - Static method in class net.targetr.wtm3.net.http.proxy.ProxySecurity
Validates that the specified target URI is safe to be proxied.
checkAddress(URL) - Static method in class net.targetr.wtm3.net.http.proxy.ProxySecurity
Validates that the specified target URL is safe to be proxied.
checkRequestRate(String) - Method in class net.targetr.wtm3.util.RateLimit
Checks if the given id has exceeded the allowed request rate limit.
chooseClientAlias(String[], Principal[], Socket) - Method in class net.targetr.wtm3.net.tls.DomainKeyManager
 
chooseServerAlias(String, Principal[], Socket) - Method in class net.targetr.wtm3.net.tls.DomainKeyManager
 
ChunkedInputStream - Class in net.targetr.wtm3.io
Reads a chunked input stream.
ChunkedInputStream(InputStream) - Constructor for class net.targetr.wtm3.io.ChunkedInputStream
Decorates an input stream to enable reading in chunks specified by a HTTP/1.1 server.
ChunkedOutputStream - Class in net.targetr.wtm3.io
Writes a chunked output stream.
ChunkedOutputStream(OutputStream) - Constructor for class net.targetr.wtm3.io.ChunkedOutputStream
Decorates an output stream to enable writing in chunks to a HTTP/1.1 client.
CHUNKING_BUFFER_SIZE - Static variable in class net.targetr.wtm3.io.ChunkedOutputStream
The size recommended when writing chunked data.
CHUNKING_WRITE_DELAY - Static variable in class net.targetr.wtm3.io.ChunkedOutputStream
Millisecond threshold checked during writes to flush a partial chunk.
cipherSuites - Variable in class net.targetr.wtm3.Settings
Enabled cipher suites in preference order; empty retains the factory defaults.
ClassPathResourceCache - Class in net.targetr.wtm3.cache
Provides cached access to classpath resources through a ResourceCache.
ClassPathResourceCache(ResourceCache) - Constructor for class net.targetr.wtm3.cache.ClassPathResourceCache
Constructs a ClassPathResourceCache backed by the supplied common cache.
ClassPathResourceLoader - Class in net.targetr.wtm3.io.loader
Opens resources from the classpath using Class.getResourceAsStream(String).
ClassPathResourceLoader() - Constructor for class net.targetr.wtm3.io.loader.ClassPathResourceLoader
Creates a new ClassPathResourceLoader.
cleanupCacheSize() - Method in class net.targetr.wtm3.cache.ResourceCache
Removes the least recently accessed quarter of the entries when this cache's entry-count or byte-count threshold is exceeded.
clear() - Method in class net.targetr.wtm3.io.ReusableBufferList
Clears all buffers from this list.
clear() - Method in class net.targetr.wtm3.net.http.proxy.cache.ProxyCache
Clears all entries from the cache and resets current cache size to 0.
clearExpiredRates() - Method in class net.targetr.wtm3.util.RateLimit
Removes all request rate records that are older than the configured time unit.
client() - Method in record class net.targetr.rc.room.RoomManager.Attachment
Returns the value of the client record component.
Client - Class in net.targetr.rc.client
Represents a WebBrowser in a room.
Client() - Constructor for class net.targetr.rc.client.Client
Constructs a new Client instance.
Client.DirectSendHandler - Interface in net.targetr.rc.client
Handler invoked for direct, real-time command dispatch omitting the queue.
ClientCommand - Class in net.targetr.rc.client
Represents a command to send JavaScript to one or more clients.
ClientCommand(byte[]) - Constructor for class net.targetr.rc.client.ClientCommand
Creates a new command with no specified targets.
ClientCommand(byte[], List<String>, List<String>) - Constructor for class net.targetr.rc.client.ClientCommand
Creates a new command with the given data and targets.
ClientCommand(ReusableBufferList) - Constructor for class net.targetr.rc.client.ClientCommand
Creates a new command with no specified targets.
ClientCommand(ReusableBufferList, List<String>, List<String>) - Constructor for class net.targetr.rc.client.ClientCommand
Creates a new command with the given data and targets.
ClientCommandException - Exception Class in net.targetr.rc.client
Indicates that a client command could not be parsed.
ClientCommandException(String) - Constructor for exception class net.targetr.rc.client.ClientCommandException
Constructs a new ClientCommandException with the specified detail message.
clientCount - Static variable in class net.targetr.rc.client.ClientWebSocketHandler
Counter for connected clients.
ClientFileChunk - Class in net.targetr.rc.client
Represents a small chunk of a file being proxied.
ClientFileChunk(String, String, String, String, String) - Constructor for class net.targetr.rc.client.ClientFileChunk
Constructs a new ClientFileChunk with the specified room, client, file, chunk, and URL.
ClientFileProxy - Class in net.targetr.rc.client
Starts a binary response by connecting to another client.
ClientFileProxy(HttpRequest) - Constructor for class net.targetr.rc.client.ClientFileProxy
Initializes a new proxy request from the HTTP request details.
ClientFileProxyResponse - Class in net.targetr.rc.client
Builds a binary response by requesting chunks from another client.
ClientFileProxyResponse(ClientFileProxy) - Constructor for class net.targetr.rc.client.ClientFileProxyResponse
Constructs a response to proxy a file from a client.
clientId - Variable in class net.targetr.rc.client.ClientRequest
The browser's client ID, reused when reconnecting.
clientRequest - Variable in class net.targetr.rc.client.Client
The current client request associated with this client.
ClientRequest - Class in net.targetr.rc.client
Identifies a browser connection and tracks its lifetime.
ClientRequest(HttpRequest) - Constructor for class net.targetr.rc.client.ClientRequest
Parses a client request from an incoming HTTP request.
ClientWebSocketHandler - Class in net.targetr.rc.client
Communicates with a client using a WebSocket.
ClientWebSocketHandler(HttpRequest) - Constructor for class net.targetr.rc.client.ClientWebSocketHandler
Constructs a new WebSocket handler for the given request.
Clock - Class in net.targetr.wtm3.util
Abstraction for the system clock.
Clock() - Constructor for class net.targetr.wtm3.util.Clock
Default constructor for Clock.
close() - Method in class net.targetr.rc.client.MultiOutputStream
Closes each output stream, stopping at the first failure.
close() - Method in class net.targetr.tncaptcha.GifSequenceWriter
Finishes the GIF sequence without closing the output stream or disposing the writer.
close() - Method in class net.targetr.wtm3.io.ChunkedInputStream
Drains remaining chunks and trailers without closing the underlying stream.
close() - Method in class net.targetr.wtm3.io.ChunkedOutputStream
 
close() - Method in class net.targetr.wtm3.io.LengthRestrictedInputStream
Discards remaining bytes up to the limit without closing the underlying stream.
close() - Method in class net.targetr.wtm3.io.LengthRestrictedOutputStream
Closes the underlying output stream.
close() - Method in class net.targetr.wtm3.io.MonitoredInputStream
 
close() - Method in class net.targetr.wtm3.io.MonitoredOutputStream
 
close() - Method in class net.targetr.wtm3.net.http.websocket.WebSocket
Closes the connection using the independent abort path.
close() - Method in class net.targetr.wtm3.net.SuperSocket
Closes the socket.
closeAll() - Method in class net.targetr.rc.room.RoomManager
Forcefully closes all network connections currently established to all rooms.
closeWebSocket(HttpRequest, WebSocketResponse) - Method in class net.targetr.rc.monitoring.logs.CommunicationsInterceptor
 
closeWebSocket(HttpRequest, WebSocketResponse) - Method in interface net.targetr.wtm3.net.http.websocket.WebSocketFrameInterceptor
Called when an existing websocket is closed.
code - Variable in class net.targetr.wtm3.net.http.HttpResponse
An HTTP code that signifies how the request was handled.
collectConnections(List<Closeable>) - Method in class net.targetr.rc.room.Room
Aggregates all open internal network socket connections.
Communication model - Search tag in Overview
Section
CommunicationsInterceptor - Class in net.targetr.rc.monitoring.logs
Interceptor for monitoring RCWeb HTTP requests and WebSocket frames.
CommunicationsInterceptor(HttpRequestMonitor, WebSocketFrameMonitor) - Constructor for class net.targetr.rc.monitoring.logs.CommunicationsInterceptor
Constructs a communications interceptor using the supplied monitors.
connection - Variable in class net.targetr.rc.client.ClientRequest
The underlying connection object.
CONNECTION_END_COUNT - Static variable in class net.targetr.wtm3.Stats
Number of connection handlers finished, including failures.
CONNECTION_START_COUNT - Static variable in class net.targetr.wtm3.Stats
Number of accepted connection handlers started.
consume(InputStream) - Static method in class net.targetr.wtm3.io.StreamUtil
Reads until end of stream
consumeBody() - Method in class net.targetr.wtm3.net.http.HttpRequest
Consumes the body of this HTTP request by reading and discarding the remaining data.
containsKey(String) - Method in class net.targetr.wtm3.net.http.Headers
Checks whether a header has at least one value.
createCertificate(String, String, GeneratedCert, boolean, int) - Static method in class net.targetr.wtm3.net.tls.SelfSignedCertificateGenerator
Creates a new self-signed or CA-signed certificate.
createClientId() - Static method in class net.targetr.rc.util.IdGen
Generates a new random client ID.
createNoUpdate() - Static method in class net.targetr.rc.client.JavaScriptSnippets
Creates a snippet to tell the client there are no pending updates.
createPage(String) - Static method in class net.targetr.wtm3.net.http.response.HttpRedirectResponse
Generates a basic HTML page for the redirection.
createRoomFull(int) - Static method in class net.targetr.rc.client.JavaScriptSnippets
Stops automatic reconnects and displays an error when a room is full.
createRoomId() - Static method in class net.targetr.rc.util.IdGen
Generates a new random room ID.
createSecureSocket(String, Socket, InputStream) - Method in class net.targetr.wtm3.net.tls.SecureSuperSocketFactory
Creates a new secure socket.
createUpdateHeader(String) - Static method in class net.targetr.rc.client.JavaScriptSnippets
Creates a snippet to inform the client of a server update.
createWsStart() - Static method in class net.targetr.rc.client.JavaScriptSnippets
Creates a snippet to notify the client that the WebSocket is active.

D

data - Variable in class net.targetr.wtm3.cache.ResourceCache.CacheValue
The binary content of the resource.
data() - Method in class net.targetr.wtm3.io.ReusableBuffer
Returns the underlying byte array.
detach(HttpRequestMonitoringWebSocketResponse) - Method in class net.targetr.rc.monitoring.logs.http.HttpRequestMonitor
Detaches a WebSocket session from receiving output from the request monitor.
detach(WebSocketFrameMonitoringWebSocketResponse) - Method in class net.targetr.rc.monitoring.logs.websocket.WebSocketFrameMonitor
Detaches a WebSocket session from receiving frame log entries.
DigestUtil - Class in net.targetr.wtm3.io
Tools for processing hashes.
DigestUtil() - Constructor for class net.targetr.wtm3.io.DigestUtil
Default constructor for DigestUtil.
domain - Variable in class net.targetr.wtm3.net.tls.DomainSetup
The domain name or address this configuration is for.
DOMAIN_CHECK_RESPONSE - Static variable in class net.targetr.wtm3.net.tls.acme.DomainSetupSyncHttpHandler
Expected response when checking domain verification status.
DomainCertification - Interface in net.targetr.wtm3.net.tls
Interface for adding domain certification.
DomainKeyManager - Class in net.targetr.wtm3.net.tls
Maintains certificate chain and private key for a domain.
DomainKeyManager(DomainSetup) - Constructor for class net.targetr.wtm3.net.tls.DomainKeyManager
Used to select the correct certificate and private key for a TLS connection.
DomainRejectedException - Exception Class in net.targetr.wtm3.net.tls
Indicates that a domain is not permitted by the server's TLS configuration.
DomainRejectedException() - Constructor for exception class net.targetr.wtm3.net.tls.DomainRejectedException
Constructs a domain rejection exception without a detail message.
DomainRejectedException(String) - Constructor for exception class net.targetr.wtm3.net.tls.DomainRejectedException
Constructs a domain rejection exception with the specified detail message.
domains - Variable in class net.targetr.wtm3.Settings
List of domains to create certificates for.
DomainSetup - Class in net.targetr.wtm3.net.tls
Stores important domain configuration values.
DomainSetup() - Constructor for class net.targetr.wtm3.net.tls.DomainSetup
Default constructor for DomainSetup.
DomainSetupManager - Class in net.targetr.wtm3.net.tls
Accesses a keystore containing certificates for domains.
DomainSetupManager() - Constructor for class net.targetr.wtm3.net.tls.DomainSetupManager
Creates a new manager for maintaining certificates and keys.
DomainSetupSyncHttpHandler - Class in net.targetr.wtm3.net.tls.acme
Responds to ACME servers as required for domain validation.
DomainSetupSyncHttpHandler() - Constructor for class net.targetr.wtm3.net.tls.acme.DomainSetupSyncHttpHandler
Constructs a new DomainSetupSyncHttpHandler.

E

EGRESS - Static variable in class net.targetr.wtm3.Stats
Egress bytes.
encourageSecureConnections - Variable in class net.targetr.wtm3.Settings
Encourage use of TLS connections by redirecting HTTP traffic to HTTPS
encrypt(String, byte[]) - Static method in class net.targetr.wtm3.io.IPCrypt
Encrypt an IP address using AES-128.
encrypt(InetAddress, byte[]) - Static method in class net.targetr.wtm3.io.IPCrypt
Encrypt an IP address using AES-128.
endRequest(ClientRequest) - Method in class net.targetr.rc.client.Client
Ends a specific request and wakes waiting writers without ending a replacement.
endTime - Variable in class net.targetr.rc.client.ClientRequest
Request end time in Clock.realtime() milliseconds, or 0 while active.
EnhancedErrorFormatter - Class in net.targetr.rc.util
Enhances HTML error pages with additional connection and request details.
EnhancedErrorFormatter(ClassPathResourceCache) - Constructor for class net.targetr.rc.util.EnhancedErrorFormatter
Creates a new EnhancedErrorFormatter.
enqueueCommand(ClientCommand) - Method in class net.targetr.rc.client.Client
Queues a command for the client writer without attempting direct delivery.
equals(Object) - Method in record class net.targetr.rc.room.RoomManager.Attachment
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.targetr.wtm3.cache.ResourceCache.CacheKey
Indicates whether some other object is "equal to" this one.
errorFormatter - Variable in class net.targetr.wtm3.Settings
HTML error page formatter.
escapeHtml(String) - Static method in class net.targetr.wtm3.util.StringUtil
Escapes ampersands, angle brackets and quotes for HTML text or quoted attributes.
etag - Variable in class net.targetr.wtm3.cache.ResourceCache.CacheValue
The ETag string calculated for the resource data.
expireIfEmpty(long, long) - Method in class net.targetr.rc.room.Room
Marks an empty room expired, preventing attachment through stale references.
expiry - Variable in class net.targetr.wtm3.net.http.proxy.cache.ProxyCache.CacheEntry
The expiration time of this entry in milliseconds since epoch.
explore(byte[], int, int) - Static method in class net.targetr.wtm3.net.tls.SSLExplorer
Launch and explore the security capabilities from byte array.
explore(ByteBuffer) - Static method in class net.targetr.wtm3.net.tls.SSLExplorer
Launch and explore the security capabilities from byte buffer.

F

findRoom(String) - Method in class net.targetr.rc.room.RoomManager
Looks up a room without creating it or extending its empty-room lifetime.
finish() - Method in class net.targetr.rc.monitoring.logs.CommunicationsInterceptor
 
finish() - Method in class net.targetr.wtm3.io.ChunkedOutputStream
Writes buffered data and the terminating empty chunk once, without closing or flushing the underlying stream.
finish() - Method in interface net.targetr.wtm3.net.http.HttpInterceptor
Called when handling the request and writing the response has finished.
flush() - Method in class net.targetr.wtm3.io.ChunkedOutputStream
 
flush() - Method in class net.targetr.wtm3.io.LengthRestrictedOutputStream
Flushes the underlying output stream.
flush() - Method in class net.targetr.wtm3.io.MonitoredOutputStream
 
format(String, Map<String, String>) - Static method in class net.targetr.wtm3.util.StringUtil
Replaces placeholders in a template string with corresponding values from a map.
format(LogRecord) - Method in class net.targetr.wtm3.util.NiceLogFormatter
Formats the level, current thread, logger and message, followed by any stack trace.
formatCookieDate(long) - Static method in class net.targetr.wtm3.util.Rfc822Date
Returns a string in RFC-822 format for Cookies.
formatDate(long) - Static method in class net.targetr.wtm3.util.Rfc822Date
Returns a string in RFC-822 format.
formatError(HttpRequest, HttpResponse, int, String, String, Throwable) - Method in class net.targetr.rc.util.EnhancedErrorFormatter
 
formatError(HttpRequest, HttpResponse, int, String, String, Throwable) - Method in class net.targetr.wtm3.util.HtmlErrorFormatter
Formats an error response as an HTML page.
formatStackTrace(Throwable) - Static method in class net.targetr.wtm3.util.StringUtil
Converts an exception to a plain text stack trace.
found - Variable in class net.targetr.wtm3.cache.ResourceCache.CacheValue
True if the resource was found, false otherwise.
frameIn(WebSocketFrame) - Method in class net.targetr.rc.monitoring.logs.CommunicationsInterceptor
 
frameIn(WebSocketFrame) - Method in interface net.targetr.wtm3.net.http.websocket.WebSocketFrameInterceptor
Called when a frame is received from the client.
frameOut(WebSocketFrame) - Method in class net.targetr.rc.monitoring.logs.CommunicationsInterceptor
 
frameOut(WebSocketFrame) - Method in interface net.targetr.wtm3.net.http.websocket.WebSocketFrameInterceptor
Called when a frame is sent to the client.

G

generate(HttpRequest) - Method in class net.targetr.rc.mcp.McpHandler
Handles an MCP request or a token-correlated browser reply.
generate(HttpRequest) - Method in class net.targetr.rc.RootResponder
Dispatches the incoming HTTP request and returns an appropriate response.
generate(HttpRequest) - Method in class net.targetr.tncaptcha.TemporalNoiseCaptchaResponder
 
generate(HttpRequest) - Method in interface net.targetr.wtm3.net.http.ResponseGenerator
Reads a request and returns a suitable response.
GeneratedCert - Class in net.targetr.wtm3.net.tls
Wraps a certificate and private key into one object.
GeneratedCert(PrivateKey, X509Certificate) - Constructor for class net.targetr.wtm3.net.tls.GeneratedCert
Creates a new GeneratedCert object with private key and certificate.
generateQueryString(Map<String, String>) - Static method in class net.targetr.wtm3.net.http.HttpRequest
Generates a query string, UTF-8 URL-encoding values but leaving keys unchanged.
generateResponse() - Method in class net.targetr.rc.client.ClientWebSocketHandler
Validates the client request and prepares the response that will perform the WebSocket upgrade and manage the connection when written.
generateResponse() - Method in class net.targetr.rc.monitoring.health.CacheQueryHandler
Returns cache states as JSON for GET requests.
generateResponse() - Method in class net.targetr.rc.monitoring.health.HealthCheckHandler
Returns health metrics for GET requests, adding room state only when the auth query parameter passes the authorization check.
generateResponse() - Method in class net.targetr.rc.monitoring.health.WebSocketHealth
Initiates the WebSocket upgrade response.
generateResponse() - Method in class net.targetr.rc.monitoring.logs.http.WebSocketHttpRequestMonitor
Initiates the WebSocket upgrade response and sends HTTP request log entries to WebSocket.
generateResponse() - Method in class net.targetr.rc.monitoring.logs.websocket.WebSocketWebSocketFrameMonitor
Initiates the WebSocket upgrade response and sends WebSocket frame log entries to WebSocket.
generateResponse(HttpRequest) - Method in class net.targetr.rc.util.ApiProxy
Generates a response by proxying the request to the target API.
generateResponse(HttpRequest) - Method in class net.targetr.wtm3.net.tls.acme.DomainSetupSyncHttpHandler
Generates responses required for domain validations as part of ACME process.
GENERATOR_END_COUNT - Static variable in class net.targetr.wtm3.Stats
Number of generators ended.
GENERATOR_START_COUNT - Static variable in class net.targetr.wtm3.Stats
Number of generators started.
get() - Static method in class net.targetr.rc.Main
Retrieves the singleton Main instance.
get() - Static method in class net.targetr.rc.monitoring.health.Health
Gets the singleton instance of the Health monitor.
get() - Static method in class net.targetr.rc.room.RoomManager
Retrieves the singleton RoomManager instance.
get() - Static method in class net.targetr.wtm3.net.tls.acme.AcmeSettings
Returns a singleton instance of settings.
get() - Static method in class net.targetr.wtm3.net.tls.SecureSuperSocketFactory
Returns factory for creating secure sockets.
get() - Static method in class net.targetr.wtm3.Settings
Gets the singleton Settings instance.
get(String) - Method in class net.targetr.wtm3.net.http.proxy.cache.ProxyCache
Retrieves an entry from the cache if it exists and has not expired.
get(String, ResourceLoader) - Method in class net.targetr.wtm3.cache.ResourceCache
Gets a cached resource or loads it through the supplied loader.
getAll(String) - Method in class net.targetr.wtm3.net.http.Headers
Returns all values from a header with matching key.
getAllowedTargets() - Method in class net.targetr.rc.client.ClientCommand
Retrieves the list of allowed targets for this command.
getAppIndexPage(String) - Static method in class net.targetr.rc.RootResponder
Returns the location of an apps index page.
getBody() - Method in class net.targetr.wtm3.net.http.HttpRequest
Reads and caches a body with a non-negative Content-Length.
getBodyInputStream() - Method in class net.targetr.wtm3.net.http.HttpRequest
Returns the cached body stream, decoding chunk framing or limiting reads to Content-Length.
getBodyInputStream() - Method in class net.targetr.wtm3.net.http.HttpResponse
Returns an InputStream for reading the response body data.
getBytes(String) - Method in class net.targetr.wtm3.cache.ClassPathResourceCache
Gets the byte array content of a classpath resource through the cache.
getBytes(String) - Method in class net.targetr.wtm3.cache.ResponseCache
Gets the byte array content of a resource from the cache sources.
getBytesWritten() - Method in class net.targetr.wtm3.io.LengthRestrictedOutputStream
Returns the total number of bytes written to this stream so far.
getCache() - Method in class net.targetr.rc.RootResponder
Returns the common resource cache shared by this responder's resource sources.
getCertificateChain(String) - Method in class net.targetr.wtm3.net.tls.DomainKeyManager
 
getChanges(HealthStat, HealthStat) - Static method in class net.targetr.rc.monitoring.health.Health
Calculates the differences between an old health state and a new one.
getClient(String) - Method in class net.targetr.rc.room.Room
Retrieves an existing client given their client ID.
getClient(ClientRequest) - Method in class net.targetr.rc.room.Room
Retrieves an existing client given their client request.
getClientAliases(String, Principal[]) - Method in class net.targetr.wtm3.net.tls.DomainKeyManager
 
getConnectedClients() - Method in class net.targetr.rc.room.Room
Lists connected browsers without exposing addresses or retained reconnect slots.
getContentLength() - Method in class net.targetr.wtm3.net.http.HttpRequest
Returns the Content-Length value of this request, or -1 if not present.
getContentLength() - Method in class net.targetr.wtm3.net.http.HttpResponse
Returns the content length of the response if set in the headers.
getContentType(String) - Static method in class net.targetr.wtm3.io.Mime
Guesses the MIME type from a given request path extension.
getCookies() - Method in class net.targetr.wtm3.net.http.HttpRequest
Returns a Map containing the cookies of this request.
getCurrentCacheSizeBytes() - Method in class net.targetr.wtm3.net.http.proxy.cache.ProxyCache
Gets the current cache size in bytes.
getDeniedTargets() - Method in class net.targetr.rc.client.ClientCommand
Retrieves the list of denied targets for this command.
getDomainSetup(String) - Method in class net.targetr.wtm3.net.tls.DomainSetupManager
Loads and caches domain keys, creating a locally signed fallback certificate when the stored setup is missing, expired or unusable.
getDomainSetupManager() - Method in class net.targetr.wtm3.net.tls.SecureSuperSocketFactory
Returns the DomainSetupManager used for storing domain configuration.
getFirst(String) - Method in class net.targetr.wtm3.net.http.Headers
Returns the first value from a header.
getFirstDate(String) - Method in class net.targetr.wtm3.net.http.Headers
Parses the first header value as a GMT date.
getFirstInt(String) - Method in class net.targetr.wtm3.net.http.Headers
Parses the first header value as an integer.
getFirstLong(String) - Method in class net.targetr.wtm3.net.http.Headers
Parses the first header value as a long.
getHelloVersion() - Method in class net.targetr.wtm3.net.tls.SSLCapabilities
Returns the hello version of an SSL/TLS connection
getHistory() - Method in class net.targetr.rc.monitoring.health.Health
Retrieves the history of health stats, structured as initial state and subsequent differences.
getHttpRequestMonitor() - Static method in class net.targetr.rc.RootResponder
Returns the HTTP request monitor.
getHttpResponse() - Method in exception class net.targetr.wtm3.net.http.response.HttpErrorResponseException
Gets the HTTP response associated with this exception.
getInputStream() - Method in class net.targetr.wtm3.net.SuperSocket
Get the InputStream of data received from the client.
getInterceptor() - Method in class net.targetr.rc.RootResponder
 
getInterceptor() - Method in interface net.targetr.wtm3.net.http.HttpInterception
Called by HttpHandler before reading each request, including on reused connections.
getIP() - Method in class net.targetr.wtm3.net.SuperSocket
Returns the encrypted address of the remote client.
getLastWriteTime() - Method in class net.targetr.wtm3.net.http.websocket.WebSocket
Returns the timestamp of the last write operation on this WebSocket.
getLiveClientCount() - Method in class net.targetr.rc.room.Room
Returns the number of client slots, including recently disconnected clients retained for reconnection.
getLiveClientCount() - Method in class net.targetr.rc.room.RoomManager
Gets the total client slot count, including clients retained for reconnection.
getMap() - Method in class net.targetr.wtm3.net.http.Headers
Returns the backing Map of the headers
getMaxCacheSizeBytes() - Method in class net.targetr.wtm3.net.http.proxy.cache.ProxyCache
Get max cache size.
getMode() - Method in class net.targetr.wtm3.io.LengthRestrictedOutputStream
Returns the operational mode of this stream.
getName() - Method in class net.targetr.wtm3.io.loader.ZipFileResourceLoader
Returns the path to the ZIP file used by this loader.
getOutputStream() - Method in class net.targetr.wtm3.io.LengthRestrictedOutputStream
Returns the underlying wrapped output stream.
getOutputStream() - Method in class net.targetr.wtm3.net.SuperSocket
Get the OutputStream for sending data to the client.
getPath() - Method in class net.targetr.wtm3.net.http.HttpRequest
Returns the path portion of the URI of this request.
getPrivateKey(String) - Method in class net.targetr.wtm3.net.tls.DomainKeyManager
 
getProperty(String) - Method in class net.targetr.wtm3.Settings
Returns a value for a property key.
getPropertyInteger(String, int) - Method in class net.targetr.wtm3.Settings
Returns an integer value for a property key or def if not exist or not an integer.
getQuery() - Method in class net.targetr.wtm3.net.http.HttpRequest
Lazily parses query parameters into a mutable map.
getRecent() - Method in class net.targetr.rc.monitoring.health.Health
Returns a copy of the latest sample, waiting for the first sample if necessary.
getRecordVersion() - Method in class net.targetr.wtm3.net.tls.SSLCapabilities
Returns the record version of an SSL/TLS connection
getRemaining() - Method in class net.targetr.wtm3.io.LengthRestrictedOutputStream
Returns the remaining number of bytes that can be written before reaching the limit.
getRequest() - Method in class net.targetr.wtm3.net.http.proxy.Proxy
Gets the original HTTP request.
getRequiredSize(byte[], int, int) - Static method in class net.targetr.wtm3.net.tls.SSLExplorer
Returns the required number of bytes in the source byte array necessary to explore SSL/TLS connection.
getRequiredSize(ByteBuffer) - Static method in class net.targetr.wtm3.net.tls.SSLExplorer
Returns the required number of bytes in the source ByteBuffer necessary to explore SSL/TLS connection.
getResponse() - Method in class net.targetr.rc.client.ClientFileProxy
Processes the request and generates an appropriate HTTP response.
getResponse() - Method in class net.targetr.wtm3.net.http.proxy.cache.CachingProxy
Returns a cached body if available; otherwise forwards the request upstream.
getResponse() - Method in class net.targetr.wtm3.net.http.proxy.Proxy
Makes the connection, sends request and returns a ProxyResponse object suitable for returning the proxied response to the client.
getResponseCodes() - Static method in class net.targetr.wtm3.Stats
Returns a snapshot of response codes and their counts.
getRestriction() - Method in class net.targetr.wtm3.io.LengthRestrictedOutputStream
Returns the maximum number of bytes that can be written to this stream.
getRoom(String) - Method in class net.targetr.rc.room.RoomManager
Retrieves a room, or creates a new one if it does not exist.
getRoom(ClientRequest) - Method in class net.targetr.rc.room.RoomManager
Retrieves the request's room, creating it if absent.
getRoomCount() - Method in class net.targetr.rc.room.RoomManager
Gets the number of registered rooms, including empty rooms awaiting expiry.
getSanitised() - Method in class net.targetr.rc.monitoring.logs.http.HttpRequestLogEntry
Gets a sanitised version of this log entry.
getSanitised() - Method in class net.targetr.rc.monitoring.logs.websocket.WebSocketFrameLogEntry
Gets a sanitised version of this log entry.
getSecureDomains() - Method in class net.targetr.wtm3.net.tls.DomainSetupManager
Lists keystore aliases with unexpired X.509 certificates, excluding intermediate aliases.
getServer() - Method in class net.targetr.rc.Main
Retrieves the underlying HTTP server.
getServerAliases(String, Principal[]) - Method in class net.targetr.wtm3.net.tls.DomainKeyManager
 
getServerNames() - Method in class net.targetr.wtm3.net.tls.SSLCapabilities
Returns a List containing all SNIServerNames of the server name indication.
getSocket() - Method in class net.targetr.wtm3.net.SuperSocket
Returns the raw socket connected to the remote client.
getSource() - Method in class net.targetr.wtm3.io.loader.ClassPathResourceLoader
 
getSource() - Method in interface net.targetr.wtm3.io.loader.ResourceLoader
Returns the resource source.
getSource() - Method in class net.targetr.wtm3.io.loader.SpeedTestResourceLoader
 
getSource() - Method in class net.targetr.wtm3.io.loader.ZipFileResourceLoader
 
getState() - Method in class net.targetr.rc.client.Client
Retrieves the current state of the client request as a map.
getState() - Method in class net.targetr.rc.room.Room
Retrieves the current tracking state for all clients in the same room.
getState() - Method in class net.targetr.rc.room.RoomManager
Aggregates state representations from all active rooms.
getState() - Method in class net.targetr.wtm3.cache.ResourceCache
Reports this cache's limits, usage totals and resource details by path.
getState() - Method in class net.targetr.wtm3.net.http.proxy.cache.ProxyCache
Aggregates state representations from resource cache.
getStaticResponse(HttpRequest, String) - Method in class net.targetr.wtm3.cache.ResponseCache
Searches sources in order and builds a static GET or HEAD response.
getStaticResponse(HttpRequest, String, String) - Method in class net.targetr.wtm3.cache.ResponseCache
Searches sources in order and builds a static response with source-specific headers.
getTarget() - Method in class net.targetr.wtm3.net.http.proxy.Proxy
Gets the target URL.
getTargetConnection() - Method in class net.targetr.wtm3.net.http.proxy.Proxy
Gets the target HTTP connection.
getWebSocketFrameMonitor() - Static method in class net.targetr.rc.RootResponder
Returns the WebSocket frame monitor.
getWrappedOutputStream() - Method in class net.targetr.wtm3.io.LengthRestrictedOutputStream
Returns the underlying wrapped output stream.
GifSequenceWriter - Class in net.targetr.tncaptcha
Utility class for writing a sequence of images as an animated GIF.
GifSequenceWriter(ImageOutputStream, int, int, boolean) - Constructor for class net.targetr.tncaptcha.GifSequenceWriter
Constructs a new GifSequenceWriter.

H

handleException(Exception) - Method in class net.targetr.rc.client.ClientWebSocketHandler
 
handleException(Exception) - Method in interface net.targetr.wtm3.net.http.response.SocketExceptionHandler
Called by HttpHandler when an I/O failure occurs and a response has this handler.
hasCommands() - Method in class net.targetr.rc.client.Client
Checks if the client has commands pending in the queue.
hashCode() - Method in record class net.targetr.rc.room.RoomManager.Attachment
Returns a hash code value for this object.
hashCode() - Method in record class net.targetr.wtm3.cache.ResourceCache.CacheKey
Returns a hash code value for this object.
HEADER_CONTENT_LENGTH - Static variable in class net.targetr.wtm3.net.http.response.HttpFastStringResponse
The Content-Length header string.
HEADER_CONTENT_TYPE - Static variable in class net.targetr.wtm3.net.http.response.HttpFastStringResponse
The Content-Type header string.
headerLength - Variable in class net.targetr.wtm3.net.http.HttpRequest
Number of bytes in the request headers.
headerLength - Variable in class net.targetr.wtm3.net.http.HttpResponse
Number of bytes in the response headers.
headers - Variable in class net.targetr.wtm3.net.http.HttpRequest
The HTTP headers.
headers - Variable in class net.targetr.wtm3.net.http.HttpResponse
The headers with information about the response.
Headers - Class in net.targetr.wtm3.net.http
Parses, stores and writes HTTP headers using case-insensitive names.
Headers() - Constructor for class net.targetr.wtm3.net.http.Headers
Constructs a new empty map of headers.
Health - Class in net.targetr.rc.monitoring.health
Monitors the server health and stores a history of stats.
Health() - Constructor for class net.targetr.rc.monitoring.health.Health
Constructs the Health monitor and starts the monitoring thread.
HealthCheckHandler - Class in net.targetr.rc.monitoring.health
Returns a response about the current server health as JSON.
HealthCheckHandler(HttpRequest) - Constructor for class net.targetr.rc.monitoring.health.HealthCheckHandler
Constructs a HealthCheckHandler for the given request.
HealthStat - Class in net.targetr.rc.monitoring.health
Represents the health of the server at a specific time.
HealthStat() - Constructor for class net.targetr.rc.monitoring.health.HealthStat
Constructs a new HealthStat.
hexStringToByteArray(String) - Static method in class net.targetr.wtm3.io.DigestUtil
Converts string of hex into byte array.
hexToBytes(String) - Static method in class net.targetr.wtm3.io.IPCrypt
Convert a hex string to byte array.
HtmlErrorFormatter - Class in net.targetr.wtm3.util
Formats error responses as HTML documents.
HtmlErrorFormatter() - Constructor for class net.targetr.wtm3.util.HtmlErrorFormatter
Creates a new HtmlErrorFormatter.
HttpByteArrayResponse - Class in net.targetr.wtm3.net.http.response
A binary response to the client of known size.
HttpByteArrayResponse(byte[], String) - Constructor for class net.targetr.wtm3.net.http.response.HttpByteArrayResponse
Creates a response from an array of bytes suitable to sending to a web client.
HttpByteArrayResponse(byte[], String, String) - Constructor for class net.targetr.wtm3.net.http.response.HttpByteArrayResponse
Creates a response from an array of bytes suitable to sending to a web client.
HttpErrorResponse - Class in net.targetr.wtm3.net.http.response
Response sent to client after an error.
HttpErrorResponse(int, String) - Constructor for class net.targetr.wtm3.net.http.response.HttpErrorResponse
Returns an error code and simple error page to the client.
HttpErrorResponse(int, String, Throwable) - Constructor for class net.targetr.wtm3.net.http.response.HttpErrorResponse
Builds an error response using the configured HTML formatter.
HttpErrorResponse(HttpRequest, int, String) - Constructor for class net.targetr.wtm3.net.http.response.HttpErrorResponse
Builds an error response using the configured HTML formatter.
HttpErrorResponse(HttpRequest, int, String, String) - Constructor for class net.targetr.wtm3.net.http.response.HttpErrorResponse
Builds an error response using the configured HTML formatter.
HttpErrorResponse(HttpRequest, int, String, String, Throwable) - Constructor for class net.targetr.wtm3.net.http.response.HttpErrorResponse
Builds an error response using the configured HTML formatter.
HttpErrorResponse(HttpRequest, int, String, Throwable) - Constructor for class net.targetr.wtm3.net.http.response.HttpErrorResponse
Builds an error response using the configured HTML formatter.
HttpErrorResponse(HttpRequest, HttpResponse, int, String, String, Throwable) - Constructor for class net.targetr.wtm3.net.http.response.HttpErrorResponse
Builds an error response using the configured HTML formatter.
HttpErrorResponseException - Exception Class in net.targetr.wtm3.net.http.response
Exception for quickly sending an HttpResponse (usually an error) to a client.
HttpErrorResponseException(HttpResponse) - Constructor for exception class net.targetr.wtm3.net.http.response.HttpErrorResponseException
Constructs a new HttpErrorResponseException with the specified HTTP response.
HttpFastStringResponse - Class in net.targetr.wtm3.net.http.response
Plain text response without automatic ETags, gzip or byte-range handling.
HttpFastStringResponse(String) - Constructor for class net.targetr.wtm3.net.http.response.HttpFastStringResponse
Creates a plain text response suitable for sending to a client with content type of text/plain without adding ETag or gzip.
HttpHandler - Class in net.targetr.wtm3.net.http
Handles an HTTP connection.
HttpHandler(Socket, ResponseGenerator) - Constructor for class net.targetr.wtm3.net.http.HttpHandler
Constructs a new HttpHandler instance.
HttpInterception - Interface in net.targetr.wtm3.net.http
Supplies a per-request interceptor for capturing HTTP communications.
HttpInterceptor - Interface in net.targetr.wtm3.net.http
Observes request handling when the response generator implements HttpInterception.
HttpManifestResponse - Class in net.targetr.rc.util
Builds a web app manifest with an app-specific scope and room-specific start URL.
HttpManifestResponse(HttpRequest, String, String, ResponseCache) - Constructor for class net.targetr.rc.util.HttpManifestResponse
Constructs an HTTP response containing the dynamically generated manifest.
HttpRedirectResponse - Class in net.targetr.wtm3.net.http.response
Response to redirect the client to another location.
HttpRedirectResponse(int, String) - Constructor for class net.targetr.wtm3.net.http.response.HttpRedirectResponse
Creates a redirect response for sending a client to another location with a custom status code.
HttpRedirectResponse(String) - Constructor for class net.targetr.wtm3.net.http.response.HttpRedirectResponse
Creates a 307 Temporary Redirect response.
httpReq - Variable in class net.targetr.wtm3.net.http.proxy.Proxy
The original client request to be relayed to the target web server.
HttpRequest - Class in net.targetr.wtm3.net.http
Parses, stores and reads HTTP requests.
HttpRequest() - Constructor for class net.targetr.wtm3.net.http.HttpRequest
Constructs a new HttpRequest object with an empty Headers object.
HttpRequest(String) - Constructor for class net.targetr.wtm3.net.http.HttpRequest
Constructs a new HttpRequest object by parsing the given raw HTTP request string.
HttpRequest(String, String, String, Headers) - Constructor for class net.targetr.wtm3.net.http.HttpRequest
Constructs a new HttpRequest object with the specified method, URI, version, and headers.
HttpRequestLogEntry - Class in net.targetr.rc.monitoring.logs.http
Represents a log entry for an HTTP request.
HttpRequestLogEntry() - Constructor for class net.targetr.rc.monitoring.logs.http.HttpRequestLogEntry
Constructs a new HTTP request log entry.
HttpRequestMonitor - Class in net.targetr.rc.monitoring.logs.http
Monitors HTTP requests and dispatches them to active WebSocket monitoring sessions.
HttpRequestMonitor() - Constructor for class net.targetr.rc.monitoring.logs.http.HttpRequestMonitor
Constructs a new HttpRequestMonitor.
HttpRequestMonitorAndLog - Class in net.targetr.rc.monitoring.logs.http
Monitors HTTP requests, dispatches them to active WebSocket monitoring sessions, and writes them to a daily log file in log/yyyy-MM-dd-http.log.
HttpRequestMonitorAndLog() - Constructor for class net.targetr.rc.monitoring.logs.http.HttpRequestMonitorAndLog
Constructs a new HttpRequestMonitorAndLog.
HttpRequestMonitoringWebSocketResponse - Class in net.targetr.rc.monitoring.logs.http
WebSocket response stream for HTTP request monitoring.
HttpRequestMonitoringWebSocketResponse() - Constructor for class net.targetr.rc.monitoring.logs.http.HttpRequestMonitoringWebSocketResponse
Constructs a new HttpRequestMonitoringWebSocketResponse.
HttpResponse - Class in net.targetr.wtm3.net.http
Parses, stores and writes HTTP responses.
HttpResponse() - Constructor for class net.targetr.wtm3.net.http.HttpResponse
Constructs a new empty HttpResponse object for holding parsed metadata about a HTTP response.
HttpResponse(int, String) - Constructor for class net.targetr.wtm3.net.http.HttpResponse
Constructs a new HttpResponse object for holding parsed metadata about a HTTP response.
HttpResponse(int, String, Headers) - Constructor for class net.targetr.wtm3.net.http.HttpResponse
Constructs a new HttpResponse object for holding parsed metadata about a HTTP response including headers.
HttpServer - Class in net.targetr.wtm3.net.http
Accepts HTTP and HTTPS connections on one port, starting a virtual-thread HttpHandler for each socket.
HttpServer() - Constructor for class net.targetr.wtm3.net.http.HttpServer
Creates a new web server suitable for listening to a port for connections from web clients.
HttpStringResponse - Class in net.targetr.wtm3.net.http.response
Simple plain text response.
HttpStringResponse(String) - Constructor for class net.targetr.wtm3.net.http.response.HttpStringResponse
Creates a plain text response suitable for sending to a client with content type of text/plain.
HttpStringResponse(String, String) - Constructor for class net.targetr.wtm3.net.http.response.HttpStringResponse
Creates a text response suitable for sending to a client.

I

IdGen - Class in net.targetr.rc.util
Generates new IDs for rooms and clients.
IdGen() - Constructor for class net.targetr.rc.util.IdGen
Constructs a new IdGen.
IDLE_PERIOD - Static variable in class net.targetr.rc.client.ClientWebSocketHandler
Maximum idle period before checking connection status.
info - Variable in class net.targetr.wtm3.net.http.HttpResponse
The HTTP response information describing how the request was handled.
INGRESS - Static variable in class net.targetr.wtm3.Stats
Ingress bytes.
initSize(int) - Method in class net.targetr.wtm3.io.ReusableBuffer
Initializes the buffer to the given size if it is larger than the current size.
INSTANCE_ID - Static variable in class net.targetr.wtm3.Stats
Unique instance ID for this server run.
instanceId - Variable in class net.targetr.wtm3.Settings
An instance ID to help identify this server
interceptedOutput - Variable in class net.targetr.wtm3.net.http.proxy.ProxyResponse
The output stream where the response body is intercepted.
invalidate() - Method in class net.targetr.wtm3.cache.ResourceCache
Invalidate the cache.
ip - Variable in class net.targetr.rc.client.ClientRequest
The encrypted IP address of the client connection.
IPCrypt - Class in net.targetr.wtm3.io
Implementation of ipcrypt-deterministic using AES-128.
ipCryptKey - Variable in class net.targetr.wtm3.Settings
A 16 byte key used to encrypt the client ip addresses
ipToBytes(String) - Static method in class net.targetr.wtm3.io.IPCrypt
Convert an IP address to its 16-byte representation.
ipToBytes(InetAddress) - Static method in class net.targetr.wtm3.io.IPCrypt
Convert an IP address to its 16-byte representation.
isActive(long) - Method in class net.targetr.rc.client.Client
Checks if the client is currently active or has recently ended.
isClosed() - Method in class net.targetr.wtm3.net.http.websocket.WebSocket
Returns whether a close frame has been sent or the connection has been aborted.
isFinished() - Method in class net.targetr.wtm3.io.ChunkedInputStream
Checks whether the terminating chunk or end of stream has been reached.
isFinished() - Method in class net.targetr.wtm3.io.LengthRestrictedInputStream
Checks if the stream has reached the allowed read limit.
isFinished() - Method in class net.targetr.wtm3.io.LengthRestrictedOutputStream
Checks if the stream has reached the allowed write limit.
isGet() - Method in class net.targetr.wtm3.net.http.HttpRequest
Returns true if this is a GET request, false otherwise.
isHead() - Method in class net.targetr.wtm3.net.http.HttpRequest
Returns true if this is a HEAD request, false otherwise.
isLimitExceeded() - Method in class net.targetr.wtm3.io.LengthRestrictedOutputStream
Checks if any write attempt exceeded the limit.
isLimitReached() - Method in class net.targetr.wtm3.io.LengthRestrictedOutputStream
Checks if the write limit was reached.
isListening() - Method in class net.targetr.rc.monitoring.logs.http.HttpRequestMonitor
Checks if there are any actively listening WebSocket sessions.
isListening() - Method in class net.targetr.rc.monitoring.logs.http.HttpRequestMonitorAndLog
Returns true, always log.
isListening() - Method in class net.targetr.rc.monitoring.logs.websocket.WebSocketFrameMonitor
Checks if there are any actively listening WebSocket sessions.
isLocal() - Method in class net.targetr.wtm3.net.SuperSocket
Returns true if the socket is connected to a local address.
isLocalOrPrivateAddress(InetAddress) - Static method in class net.targetr.wtm3.net.http.proxy.ProxySecurity
Checks whether an IP address represents a local address, loopback, link-local, multicast, broadcast, or private network address space.
isLocalOrPrivateHostName(String) - Static method in class net.targetr.wtm3.net.http.proxy.ProxySecurity
Checks whether a host name string designates a local or private namespace.
isNearlyExpired(DomainSetup) - Static method in class net.targetr.wtm3.net.tls.DomainSetupManager
Checks whether any certificate in the chain expires before 30 days from now.
isOptions() - Method in class net.targetr.wtm3.net.http.HttpRequest
Returns true if this is an OPTIONS request, false otherwise.
isPost() - Method in class net.targetr.wtm3.net.http.HttpRequest
Returns true if this is a POST request, false otherwise.
isPut() - Method in class net.targetr.wtm3.net.http.HttpRequest
Returns true if this is a PUT request, false otherwise.
isSecure() - Method in class net.targetr.wtm3.net.SuperSocket
Query if this socket is secure.
isSecureSocketAvailable(String) - Method in class net.targetr.wtm3.net.tls.DomainSetupManager
Checks whether the domain setup is available and not marked self-signed.
isStopping() - Method in class net.targetr.wtm3.net.http.HttpServer
Returns true if the web server has entered the stopping state.
isValidApp(String) - Method in class net.targetr.rc.RootResponder
Verifies whether the specified app is recognized.
isValidClientId(String) - Static method in class net.targetr.rc.util.IdGen
Accepts client IDs of exactly eight ASCII letters, digits or hyphens.
isValidRoomId(String) - Static method in class net.targetr.rc.util.IdGen
Accepts room IDs of 4 to 11 ASCII letters, digits or hyphens.

J

JavaScriptSnippets - Class in net.targetr.rc.client
JavaScript snippets to help clients perform updates.
JavaScriptSnippets() - Constructor for class net.targetr.rc.client.JavaScriptSnippets
Constructs a new JavaScriptSnippets.

K

keystoreInternalKeyPassword - Variable in class net.targetr.wtm3.Settings
Internal keystore key password.
keyStorePassword - Variable in class net.targetr.wtm3.Settings
Keystore password.
keyStorePath - Variable in class net.targetr.wtm3.Settings
Path to keystore.
keyStoreType - Variable in class net.targetr.wtm3.Settings
Type of keystore.

L

lastAccessed - Variable in class net.targetr.wtm3.cache.ResourceCache.CacheValue
Last access time in Clock.realtime() milliseconds.
lastAccessed - Variable in class net.targetr.wtm3.net.http.proxy.cache.ProxyCache.CacheEntry
The last access time of this entry in milliseconds since epoch.
length() - Method in class net.targetr.wtm3.io.ReusableBuffer
Returns the length of the valid data in the buffer.
LengthRestrictedInputStream - Class in net.targetr.wtm3.io
Prevents reading too much from an input stream.
LengthRestrictedInputStream(InputStream, long) - Constructor for class net.targetr.wtm3.io.LengthRestrictedInputStream
Decorates an input stream to limit how much is read from it.
LengthRestrictedOutputStream - Class in net.targetr.wtm3.io
Prevents writing too much data to an output stream.
LengthRestrictedOutputStream(OutputStream, long) - Constructor for class net.targetr.wtm3.io.LengthRestrictedOutputStream
Decorates an output stream to limit how much data can be written to it, throwing an IOException if the limit is exceeded.
LengthRestrictedOutputStream(OutputStream, long, boolean) - Constructor for class net.targetr.wtm3.io.LengthRestrictedOutputStream
Decorates an output stream to limit how much data can be written to it.
LengthRestrictedOutputStream(OutputStream, long, LengthRestrictedOutputStream.Mode) - Constructor for class net.targetr.wtm3.io.LengthRestrictedOutputStream
Decorates an output stream to limit how much data can be written to it using the specified mode.
LengthRestrictedOutputStream.Mode - Enum Class in net.targetr.wtm3.io
Specifies the behavior when the write limit is reached.
listen(int, int, InetAddress) - Method in class net.targetr.wtm3.net.http.HttpServer
Starts listening on a specific port for connection from web clients.
listenAddr - Variable in class net.targetr.wtm3.Settings
The bind address or null for all.
load(Properties) - Method in class net.targetr.wtm3.net.tls.acme.AcmeSettings
Loads settings from a properties object.
load(Properties) - Method in class net.targetr.wtm3.Settings
Loads supported property values, resetting absent properties to defaults.
logResponseCode(Integer) - Static method in class net.targetr.wtm3.Stats
Logs a response code for statistical purposes.

M

main(String[]) - Static method in class net.targetr.rc.Main
The main entry point for the Remote Control Web application.
main(String[]) - Static method in class net.targetr.wtm3.io.IPCrypt
Utility main method to decrypt an IP Address with a key.
Main - Class in net.targetr.rc
Starts the Remote Control Web server.
Main() - Constructor for class net.targetr.rc.Main
Initializes the server application.
maintainRooms() - Method in class net.targetr.rc.room.RoomManager
Runs one maintenance cycle, keeping notifications outside the registry lock.
maintenence(long) - Method in class net.targetr.rc.room.Room
Removes expired client slots and queues a membership update when the list changes.
makeResponse() - Method in class net.targetr.wtm3.net.http.proxy.cache.CachingProxy
 
makeResponse() - Method in class net.targetr.wtm3.net.http.proxy.Proxy
Creates a ProxyResponse to stream the response back.
matchesAppOrClient(String) - Method in class net.targetr.rc.client.Client
Checks if the value matches the client or app.
matchesAppOrClient(String, String, String) - Static method in class net.targetr.rc.client.Client
Matches an exact client ID or app name.
MAX_CLIENTS - Static variable in class net.targetr.rc.room.Room
Maximum retained client slots in a room, including the reconnect grace period.
MAX_DATA_LENGTH - Static variable in class net.targetr.wtm3.io.StreamUtil
The maximum number of bytes to read before automatically aborting.
MAX_HISTORY_SIZE - Static variable in class net.targetr.rc.monitoring.health.Health
History pruning threshold; the next sample is appended after pruning.
maxAgeMillis - Variable in class net.targetr.wtm3.net.http.proxy.cache.CachingProxyResponse
The maximum age of the cached response in milliseconds.
maxCacheEntries - Variable in class net.targetr.wtm3.cache.ResourceCache
Entry-count threshold that triggers eviction from this cache when exceeded.
maxCacheSizeBytes - Variable in class net.targetr.wtm3.cache.ResourceCache
Byte-count threshold for this cache that triggers eviction when exceeded.
maxResourceSizeBytes - Variable in class net.targetr.wtm3.cache.ResourceCache
Maximum size in bytes of a single resource to be loaded and cached.
McpHandler - Class in net.targetr.rc.mcp
Minimal, stateless MCP 2025-11-25 Streamable HTTP endpoint at /api/mcp.
McpHandler() - Constructor for class net.targetr.rc.mcp.McpHandler
Creates a handler using the shared rooms.
md5(byte[]) - Static method in class net.targetr.wtm3.io.DigestUtil
Generates a text MD5 from an array of bytes.
md5Bytes(byte[]) - Static method in class net.targetr.wtm3.io.DigestUtil
Generates a byte array MD5 from an array of bytes.
metadata - Variable in class net.targetr.tncaptcha.GifSequenceWriter
The metadata associated with the GIF sequence.
metadataReadBufferSize - Variable in class net.targetr.wtm3.Settings
Read buffer and size limit in bytes for HTTP request or response metadata.
MetadataReader - Class in net.targetr.wtm3.io
Reads HTTP metadata through CRLF-CRLF and pushes back any over-read body bytes.
metaDataRequestTimeout - Variable in class net.targetr.wtm3.Settings
Elapsed-time limit in milliseconds checked while reading HTTP metadata.
method - Variable in class net.targetr.wtm3.net.http.HttpRequest
HTTP request method.
millis() - Static method in class net.targetr.wtm3.util.Clock
Returns the current time in milliseconds since unix epoch.
Mime - Class in net.targetr.wtm3.io
Maps resource path extensions to HTTP content types, including UTF-8 charset parameters for supported text formats.
Mime() - Constructor for class net.targetr.wtm3.io.Mime
Creates a MIME type helper; lookups are available through static methods.
MonitoredInputStream - Class in net.targetr.wtm3.io
Keeps track of how many bytes are read from an input stream.
MonitoredInputStream(InputStream, AtomicLong) - Constructor for class net.targetr.wtm3.io.MonitoredInputStream
Decorates a stream with the ability to monitor how much data is transferred.
MonitoredOutputStream - Class in net.targetr.wtm3.io
Keeps track of how many bytes are written to an output stream.
MonitoredOutputStream(OutputStream, AtomicLong) - Constructor for class net.targetr.wtm3.io.MonitoredOutputStream
Decorates a stream with the ability to monitor how much data is transferred.
MultiOutputStream - Class in net.targetr.rc.client
Writes to multiple output streams in sequence, stopping at the first failure.
MultiOutputStream(OutputStream...) - Constructor for class net.targetr.rc.client.MultiOutputStream
Creates a new MultiOutputStream that writes to the given output streams.

N

net.targetr.rc - package net.targetr.rc
Remote Control Web application startup and HTTP request routing.
net.targetr.rc.client - package net.targetr.rc.client
Browser connections, JavaScript command delivery and browser-hosted file transfers.
net.targetr.rc.mcp - package net.targetr.rc.mcp
Model Context Protocol (MCP) access to connected RCWeb browsers.
net.targetr.rc.monitoring - package net.targetr.rc.monitoring
Operational monitoring of the RCWeb server and its communications.
net.targetr.rc.monitoring.health - package net.targetr.rc.monitoring.health
Server health sampling, recent history and JSON monitoring responses.
net.targetr.rc.monitoring.logs - package net.targetr.rc.monitoring.logs
Integration between transport interception and RCWeb communication monitors.
net.targetr.rc.monitoring.logs.http - package net.targetr.rc.monitoring.logs.http
HTTP request log entries, live monitoring and daily log-file output.
net.targetr.rc.monitoring.logs.websocket - package net.targetr.rc.monitoring.logs.websocket
Live monitoring of incoming and outgoing WebSocket frame metadata.
net.targetr.rc.room - package net.targetr.rc.room
Room membership, command routing and room lifecycle management.
net.targetr.rc.util - package net.targetr.rc.util
RCWeb identifier generation, HTTP response helpers and external API routing.
net.targetr.tncaptcha - package net.targetr.tncaptcha
Experimental temporal-noise CAPTCHA image generation.
net.targetr.wtm3 - package net.targetr.wtm3
Shared configuration and statistics for Web Traffic Manager 3 (WTM3).
net.targetr.wtm3.cache - package net.targetr.wtm3.cache
In-memory resource caching and static HTTP response generation.
net.targetr.wtm3.io - package net.targetr.wtm3.io
Stream framing, reusable byte buffers and serialization helpers for WTM3.
net.targetr.wtm3.io.loader - package net.targetr.wtm3.io.loader
Loads resources from various sources such as classpath and zip files.
net.targetr.wtm3.net - package net.targetr.wtm3.net
Common socket abstraction for plain and TLS server connections.
net.targetr.wtm3.net.http - package net.targetr.wtm3.net.http
HTTP server connections, message models and application response dispatch.
net.targetr.wtm3.net.http.proxy - package net.targetr.wtm3.net.http.proxy
HTTP request forwarding and streamed responses from upstream servers.
net.targetr.wtm3.net.http.proxy.cache - package net.targetr.wtm3.net.http.proxy.cache
Basic in-memory caching of responses from upstream HTTP targets.
net.targetr.wtm3.net.http.response - package net.targetr.wtm3.net.http.response
Concrete HTTP responses and response-related error handling.
net.targetr.wtm3.net.http.websocket - package net.targetr.wtm3.net.http.websocket
WebSocket upgrades, frame transport and connection lifecycle handling.
net.targetr.wtm3.net.tls - package net.targetr.wtm3.net.tls
TLS detection, domain certificate selection and secure socket setup.
net.targetr.wtm3.net.tls.acme - package net.targetr.wtm3.net.tls.acme
ACME certificate acquisition and renewal for server domains.
net.targetr.wtm3.util - package net.targetr.wtm3.util
General timing, formatting and request-rate helpers for the server.
NiceLogFormatter - Class in net.targetr.wtm3.util
Formats log output nicely.
NiceLogFormatter() - Constructor for class net.targetr.wtm3.util.NiceLogFormatter
Constructs a new NiceLogFormatter.
noSniDomain - Variable in class net.targetr.wtm3.Settings
Domain to assume for clients without SNI.
NOT_MODIFIED_RESPONSE_COUNT - Static variable in class net.targetr.wtm3.Stats
Number of responses that were 403 Not modified.
notify(HttpRequestLogEntry) - Method in class net.targetr.rc.monitoring.logs.http.HttpRequestMonitor
Notifies all attached WebSocket sessions of a new request log entry.
notify(HttpRequestLogEntry) - Method in class net.targetr.rc.monitoring.logs.http.HttpRequestMonitorAndLog
Queues the entry for background logging and notifies WebSocket sessions.
notify(HttpRequestLogEntry) - Method in class net.targetr.rc.monitoring.logs.http.HttpRequestMonitoringWebSocketResponse
Notifies the WebSocket response of a new HTTP request log entry.
notify(WebSocketFrameLogEntry) - Method in class net.targetr.rc.monitoring.logs.websocket.WebSocketFrameMonitor
Notifies all attached WebSocket sessions of a new WebSocket frame log entry.
notify(WebSocketFrameLogEntry) - Method in class net.targetr.rc.monitoring.logs.websocket.WebSocketFrameMonitoringWebSocketResponse
Notifies the WebSocket response of a new WebSocket frame log entry.

O

offset() - Method in class net.targetr.wtm3.io.ReusableBuffer
Returns the offset of the data within the underlying byte array.
onClose() - Method in class net.targetr.rc.monitoring.logs.http.HttpRequestMonitoringWebSocketResponse
 
onClose() - Method in class net.targetr.rc.monitoring.logs.websocket.WebSocketFrameMonitoringWebSocketResponse
 
onClose() - Method in class net.targetr.wtm3.net.http.websocket.WebSocketResponse
Called once when the WebSocket transport is closed, from the reader, writer, or graceful-close timeout thread.
onReceiveText(ReusableBufferList) - Method in class net.targetr.rc.monitoring.logs.http.HttpRequestMonitoringWebSocketResponse
 
onReceiveText(ReusableBufferList) - Method in class net.targetr.rc.monitoring.logs.websocket.WebSocketFrameMonitoringWebSocketResponse
 
onReceiveText(ReusableBufferList) - Method in class net.targetr.wtm3.net.http.websocket.WebSocketResponse
Called when text is received from the WebSocket.
openInputStream(String) - Method in class net.targetr.wtm3.io.loader.ClassPathResourceLoader
 
openInputStream(String) - Method in interface net.targetr.wtm3.io.loader.ResourceLoader
Opens a resource stream.
openInputStream(String) - Method in class net.targetr.wtm3.io.loader.SpeedTestResourceLoader
 
openInputStream(String) - Method in class net.targetr.wtm3.io.loader.ZipFileResourceLoader
 
openWebSocket(HttpRequest, WebSocketResponse) - Method in class net.targetr.rc.monitoring.logs.CommunicationsInterceptor
 
openWebSocket(HttpRequest, WebSocketResponse) - Method in interface net.targetr.wtm3.net.http.websocket.WebSocketFrameInterceptor
Called when a new websocket is opened.

P

params - Variable in class net.targetr.tncaptcha.GifSequenceWriter
The write parameters for the image writer.
parseDate(String) - Static method in class net.targetr.wtm3.util.Rfc822Date
Parses a string in RFC-822 format.
parseHeaders(String, Headers) - Static method in class net.targetr.wtm3.net.http.Headers
Parses header lines and appends them to the supplied Headers object.
parseRequestHeader(PushbackInputStream, HttpRequest) - Static method in class net.targetr.wtm3.net.http.HttpRequest
Parses the HTTP request header from the given PushbackInputStream and stores the parsed data in the given HttpRequest object.
parseResponse(PushbackInputStream, HttpResponse) - Static method in class net.targetr.wtm3.net.http.HttpResponse
Parses a response on an InputStream into a HTTPResponse object.
path() - Method in record class net.targetr.wtm3.cache.ResourceCache.CacheKey
Returns the value of the path record component.
popCommand() - Method in class net.targetr.rc.client.Client
Retrieves and removes the next command from the queue.
port - Variable in class net.targetr.wtm3.Settings
The listen port.
prepend(String, String) - Method in class net.targetr.wtm3.net.http.Headers
Adds a value to the beginning of a list of values in a header.
privateKey - Variable in class net.targetr.wtm3.net.tls.DomainSetup
The private key to use with the certificate.
privateKey - Variable in class net.targetr.wtm3.net.tls.GeneratedCert
The private key matching certificate.
proxy - Variable in class net.targetr.wtm3.net.http.proxy.ProxyResponse
The proxy instance associated with this response.
Proxy - Class in net.targetr.wtm3.net.http.proxy
Opens a connection to another web server and streams response to client.
Proxy(HttpRequest, String) - Constructor for class net.targetr.wtm3.net.http.proxy.Proxy
Creates a new Proxy for relaying a request to the target web server.
PROXY_CACHE_HITS - Static variable in class net.targetr.wtm3.Stats
Proxy cache hits.
PROXY_CACHE_MISSES - Static variable in class net.targetr.wtm3.Stats
Proxy cache misses.
PROXY_CACHE_SIZE - Static variable in class net.targetr.wtm3.Stats
Total cached proxy response-body bytes.
ProxyCache - Class in net.targetr.wtm3.net.http.proxy.cache
A simple, thread-safe in-memory cache for HTTP responses.
ProxyCache(long) - Constructor for class net.targetr.wtm3.net.http.proxy.cache.ProxyCache
Constructs a new ProxyCache instance.
ProxyCache.CacheEntry - Class in net.targetr.wtm3.net.http.proxy.cache
Represents a cached response entry.
ProxyResponse - Class in net.targetr.wtm3.net.http.proxy
Streams a response to a client from another connection.
ProxyResponse(Proxy) - Constructor for class net.targetr.wtm3.net.http.proxy.ProxyResponse
Builds a new ProxyResponse suitable for streaming a response from a proxied connection to the client.
ProxySecurity - Class in net.targetr.wtm3.net.http.proxy
Enforces security constraints on proxy destination URLs to prevent Server-Side Request Forgery (SSRF) and unauthorized access to local or internal network resources.
ProxySecurity() - Constructor for class net.targetr.wtm3.net.http.proxy.ProxySecurity
Constructs a new ProxySecurity instance.

R

RateLimit - Class in net.targetr.wtm3.util
Counts requests per identifier in a window anchored at its first tracked request.
RateLimit(int, long) - Constructor for class net.targetr.wtm3.util.RateLimit
Constructs a new RateLimit instance with customizable rate limit values.
read() - Method in class net.targetr.wtm3.io.ChunkedInputStream
 
read() - Method in class net.targetr.wtm3.io.LengthRestrictedInputStream
 
read() - Method in class net.targetr.wtm3.io.MonitoredInputStream
 
read() - Method in class net.targetr.wtm3.net.http.websocket.WebSocket
Reads and unmasks a frame, enforcing the configured frame-size limit.
read(byte[], int, int) - Method in class net.targetr.wtm3.io.ChunkedInputStream
 
read(byte[], int, int) - Method in class net.targetr.wtm3.io.LengthRestrictedInputStream
 
read(byte[], int, int) - Method in class net.targetr.wtm3.io.MonitoredInputStream
 
readFully(InputStream) - Static method in class net.targetr.wtm3.io.StreamUtil
Reads the stream into memory, rejecting data larger than StreamUtil.MAX_DATA_LENGTH.
readFully(InputStream, int) - Static method in class net.targetr.wtm3.io.StreamUtil
Reads the stream into memory, throwing if the accumulated data exceeds the limit.
readMeta(PushbackInputStream) - Static method in class net.targetr.wtm3.io.MetadataReader
Reads from an input stream until a standard metadata boundary is reached.
readRaw(ReusableBufferList) - Static method in class net.targetr.rc.client.ClientCommand
Reads a list of buffers and parses it into a ClientCommand.
readText() - Method in class net.targetr.wtm3.net.http.websocket.WebSocket
Collects text and continuation frames into one message, enforcing the configured message-size limit.
realtime() - Static method in class net.targetr.wtm3.util.Clock
Returns monotonic time in milliseconds from an arbitrary origin.
RECORD_HEADER_SIZE - Static variable in class net.targetr.wtm3.net.tls.SSLExplorer
The header size of TLS/SSL records.
remove(String) - Method in class net.targetr.wtm3.net.http.Headers
Remove key and matching values from the map.
remove(ResourceCache.CacheKey) - Method in class net.targetr.wtm3.cache.ResourceCache
Removes cached resource with the specified key.
REQUEST_END_COUNT - Static variable in class net.targetr.wtm3.Stats
Number of requests ended.
REQUEST_START_COUNT - Static variable in class net.targetr.wtm3.Stats
Number of requests started.
requestBodyMaxSize - Variable in class net.targetr.wtm3.Settings
Maximum body size in bytes accepted by HttpRequest.getBody().
requestBodyTimeout - Variable in class net.targetr.wtm3.Settings
Elapsed-time limit in milliseconds for buffered request-body reads.
Requirements - Search tag in Overview
Section
RESOURCE_CACHE_HITS - Static variable in class net.targetr.wtm3.Stats
Resource cache hits.
RESOURCE_CACHE_MISSES - Static variable in class net.targetr.wtm3.Stats
Resource cache misses.
RESOURCE_CACHE_SIZE - Static variable in class net.targetr.wtm3.Stats
Shared resource-cache byte counter.
ResourceCache - Class in net.targetr.wtm3.cache
Caches resource bytes, ETags and missing-resource results from supplied resource loaders.
ResourceCache(int, long, int) - Constructor for class net.targetr.wtm3.cache.ResourceCache
Constructs a ResourceCache with the specified entry-count and size limits.
ResourceCache.CacheKey - Record Class in net.targetr.wtm3.cache
Identifies a resource by its source and path.
ResourceCache.CacheValue - Class in net.targetr.wtm3.cache
Represents a single entry in the resource cache.
resourceCacheEnabled - Variable in class net.targetr.wtm3.Settings
Enables storing resource-cache entries; disabling does not remove existing entries.
ResourceLoader - Interface in net.targetr.wtm3.io.loader
Opens streams for resources from a backing source or generated content.
RESPONSE_END_COUNT - Static variable in class net.targetr.wtm3.Stats
Number of responses ended.
RESPONSE_START_COUNT - Static variable in class net.targetr.wtm3.Stats
Number of responses started.
responseBody - Variable in class net.targetr.wtm3.net.http.proxy.cache.ProxyCache.CacheEntry
The body of the HTTP response.
ResponseCache - Class in net.targetr.wtm3.cache
Builds static HTTP responses from resource loaders backed by a shared ResourceCache.
ResponseCache(ResourceCache, ResponseCache.Source...) - Constructor for class net.targetr.wtm3.cache.ResponseCache
Constructs a ResponseCache with a shared cache and ordered resource sources.
ResponseCache.Source - Class in net.targetr.wtm3.cache
Represents a named resource loader with optional response headers.
ResponseGenerator - Interface in net.targetr.wtm3.net.http
Simple interface for generating an HTTP response to an HTTP request.
responseHeaders - Variable in class net.targetr.wtm3.net.http.proxy.cache.ProxyCache.CacheEntry
The HTTP headers from the response.
ReusableBuffer - Class in net.targetr.wtm3.io
A reusable buffer of bytes.
ReusableBuffer() - Constructor for class net.targetr.wtm3.io.ReusableBuffer
Constructs a new ReusableBuffer using the default transfer buffer size.
ReusableBuffer(byte[]) - Constructor for class net.targetr.wtm3.io.ReusableBuffer
Constructs a new ReusableBuffer wrapping the given byte array.
ReusableBuffer(byte[], int, int) - Constructor for class net.targetr.wtm3.io.ReusableBuffer
Constructs a new ReusableBuffer wrapping a segment of the given byte array.
ReusableBufferList - Class in net.targetr.wtm3.io
A list of reusable buffers.
ReusableBufferList() - Constructor for class net.targetr.wtm3.io.ReusableBufferList
Constructs a new empty ReusableBufferList.
ReusableBufferList(byte[]) - Constructor for class net.targetr.wtm3.io.ReusableBufferList
Constructs a new ReusableBufferList with a single byte array.
Rfc822Date - Class in net.targetr.wtm3.util
Parses and formats RFC-822 dates.
room() - Method in record class net.targetr.rc.room.RoomManager.Attachment
Returns the value of the room record component.
Room - Class in net.targetr.rc.room
Allows multiple clients in the same room to communicate.
Room() - Constructor for class net.targetr.rc.room.Room
Constructs a new Room instance.
Room(LongSupplier) - Constructor for class net.targetr.rc.room.Room
Creates a room using the manager's elapsed-time clock.
roomId - Variable in class net.targetr.rc.client.ClientRequest
The room the client is in.
RoomManager - Class in net.targetr.rc.room
Maintains a map of active rooms.
RoomManager(LongSupplier) - Constructor for class net.targetr.rc.room.RoomManager
Creates a manager with an elapsed-time clock and no background task.
RoomManager.Attachment - Record Class in net.targetr.rc.room
The room and client established by one atomic attachment operation.
RootResponder - Class in net.targetr.rc
Routes HTTP requests to app resources, browser connections and server endpoints.
RootResponder() - Constructor for class net.targetr.rc.RootResponder
Constructs the RootResponder, initializing supplementary handlers.
run() - Method in class net.targetr.wtm3.net.http.HttpHandler
Handles reading a request, generating a response and writing the response.
run() - Method in class net.targetr.wtm3.net.http.websocket.WebSocketResponse
Executes the background thread that continuously reads frames from the WebSocket and forwards them to the onReceiveText callback until the connection is closed.

S

sanitize(String, String) - Static method in class net.targetr.rc.monitoring.logs.http.HttpRequestLogEntry
Sanitizes a header value based on the header key.
sanitize(String, String) - Static method in class net.targetr.rc.monitoring.logs.websocket.WebSocketFrameLogEntry
Sanitizes a header value based on the header key.
sanitize(String, List<String>, List<String>) - Static method in class net.targetr.rc.monitoring.logs.http.HttpRequestLogEntry
Sanitizes a list of header values based on the header key.
sanitize(String, List<String>, List<String>) - Static method in class net.targetr.rc.monitoring.logs.websocket.WebSocketFrameLogEntry
Sanitizes a list of header values based on the header key.
sanitize(Map<String, Object>, Map<String, Object>) - Static method in class net.targetr.rc.monitoring.logs.http.HttpRequestLogEntry
Sanitizes a map of header values based on the header key.
sanitize(Map<String, Object>, Map<String, Object>) - Static method in class net.targetr.rc.monitoring.logs.websocket.WebSocketFrameLogEntry
Sanitizes a map of header values based on the header key.
sanitizeWebMonitoring - Variable in class net.targetr.wtm3.Settings
Applies field-specific redaction to entries sent to monitoring browsers.
santizeRoomAndClient(String) - Static method in class net.targetr.rc.monitoring.logs.http.HttpRequestLogEntry
Masks r and c query parameter values while preserving the rest of the URI.
santizeRoomAndClient(String) - Static method in class net.targetr.rc.monitoring.logs.websocket.WebSocketFrameLogEntry
Masks r and c query parameter values while preserving the rest of the URI.
saveDomainCertificate(DomainSetup) - Method in class net.targetr.wtm3.net.tls.DomainSetupManager
Invalidates the domain's socket factory and persists its certificate and key when the setup is not marked self-signed.
saveKeyStore() - Method in class net.targetr.wtm3.net.tls.DomainSetupManager
Saves the keystore to persistent storage.
searchForAcmeToken(String) - Method in class net.targetr.wtm3.net.tls.DomainSetupManager
Returns the domain configuration by searching for a token.
SecureSuperSocketFactory - Class in net.targetr.wtm3.net.tls
Adds TLS to SuperSockets.
selfSigned - Variable in class net.targetr.wtm3.net.tls.DomainSetup
True for a locally generated fallback certificate setup.
selfSignedAlias - Variable in class net.targetr.wtm3.Settings
Alias for self signed root.
SelfSignedCertificateGenerator - Class in net.targetr.wtm3.net.tls
Generates self signed certificates for TLS.
SelfSignedCertificateGenerator() - Constructor for class net.targetr.wtm3.net.tls.SelfSignedCertificateGenerator
Constructs a new SelfSignedCertificateGenerator.
send(ClientCommand) - Method in interface net.targetr.rc.client.Client.DirectSendHandler
Sends a command to the client.
sendCommand(ClientCommand) - Method in class net.targetr.rc.client.Client
Attempts direct delivery, falling back to the queue if unavailable or failed.
server - Variable in class net.targetr.wtm3.Settings
The configured server string.
Server architecture - Search tag in Overview
Section
Server overview - Search tag in Overview
Section
set(String, String...) - Method in class net.targetr.wtm3.net.http.Headers
Sets values of header.
set(String, List<String>) - Method in class net.targetr.wtm3.net.http.Headers
Sets values of header.
setAll(Headers) - Method in class net.targetr.wtm3.net.http.Headers
Copies header entries, replacing existing values for matching names.
setAllowGzip(boolean) - Method in class net.targetr.wtm3.net.http.response.HttpByteArrayResponse
Set to false to disable gzip compression when supported by web client.
setCacheLimits(int, long, int) - Method in class net.targetr.wtm3.cache.ResourceCache
Updates the cache limits used during subsequent resource loads.
setConnectTimeout(int) - Method in class net.targetr.wtm3.net.http.proxy.Proxy
Sets the connect timeout for the gateway
setData(byte[]) - Method in class net.targetr.wtm3.net.http.websocket.WebSocketFrame
Sets the data payload for this frame.
setDate(String, long) - Method in class net.targetr.wtm3.net.http.Headers
Sets a date header.
setDirectSendHandler(Client.DirectSendHandler) - Method in class net.targetr.rc.client.Client
Sets a handler to attempt instantaneous delivery of a command.
setDomainCertification(DomainCertification) - Method in class net.targetr.wtm3.net.tls.SecureSuperSocketFactory
Sets domain certification for issuing certificates for a domain.
setInputInterception(OutputStream) - Method in class net.targetr.wtm3.net.SuperSocket
Directs all input communications to an output stream.
setInterception(OutputStream) - Method in class net.targetr.wtm3.io.MonitoredInputStream
Sets a stream that receives a copy of bytes read from this input stream.
setInterception(OutputStream) - Method in class net.targetr.wtm3.io.MonitoredOutputStream
Adds an output stream to receive data written to this output stream.
setInterceptor(WebSocketFrameInterceptor) - Method in class net.targetr.wtm3.net.http.websocket.WebSocket
Sets the interceptor for WebSocket frames.
setInterceptor(WebSocketFrameInterceptor) - Method in class net.targetr.wtm3.net.http.websocket.WebSocketResponse
Sets the interceptor for WebSocket frames.
setMaxCacheSizeBytes(long) - Method in class net.targetr.wtm3.net.http.proxy.cache.ProxyCache
Set max cache size.
setOutputInterception(OutputStream) - Method in class net.targetr.wtm3.net.SuperSocket
Directs all output communications to an output stream.
setReadTimeout(int) - Method in class net.targetr.wtm3.net.http.proxy.Proxy
Sets the read timeout for the gateway
setResponder(ResponseGenerator) - Method in class net.targetr.wtm3.net.http.HttpServer
Sets the responder that will process requests and generate responses.
setSoTimeout(int) - Method in class net.targetr.wtm3.net.SuperSocket
Set the socket timeout.
Settings - Class in net.targetr.wtm3
Loads default settings and reads settings from properties files.
SimpleJsonWriter - Class in net.targetr.wtm3.io
Minimal JSON writer for monitoring data, supporting nested maps, lists, numbers and null.
SimpleJsonWriter() - Constructor for class net.targetr.wtm3.io.SimpleJsonWriter
Constructs a new SimpleJsonWriter.
sleep(int) - Static method in class net.targetr.wtm3.util.Clock
Pauses the current thread for the specified number of milliseconds.
sniffAndGet(Socket) - Static method in class net.targetr.wtm3.net.tls.SocketSniffer
Sniffs incoming bytes to a socket and returns a SuperSocket for communicating securely or in plain text.
socket - Variable in class net.targetr.wtm3.net.http.HttpRequest
Socket the request was read from.
SocketExceptionHandler - Interface in net.targetr.wtm3.net.http.response
Callback for connection I/O failures associated with a response.
socketFactory - Variable in class net.targetr.wtm3.net.tls.DomainSetup
The configured socket factory for the domain to use for creating secure connections.
SocketSniffer - Class in net.targetr.wtm3.net.tls
Sniffs a new socket to see if it uses TLS.
SocketSniffer() - Constructor for class net.targetr.wtm3.net.tls.SocketSniffer
Constructs a new SocketSniffer.
source() - Method in record class net.targetr.wtm3.cache.ResourceCache.CacheKey
Returns the value of the source record component.
Source(String, ResourceLoader) - Constructor for class net.targetr.wtm3.cache.ResponseCache.Source
Constructs a new Source with the specified resource loader.
Source(String, ResourceLoader, Headers) - Constructor for class net.targetr.wtm3.cache.ResponseCache.Source
Constructs a new Source with the specified resource loader and headers.
SpeedTestResourceLoader - Class in net.targetr.wtm3.io.loader
Generates random bytes for download speed tests.
SpeedTestResourceLoader(int) - Constructor for class net.targetr.wtm3.io.loader.SpeedTestResourceLoader
Constructs a loader with a limit for sizes requested in the resource path.
split(byte) - Method in class net.targetr.wtm3.io.ReusableBufferList
Splits at the first matching byte, excluding that byte from both results.
SSLCapabilities - Class in net.targetr.wtm3.net.tls
Encapsulates the security capabilities of an SSL/TLS connection.
SSLCapabilities() - Constructor for class net.targetr.wtm3.net.tls.SSLCapabilities
Constructs a new SSLCapabilities instance.
sslContext - Variable in class net.targetr.wtm3.Settings
The SSL Context protocol.
SSLExplorer - Class in net.targetr.wtm3.net.tls
Inspects SSL/TLS ClientHello bytes without advancing the supplied buffer.
sslProtocols - Variable in class net.targetr.wtm3.Settings
Enabled TLS protocols; empty retains the socket factory defaults.
sslSelfSignedDomainDn - Variable in class net.targetr.wtm3.Settings
Custom SSL domain distinguished name.
sslSelfSignedRootDn - Variable in class net.targetr.wtm3.Settings
Custom SSL root distinguished name.
startCertification(DomainSetup) - Method in class net.targetr.wtm3.net.tls.acme.AcmeDomainCertification
Queues a certification check; the worker skips setups not yet due for retry or renewal.
startCertification(DomainSetup) - Method in interface net.targetr.wtm3.net.tls.DomainCertification
Start domain certification
startRequest(SuperSocket) - Method in class net.targetr.rc.monitoring.logs.CommunicationsInterceptor
 
startRequest(SuperSocket) - Method in interface net.targetr.wtm3.net.http.HttpInterceptor
Called before reading a request on a new or reused connection.
startResponse(HttpRequest, HttpResponse) - Method in class net.targetr.rc.monitoring.logs.CommunicationsInterceptor
 
startResponse(HttpRequest, HttpResponse) - Method in interface net.targetr.wtm3.net.http.HttpInterceptor
Called when a response is ready to write, including an error response.
startTime - Variable in class net.targetr.rc.client.ClientRequest
Request start time in Clock.realtime() milliseconds.
startTls(String, ByteArrayInputStream) - Method in class net.targetr.wtm3.net.SuperSocket
Starts TLS on a socket that has already had data consumed.
STAT_PERIOD - Static variable in class net.targetr.rc.monitoring.health.Health
Sleep duration in milliseconds between stat collections.
Stats - Class in net.targetr.wtm3
Statistics for monitoring web server network activity.
stop() - Method in class net.targetr.wtm3.net.http.HttpServer
Closes the listener and waits up to one second for its loop to stop.
STOP_WRITING - Enum constant in enum class net.targetr.wtm3.io.LengthRestrictedOutputStream.Mode
Stops writing and discards data exceeding the byte limit without throwing an exception.
StreamUtil - Class in net.targetr.wtm3.io
Useful utilities for working with streams.
StreamUtil() - Constructor for class net.targetr.wtm3.io.StreamUtil
Constructs a new StreamUtil.
StringUtil - Class in net.targetr.wtm3.util
String utility methods.
SuperSocket - Class in net.targetr.wtm3.net
Custom implementation of a socket supporting both plain and secure connections on same port.
SuperSocket(Socket) - Constructor for class net.targetr.wtm3.net.SuperSocket
Creates a new SuperSocket from a regular socket.
SuperSocket(Socket, boolean, String, InputStream, byte[], int) - Constructor for class net.targetr.wtm3.net.SuperSocket
Creates a new SuperSocket and sets up TLS according to parameters.

T

tcpKeepAlive - Variable in class net.targetr.wtm3.Settings
Enable TCP keep alive
tcpNoDelay - Variable in class net.targetr.wtm3.Settings
Disable Nagle's algorithm
tcpSocketLingerSeconds - Variable in class net.targetr.wtm3.Settings
Socket linger timeout in seconds.
tcpSocketTimeout - Variable in class net.targetr.wtm3.Settings
Socket read timeout in milliseconds.
TemplatedHtmlResponse - Class in net.targetr.rc.util
Wraps app Markdown or a built-in HTML information page in the shared template.
TemplatedHtmlResponse(HttpRequest, String, ResponseCache) - Constructor for class net.targetr.rc.util.TemplatedHtmlResponse
Builds a templated information-page response.
TemporalNoiseCaptchaResponder - Class in net.targetr.tncaptcha
Generates an animated GIF CAPTCHA with temporal noise.
TemporalNoiseCaptchaResponder() - Constructor for class net.targetr.tncaptcha.TemporalNoiseCaptchaResponder
Constructs a new TemporalNoiseCaptchaResponder.
THROW_EXCEPTION - Enum constant in enum class net.targetr.wtm3.io.LengthRestrictedOutputStream.Mode
Throws an IOException when a write exceeds the byte limit.
TIMEOUT - Static variable in class net.targetr.wtm3.net.http.websocket.WebSocketResponse
The default timeout in milliseconds.
toByteArray() - Method in class net.targetr.wtm3.io.ReusableBufferList
Creates a single byte array containing all data from the buffers.
toCommonLogFormat() - Method in class net.targetr.rc.monitoring.logs.http.HttpRequestLogEntry
Formats this entry as an NCSA Combined Log Format line.
toJson() - Method in class net.targetr.rc.monitoring.health.HealthStat
Serializes this health stat object to a JSON string.
toJson() - Method in class net.targetr.rc.monitoring.logs.http.HttpRequestLogEntry
Serializes this HTTP request log entry to JSON.
toJson() - Method in class net.targetr.rc.monitoring.logs.websocket.WebSocketFrameLogEntry
Serializes this WebSocket frame log entry to JSON.
toJson(Map<String, Object>) - Static method in class net.targetr.wtm3.io.SimpleJsonWriter
Serializes a map using this writer's limited type and escaping support.
toString() - Method in record class net.targetr.rc.room.RoomManager.Attachment
Returns a string representation of this record class.
toString() - Method in record class net.targetr.wtm3.cache.ResourceCache.CacheKey
Returns a string representation of this record class.
toString() - Method in class net.targetr.wtm3.io.ChunkedOutputStream
 
toString() - Method in class net.targetr.wtm3.io.LengthRestrictedOutputStream
Returns a string representation of this stream.
toString() - Method in class net.targetr.wtm3.io.MonitoredOutputStream
 
toString() - Method in class net.targetr.wtm3.net.http.Headers
 
toString() - Method in class net.targetr.wtm3.net.http.HttpRequest
Returns a string representation of this HTTP request.
toString() - Method in class net.targetr.wtm3.net.http.HttpResponse
Returns the status line and headers, including the terminating blank line.
totalSizeInBytes() - Method in class net.targetr.wtm3.io.ReusableBufferList
Calculates the total size in bytes of all buffers in the list.
transferBufferSize - Variable in class net.targetr.wtm3.Settings
Buffer size in bytes used for data transfers.

U

unmask(byte[], byte[]) - Static method in class net.targetr.wtm3.net.http.websocket.WebSocket
Unmasks a WebSocket payload.
unmaskFast(byte[], byte[]) - Static method in class net.targetr.wtm3.net.http.websocket.WebSocket
Unmasks a WebSocket payload using a fast 8-byte unrolling technique.
upgradedToWebSocket - Variable in class net.targetr.wtm3.net.http.HttpRequest
Whether the request was upgraded to WebSocket.
uri - Variable in class net.targetr.wtm3.net.http.HttpRequest
The URI requested.
userAgent - Variable in class net.targetr.rc.client.ClientRequest
The User-Agent string from the client.

V

valueOf(String) - Static method in enum class net.targetr.wtm3.io.LengthRestrictedOutputStream.Mode
Returns the enum constant of this class with the specified name.
values() - Static method in enum class net.targetr.wtm3.io.LengthRestrictedOutputStream.Mode
Returns an array containing the constants of this enum class, in the order they are declared.
version - Variable in class net.targetr.wtm3.net.http.HttpRequest
The HTTP version.
version - Variable in class net.targetr.wtm3.net.http.HttpResponse
The HTTP version of the server, or version in use.
VERSION - Static variable in class net.targetr.rc.RootResponder
Current version string for RCWeb.

W

WEB_SOCKET_END_COUNT - Static variable in class net.targetr.wtm3.Stats
Number of websockets ended.
WEB_SOCKET_FRAMES_IN - Static variable in class net.targetr.wtm3.Stats
WebSocket frames received.
WEB_SOCKET_FRAMES_OUT - Static variable in class net.targetr.wtm3.Stats
WebSocket frames sent.
WEB_SOCKET_START_COUNT - Static variable in class net.targetr.wtm3.Stats
Number of websockets started.
webSocket - Variable in class net.targetr.wtm3.net.http.websocket.WebSocketResponse
The underlying WebSocket connection.
WebSocket - Class in net.targetr.wtm3.net.http.websocket
Reads and writes data frames to a WebSocket.
WebSocket(InputStream, OutputStream) - Constructor for class net.targetr.wtm3.net.http.websocket.WebSocket
Constructs a new WebSocket instance with the given input and output streams.
WebSocket(InputStream, OutputStream, Closeable) - Constructor for class net.targetr.wtm3.net.http.websocket.WebSocket
Constructs a WebSocket with an independent transport abort operation.
WebSocketFrame - Class in net.targetr.wtm3.net.http.websocket
A single data frame sent over a WebSocket.
WebSocketFrame() - Constructor for class net.targetr.wtm3.net.http.websocket.WebSocketFrame
Constructs a new WebSocketFrame.
WebSocketFrameInterceptor - Interface in net.targetr.wtm3.net.http.websocket
Interface for intercepting WebSocket frames.
WebSocketFrameLogEntry - Class in net.targetr.rc.monitoring.logs.websocket
Represents a log entry for a WebSocket frame.
WebSocketFrameLogEntry() - Constructor for class net.targetr.rc.monitoring.logs.websocket.WebSocketFrameLogEntry
Constructs a new WebSocket frame log entry.
WebSocketFrameMonitor - Class in net.targetr.rc.monitoring.logs.websocket
Monitors WebSocket frames and dispatches them to active WebSocket monitoring sessions.
WebSocketFrameMonitor() - Constructor for class net.targetr.rc.monitoring.logs.websocket.WebSocketFrameMonitor
Constructs a new WebSocketFrameMonitor.
WebSocketFrameMonitoringWebSocketResponse - Class in net.targetr.rc.monitoring.logs.websocket
WebSocket response stream for WebSocket frame monitoring.
WebSocketFrameMonitoringWebSocketResponse() - Constructor for class net.targetr.rc.monitoring.logs.websocket.WebSocketFrameMonitoringWebSocketResponse
Constructs a new WebSocketFrameMonitoringWebSocketResponse.
WebSocketHealth - Class in net.targetr.rc.monitoring.health
Streams server health history and subsequent changes over a WebSocket.
WebSocketHealth(HttpRequest) - Constructor for class net.targetr.rc.monitoring.health.WebSocketHealth
Constructs a new handler to stream health information via WebSocket.
WebSocketHttpRequestMonitor - Class in net.targetr.rc.monitoring.logs.http
Continuously streams HTTP request log entries to a WebSocket.
WebSocketHttpRequestMonitor(HttpRequest) - Constructor for class net.targetr.rc.monitoring.logs.http.WebSocketHttpRequestMonitor
Constructs a new handler to stream HTTP request log entries to WebSocket.
websocketMaxFrameSize - Variable in class net.targetr.wtm3.Settings
Maximum incoming WebSocket frame payload size in bytes.
websocketMaxMessageSize - Variable in class net.targetr.wtm3.Settings
Maximum assembled incoming WebSocket text message size in bytes.
WebSocketResponse - Class in net.targetr.wtm3.net.http.websocket
Performs the HTTP upgrade, reads text on a virtual thread and runs the writer on the response thread.
WebSocketResponse() - Constructor for class net.targetr.wtm3.net.http.websocket.WebSocketResponse
Creates a new WebSocketResponse instance for maintaining a WebSocket connection with a client.
WebSocketWebSocketFrameMonitor - Class in net.targetr.rc.monitoring.logs.websocket
Streams WebSocket frame log entries to a monitoring WebSocket.
WebSocketWebSocketFrameMonitor(HttpRequest) - Constructor for class net.targetr.rc.monitoring.logs.websocket.WebSocketWebSocketFrameMonitor
Constructs a new handler to stream WebSocket frame log entries to WebSocket.
write(byte[]) - Method in class net.targetr.rc.client.MultiOutputStream
Writes the specified byte array to all output streams.
write(byte[]) - Method in class net.targetr.wtm3.io.LengthRestrictedOutputStream
Writes all bytes from the specified byte array to the output stream.
write(byte[], int, int) - Method in class net.targetr.rc.client.MultiOutputStream
Writes the specified byte array to all output streams.
write(byte[], int, int) - Method in class net.targetr.wtm3.io.ChunkedOutputStream
 
write(byte[], int, int) - Method in class net.targetr.wtm3.io.LengthRestrictedOutputStream
Writes a portion of a byte array to the output stream.
write(byte[], int, int) - Method in class net.targetr.wtm3.io.MonitoredOutputStream
 
write(int) - Method in class net.targetr.rc.client.MultiOutputStream
Writes the specified byte to all output streams.
write(int) - Method in class net.targetr.wtm3.io.ChunkedOutputStream
 
write(int) - Method in class net.targetr.wtm3.io.LengthRestrictedOutputStream
Writes a single byte to the output stream.
write(int) - Method in class net.targetr.wtm3.io.MonitoredOutputStream
 
write(HttpRequest, OutputStream) - Method in class net.targetr.rc.client.ClientFileProxyResponse
 
write(HttpRequest, OutputStream) - Method in class net.targetr.wtm3.net.http.HttpResponse
Writes the status line and headers.
write(HttpRequest, OutputStream) - Method in class net.targetr.wtm3.net.http.proxy.cache.CachingProxyResponse
Streams data from the proxied connection to the client while caching the response
write(HttpRequest, OutputStream) - Method in class net.targetr.wtm3.net.http.proxy.ProxyResponse
Streams data from the proxied connection to the client.
write(HttpRequest, OutputStream) - Method in class net.targetr.wtm3.net.http.response.HttpByteArrayResponse
Writes the response to the output stream.
write(HttpRequest, OutputStream) - Method in class net.targetr.wtm3.net.http.response.HttpFastStringResponse
Writes headers and text, omitting the body for HEAD requests.
write(HttpRequest, OutputStream) - Method in class net.targetr.wtm3.net.http.websocket.WebSocketResponse
Writes the upgrade response, starts the reader and runs WebSocketResponse.writeResponse().
write(WebSocketFrame) - Method in class net.targetr.wtm3.net.http.websocket.WebSocket
Writes the given WebSocket frame to the output stream.
writeClose(int) - Method in class net.targetr.wtm3.net.http.websocket.WebSocket
Writes a WebSocket close frame with the given status code.
writeErrorHandler - Variable in class net.targetr.wtm3.net.http.HttpResponse
An optional handler to be called if there is an exception writing this response
writeJavaScriptTo(OutputStream) - Method in class net.targetr.rc.client.ClientCommand
Writes the JavaScript payload of this command to the specified output stream.
writeJavaScriptTo(ReusableBufferList) - Method in class net.targetr.rc.client.ClientCommand
Writes the JavaScript payload of this command to the specified buffer list.
writeJsonArray(List<Object>, StringBuilder) - Static method in class net.targetr.wtm3.io.SimpleJsonWriter
Writes a List as a JSON array.
writeJsonObject(Map<String, Object>, StringBuilder) - Static method in class net.targetr.wtm3.io.SimpleJsonWriter
Writes a Map as a JSON object.
writePing() - Method in class net.targetr.wtm3.net.http.websocket.WebSocket
Writes a WebSocket ping frame.
writePong() - Method in class net.targetr.wtm3.net.http.websocket.WebSocket
Writes a WebSocket pong frame.
writer - Variable in class net.targetr.tncaptcha.GifSequenceWriter
The image writer used to create the GIF sequence.
writeResponse() - Method in class net.targetr.rc.monitoring.logs.http.HttpRequestMonitoringWebSocketResponse
 
writeResponse() - Method in class net.targetr.rc.monitoring.logs.websocket.WebSocketFrameMonitoringWebSocketResponse
 
writeResponse() - Method in class net.targetr.wtm3.net.http.websocket.WebSocketResponse
Called when WebSocket connection is first opened.
writeSimpleOp(int, byte[]) - Method in class net.targetr.wtm3.net.http.websocket.WebSocket
Writes a simple WebSocket frame with the given opcode and data.
writeText(byte[]) - Method in class net.targetr.wtm3.net.http.websocket.WebSocket
Writes the given text message to the WebSocket.
writeText(String) - Method in class net.targetr.wtm3.net.http.websocket.WebSocket
Writes the given text message to the WebSocket.
writeText(ReusableBufferList) - Method in class net.targetr.wtm3.net.http.websocket.WebSocket
Writes the supplied buffers as one text frame.
writeTo(OutputStream) - Method in class net.targetr.wtm3.io.ReusableBuffer
Writes the logical contents of this buffer to an output stream.
writeTo(OutputStream) - Method in class net.targetr.wtm3.io.ReusableBufferList
Writes all buffers in this list to the given output stream.
writeToSequence(RenderedImage) - Method in class net.targetr.tncaptcha.GifSequenceWriter
Writes a new frame to the GIF sequence.

Z

ZipFileResourceLoader - Class in net.targetr.wtm3.io.loader
Loads resources from a ZIP file into memory-backed streams.
ZipFileResourceLoader(File, int) - Constructor for class net.targetr.wtm3.io.loader.ZipFileResourceLoader
Constructs a ZipFileResourceLoader with the specified resource size limit.
A B C D E F G H I J K L M N O P R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form