Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- 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
-
The time to wait until next retry.
- 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(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
-
Converts the absolute timestamp of a stat into an offset relative to the current time.
- 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 output from the request monitor.
- attachClient(ClientRequest) - Method in class net.targetr.rc.Room
-
Adds the client to this room.
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
-
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.
- bytesWritten - Variable in class net.targetr.wtm3.net.http.HttpResponse
-
Number of bytes written to the response.
C
- CacheEntry() - Constructor for class net.targetr.wtm3.cache.ResourceCache.CacheEntry
-
Constructs a new CacheEntry.
- canRelayError() - Method in class net.targetr.wtm3.io.MonitoredOutputStream
-
For detecting if the response has started.
- 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
- 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
-
The time in milliseconds to delay writing data to ensure chunks are a sensible size.
- cipherSuites - Variable in class net.targetr.wtm3.Settings
-
Supported Cipher suites.
- ClassPathResourceCache - Class in net.targetr.wtm3.cache
-
A ResourceCache that reads resources from the classpath.
- clear() - Method in class net.targetr.wtm3.io.ReusableBufferList
-
Clears all buffers from this list.
- 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
-
A problem was occurred parsing a client command.
- 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) - Constructor for class net.targetr.rc.client.ClientFileChunk
-
Constructs a new ClientFileChunk with the specified file ID, chunk ID, 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 unique client ID for this connection.
- clientRequest - Variable in class net.targetr.rc.client.Client
-
The current client request associated with this client.
- ClientRequest - Class in net.targetr.rc.client
-
Represents a connection made from a client;
- 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.tncaptcha.GifSequenceWriter
-
Closes the GIF sequence writer and finishes writing the sequence.
- close() - Method in class net.targetr.wtm3.io.ChunkedInputStream
- close() - Method in class net.targetr.wtm3.io.ChunkedOutputStream
- close() - Method in class net.targetr.wtm3.io.LengthRestrictedInputStream
- 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 this WebSocket and its associated input and output streams.
- close() - Method in class net.targetr.wtm3.net.SuperSocket
-
Closes the socket.
- closeAll() - Method in class net.targetr.rc.RoomManager
-
Forcefully closes all network connections currently established to all rooms.
- 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
-
Aggregates all open internal network socket connections.
- CommunicationsInterceptor - Class in net.targetr.rc.monitoring.logs
-
Interceptor for monitoring RCWeb HTTP requests and WebSocket frames.
- CommunicationsInterceptor() - Constructor for class net.targetr.rc.monitoring.logs.CommunicationsInterceptor
-
Constructs a new RCWebInterceptor.
- 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 expected connections ended.
- CONNECTION_START_COUNT - Static variable in class net.targetr.wtm3.Stats
-
Number of expected connections 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.
- contains(String) - Method in class net.targetr.wtm3.cache.ResourceCache
-
Check if a resource is in the classpath.
- containsKey(String) - Method in class net.targetr.wtm3.net.http.Headers
-
Returns the first value from a header.
- 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.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.
- createRoomId() - Static method in class net.targetr.rc.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.CacheEntry
-
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 output from the request monitor.
- 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.
- 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.
- endTime - Variable in class net.targetr.rc.client.ClientRequest
-
The time the request ended, or 0 if still active.
- EnhancedErrorFormatter - Class in net.targetr.rc.util
-
Enhances HTML error pages with additional connection and request details.
- EnhancedErrorFormatter() - Constructor for class net.targetr.rc.util.EnhancedErrorFormatter
-
Creates a new EnhancedErrorFormatter.
- entrySet() - Method in class net.targetr.wtm3.net.http.Headers
-
Returns the EntrySet of the map suitable for iterating.
- errorFormatter - Variable in class net.targetr.wtm3.Settings
-
HTML error page formatter.
- escapeHtml(String) - Static method in class net.targetr.wtm3.util.StringUtil
-
Escapes HTML characters in a string to prevent XSS.
- etag - Variable in class net.targetr.wtm3.cache.ResourceCache.CacheEntry
-
The ETag string calculated for the resource data.
- 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
- finish() - Method in class net.targetr.rc.monitoring.logs.CommunicationsInterceptor
- finish() - Method in class net.targetr.wtm3.io.ChunkedOutputStream
-
Sends the last chunk but does not close the 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.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 a log record into a single line nicely formated string.
- 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.CacheEntry
-
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.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.
- generateResponse() - Method in class net.targetr.rc.client.ClientWebSocketHandler
-
Completes the WebSocket handshake and manages the live connection.
- generateResponse() - Method in class net.targetr.rc.monitoring.health.HealthCheckHandler
-
Generates a JSON response containing server health metrics and active pages.
- 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.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.monitoring.logs.http.HttpRequestMonitor
-
Retrieves the singleton instance of the HttpRequestMonitor.
- get() - Static method in class net.targetr.rc.monitoring.logs.websocket.WebSocketFrameMonitor
-
Retrieves the singleton instance of the WebSocketFrameMonitor.
- get() - Static method in class net.targetr.rc.RoomManager
-
Retrieves the singleton RoomManager instance.
- get() - Static method in class net.targetr.wtm3.cache.ClassPathResourceCache
-
Get the singleton instance of the ResourceCache.
- 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.cache.ResourceCache
-
Get a resource quickly by using cache if possible.
- get(String, String) - Method in class net.targetr.wtm3.cache.ResponseCache
-
Get a resource quickly by using cache if possible.
- getAllowedTargets() - Method in class net.targetr.rc.client.ClientCommand
-
Retrieves the array 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
-
Returns the body of this HTTP request as a byte array.
- getBodyInputStream() - Method in class net.targetr.wtm3.net.http.HttpRequest
-
Returns an InputStream for reading the body of this HTTP request.
- getBodyInputStream() - Method in class net.targetr.wtm3.net.http.HttpResponse
-
Returns an InputStream for reading the response body data.
- 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
-
Retrieves an existing client given their client ID.
- getClient(ClientRequest) - Method in class net.targetr.rc.Room
-
Retrieves an existing client given their client request.
- getClientAliases(String, Principal[]) - Method in class net.targetr.wtm3.net.tls.DomainKeyManager
- 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.
- getCookies() - Method in class net.targetr.wtm3.net.http.HttpRequest
-
Returns a Map containing the cookies of this request.
- getDeniedTargets() - Method in class net.targetr.rc.client.ClientCommand
-
Retrieves the array of denied targets for this command.
- getDomainSetup(String) - Method in class net.targetr.wtm3.net.tls.DomainSetupManager
-
Gets the configuration for a domain.
- 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
-
Returns the date (millis from epoc) from the first value from a header.
- getFirstInt(String) - Method in class net.targetr.wtm3.net.http.Headers
-
Returns an integer
- getFirstLong(String) - Method in class net.targetr.wtm3.net.http.Headers
-
Returns 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.
- getInetAddress() - Method in class net.targetr.wtm3.net.SuperSocket
-
Returns the address of the remote client.
- 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
-
Used by HTTPHandler to get an HttpInterceptor to handle callbacks during HTTP communications.
- 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
-
Returns the total number of connected clients.
- getLiveClientCount() - Method in class net.targetr.rc.RoomManager
-
Gets the total aggregate number of live clients in all rooms.
- 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
- getQuery() - Method in class net.targetr.wtm3.net.http.HttpRequest
-
Returns a Map containing the query parameters of this request.
- getRecent() - Method in class net.targetr.rc.monitoring.health.Health
-
Retrieves the most recently collected health stat.
- getRecordVersion() - Method in class net.targetr.wtm3.net.tls.SSLCapabilities
-
Returns the record version of an SSL/TLS connection
- getRequiredSize(byte[], int, int) - Static method in class net.targetr.wtm3.net.tls.SSLExplorer
-
Returns the required number of bytes in the
sourcebyte 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
sourceByteBuffernecessary 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.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 map of response codes and counts for statisitcal purposes.
- getRoom(String) - Method in class net.targetr.rc.RoomManager
-
Retrieves a room, or creates a new one if it does not exist.
- getRoom(ClientRequest) - Method in class net.targetr.rc.RoomManager
-
Retrieves an existing room given a client request.
- getRoomCount() - Method in class net.targetr.rc.RoomManager
-
Gets the total number of active rooms.
- getSecureDomains() - Method in class net.targetr.wtm3.net.tls.DomainSetupManager
-
Returns a list of domains configured for secure connections.
- 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
Listcontaining allSNIServerNames of the server name indication. - getSocket() - Method in class net.targetr.wtm3.net.SuperSocket
-
Returns the raw socket connected to the remote client.
- 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
-
Retrieves the current tracking state for all clients in the same room.
- getState() - Method in class net.targetr.rc.RoomManager
-
Aggregates state representations from all active rooms.
- getStaticResponse(HttpRequest, String) - Method in class net.targetr.wtm3.cache.ResponseCache
-
Interrogates the generalized application ResourceCache for a specific network path.
- getStaticResponse(HttpRequest, String, String) - Method in class net.targetr.wtm3.cache.ResponseCache
-
Interrogates the generalized application ResourceCache for a specific network path.
- getType(String) - Static method in class net.targetr.wtm3.cache.ResponseCache
-
Guesses the MIME type from a given request path extension.
- 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
-
Adds support to a HttpResponder for capturing an exception during write.
- hasCommands() - Method in class net.targetr.rc.client.Client
-
Checks if the client has commands pending in the queue.
- 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 headers.
- 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.
- 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
-
Returns an error code and simple error page including stack trace to the client.
- HttpErrorResponse(HttpRequest, int, String) - Constructor for class net.targetr.wtm3.net.http.response.HttpErrorResponse
-
Returns an error code and simple error page including stack trace to the client.
- HttpErrorResponse(HttpRequest, int, String, String) - Constructor for class net.targetr.wtm3.net.http.response.HttpErrorResponse
-
Returns an error code and simple error page including stack trace to the client.
- HttpErrorResponse(HttpRequest, int, String, String, Throwable) - Constructor for class net.targetr.wtm3.net.http.response.HttpErrorResponse
-
Returns an error code and simple error page including stack trace to the client.
- HttpErrorResponse(HttpRequest, int, String, Throwable) - Constructor for class net.targetr.wtm3.net.http.response.HttpErrorResponse
-
Returns an error code and simple error page including stack trace to the client.
- HttpErrorResponse(HttpRequest, HttpResponse, int, String, String, Throwable) - Constructor for class net.targetr.wtm3.net.http.response.HttpErrorResponse
-
Returns an error code and simple error page including stack trace to the client.
- HttpFastStringResponse - Class in net.targetr.wtm3.net.http.response
-
Same as StringResponse but skips ETags and cache validation and disables gzip.
- 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
-
Creates a new HttpInterceptor for capturing HTTP communcations.
- HttpInterceptor - Interface in net.targetr.wtm3.net.http
-
Intercepts request handling when HttpResponder implements Interception.
- HttpManifestResponse - Class in net.targetr.rc.client
-
Builds a web manifest files suitable for install RCWeb as an app.
- HttpManifestResponse(HttpRequest, String, String) - Constructor for class net.targetr.rc.client.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 redirect response for sending a client to another location.
- 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.
- 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
-
Creates a new HTTPServer that listens to a specific port.
- 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
-
Generates new IDs for rooms and clients.
- IdGen() - Constructor for class net.targetr.rc.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.
- invalidate() - Method in class net.targetr.wtm3.cache.ResourceCache
-
Invalidate the cache.
- invalidate() - Method in class net.targetr.wtm3.cache.ResponseCache
-
Invalidate the cache.
- ip - Variable in class net.targetr.rc.client.ClientRequest
-
The IP address of the client connection.
- 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 this WebSocket has been closed.
- isFinished() - Method in class net.targetr.wtm3.io.ChunkedInputStream
-
Used to check if all data has bee read from the input stream.
- isFinished() - Method in class net.targetr.wtm3.io.LengthRestrictedInputStream
-
Checks if the stream has reached the allowed read 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.
- 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.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.
- isNearlyExpired(DomainSetup) - Static method in class net.targetr.wtm3.net.tls.DomainSetupManager
-
Returns true if the certificate will expire in less than 30 days.
- 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 if certificate for domain is signed by a trusted certificate.
- isStopping() - Method in class net.targetr.wtm3.net.http.HttpServer
-
Returns true if the web server has entered the stopping state.
- isValidApp(String) - Static method in class net.targetr.rc.RootResponder
-
Verifies whether the specified app is recognized.
- isValidClientId(String) - Static method in class net.targetr.rc.IdGen
-
Validates whether a given string is a correctly formatted client ID.
- isValidRoomId(String) - Static method in class net.targetr.rc.IdGen
-
Validates whether a given string is a correctly formatted room ID.
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.CacheEntry
-
The timestamp in milliseconds of when the entry was last accessed.
- 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.
- 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
-
Populates the public fields of this class from a properties object.
- 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 - Class in net.targetr.rc
-
Starts the Remote Control Web server.
- Main() - Constructor for class net.targetr.rc.Main
-
Initializes the server application.
- maintenence(long) - Method in class net.targetr.rc.Room
-
Periodically called to clean up disjointed connections and broadcast update notification.
- matchesClientOrType(String) - Method in class net.targetr.rc.client.Client
-
Checks if the value matches the client or app.
- 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
-
The maximum number of stats to store in history.
- 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
-
Max size of HTTP request line and headers
- MetadataReader - Class in net.targetr.wtm3.io
-
Reads from an InputStream until all metadata is read.
- metaDataRequestTimeout - Variable in class net.targetr.wtm3.Settings
-
Max time to read the HTTP headers
- method - Variable in class net.targetr.wtm3.net.http.HttpRequest
-
Method of operation..
- millis() - Static method in class net.targetr.wtm3.util.Clock
-
Returns the current time in milliseconds since unix epoch.
- 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.
N
- net.targetr.rc - package net.targetr.rc
-
Remote Control Web Server.
- net.targetr.rc.client - package net.targetr.rc.client
-
Handles communications between web clients.
- net.targetr.rc.monitoring - package net.targetr.rc.monitoring
-
Health and Log monitoring for web server operation.
- net.targetr.rc.monitoring.health - package net.targetr.rc.monitoring.health
-
Health monitoring for web server statistics.
- net.targetr.rc.monitoring.logs - package net.targetr.rc.monitoring.logs
-
RCWeb communication logging.
- net.targetr.rc.monitoring.logs.http - package net.targetr.rc.monitoring.logs.http
-
HTTP request logging.
- net.targetr.rc.monitoring.logs.websocket - package net.targetr.rc.monitoring.logs.websocket
-
WebSocket frame logging.
- net.targetr.rc.util - package net.targetr.rc.util
-
Utility classes used by RCWeb
- net.targetr.tncaptcha - package net.targetr.tncaptcha
-
Experimental Temporal Noise CAPTCHA Implementation.
- net.targetr.wtm3 - package net.targetr.wtm3
-
Web Traffic Manager 3.
- net.targetr.wtm3.cache - package net.targetr.wtm3.cache
-
Caching for fast responses.
- net.targetr.wtm3.io - package net.targetr.wtm3.io
-
Input and output processing.
- net.targetr.wtm3.net - package net.targetr.wtm3.net
-
Network data processing.
- net.targetr.wtm3.net.http - package net.targetr.wtm3.net.http
-
Web server implementation.
- net.targetr.wtm3.net.http.proxy - package net.targetr.wtm3.net.http.proxy
-
Web proxy implementation.
- net.targetr.wtm3.net.http.response - package net.targetr.wtm3.net.http.response
-
Web response objects.
- net.targetr.wtm3.net.http.websocket - package net.targetr.wtm3.net.http.websocket
-
WebSocket data processing.
- net.targetr.wtm3.net.tls - package net.targetr.wtm3.net.tls
-
Secure TLS connections for HTTPS.
- net.targetr.wtm3.net.tls.acme - package net.targetr.wtm3.net.tls.acme
-
Domain certification using ACME.
- net.targetr.wtm3.util - package net.targetr.wtm3.util
-
General utility classes used by 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.
- 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.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 when WebSocket connection is closed by the client.
- 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.cache.ClassPathResourceCache
- openInputStream(String) - Method in class net.targetr.wtm3.cache.ResourceCache
-
Opens an input stream to the resource.
- openInputStream(String) - Method in class net.targetr.wtm3.cache.SpeedTestResourceCache
- openInputStream(String) - Method in class net.targetr.wtm3.cache.ZipFileResourceCache
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 headers, constructs and fills HttpHeaders 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.
- 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.
- Project Architecture - Search tag in Overview
- Section
- 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.
- 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 proxyied connection to the client.
R
- 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 a WebSocket frame from the input stream.
- 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 until end of stream into a byte array.
- readFully(InputStream, int) - Static method in class net.targetr.wtm3.io.StreamUtil
-
Reads until end of stream or limit into a byte array.
- 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
-
Reads a text message from the WebSocket.
- realtime() - Static method in class net.targetr.wtm3.util.Clock
-
Returns the current time in milliseconds since some arbitrary time in the past.
- 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.
- 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
-
Max size of HTTP request body
- requestBodyTimeout - Variable in class net.targetr.wtm3.Settings
-
Max time to read the HTTP request body
- 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
-
Resource cache size.
- ResourceCache - Class in net.targetr.wtm3.cache
-
Caches resources on the classpath in memory.
- ResourceCache(int, long) - Constructor for class net.targetr.wtm3.cache.ResourceCache
-
Constructs a ResourceCache with specified maximum entries and size limits.
- ResourceCache.CacheEntry - Class in net.targetr.wtm3.cache
-
Represents a single entry in the resource cache.
- resourceCacheEnabled - Variable in class net.targetr.wtm3.Settings
-
Specifies if resource cache should be disabled.
- 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.
- ResponseCache - Class in net.targetr.wtm3.cache
-
Quickly builds responses using a resource cache.
- ResponseCache(ResourceCache) - Constructor for class net.targetr.wtm3.cache.ResponseCache
-
Constructs a ResponseCache with the given resource cache underneath.
- ResponseGenerator - Interface in net.targetr.wtm3.net.http
-
Simple interface for generating an HTTP response to an HTTP request.
- 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 - Class in net.targetr.rc
-
Allows multiple clients in the same room to communicate.
- Room() - Constructor for class net.targetr.rc.Room
-
Constructs a new Room instance.
- roomId - Variable in class net.targetr.rc.client.ClientRequest
-
The room the client is in.
- RoomManager - Class in net.targetr.rc
-
Maintains a map of active rooms.
- RootResponder - Class in net.targetr.rc
-
Responds to HTTP requests base on URI.
- 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, List<String>) - Method in class net.targetr.rc.monitoring.logs.CommunicationsInterceptor
-
Sanitizes a header value based on the header key.
- sanitizeIpValue(String) - Method in class net.targetr.rc.monitoring.logs.CommunicationsInterceptor
-
Replaces the final number of an IP address string with an asterisk.
- sanitizeWebLogs - Variable in class net.targetr.wtm3.Settings
-
Remove senstive data from logs that are accessible online
- saveDomainCertificate(DomainSetup) - Method in class net.targetr.wtm3.net.tls.DomainSetupManager
-
Saves a domain configuration into the keystore.
- 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 if this domain is only self signed and not trusted.
- 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
-
Enqueues a command to be sent to the client and notifies any waiting threads.
- server - Variable in class net.targetr.wtm3.Settings
-
The configured server string.
- 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
-
Adds multiple headers to these headers.
- setAllowGzip(boolean) - Method in class net.targetr.wtm3.net.http.response.HttpByteArrayResponse
-
Set to false to disable gzip compression when supported by web client.
- 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
-
Adds an output stream to receive data received on this output 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.
- setOutputInterception(OutputStream) - Method in class net.targetr.wtm3.net.SuperSocket
-
Directs all output communications to an output stream.
- 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
-
Simple JSON writer to reduce external dependencies.
- 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
-
Handler for when connections fail during generate.
- 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.
- SpeedTestResourceCache - Class in net.targetr.wtm3.cache
-
A ResourceCache that loads resources from a zip file.
- SpeedTestResourceCache() - Constructor for class net.targetr.wtm3.cache.SpeedTestResourceCache
-
Constructs a ZipFileResourceCache.
- split(byte) - Method in class net.targetr.wtm3.io.ReusableBufferList
-
Splits this buffer list into two lists.
- 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
-
Instances of this class acts as an explorer of the network data of an SSL/TLS connection.
- sslProtocols - Variable in class net.targetr.wtm3.Settings
-
Supported SSL protocols.
- 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
-
Starts the domain certification process in a background thread.
- 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
-
HttpHandler has received a new connectionabout about to start communications.
- startResponse(HttpRequest, HttpResponse) - Method in class net.targetr.rc.monitoring.logs.CommunicationsInterceptor
- startResponse(HttpRequest, HttpResponse) - Method in interface net.targetr.wtm3.net.http.HttpInterceptor
-
The request has be read and response is ready to write.
- startTime - Variable in class net.targetr.rc.client.ClientRequest
-
The time the request started (in 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
-
The sleep duration 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
-
Instructs the web server to stop listening for new connections.
- 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 paramters.
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
-
Max time to block on socket close
- tcpSocketTimeout - Variable in class net.targetr.wtm3.Settings
-
Max time to block on socket read
- 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.
- TIMEOUT - Static variable in class net.targetr.rc.client.ClientWebSocketHandler
-
WebSocket connection timeout in milliseconds.
- 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.
- 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 health stat object to a JSON string.
- toJson() - Method in class net.targetr.rc.monitoring.logs.websocket.WebSocketFrameLogEntry
-
Serializes this health stat object to a JSON string.
- toJson(Map<String, Object>) - Static method in class net.targetr.wtm3.io.SimpleJsonWriter
-
Converts a Java object into a JSON object.
- toString() - Method in class net.targetr.wtm3.io.ChunkedOutputStream
- 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 String representation of the response according to HTTP spec.
- 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
-
Size of the buffer 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
- 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.
- 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.
- 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
-
Continuously streams server host to 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
-
Max size of a WebSocket frame
- websocketMaxMessageSize - Variable in class net.targetr.wtm3.Settings
-
Max size of a WebSocket message
- WebSocketResponse - Class in net.targetr.wtm3.net.http.websocket
-
Helps reading from a WebSocket and streaming responses.
- 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
-
Continuously streams HTTP request log entries to a 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[], int, int) - Method in class net.targetr.wtm3.io.ChunkedOutputStream
- write(byte[], int, int) - Method in class net.targetr.wtm3.io.MonitoredOutputStream
- write(int) - Method in class net.targetr.wtm3.io.ChunkedOutputStream
- 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 a response to the OutputStream.
- 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
-
Overridden write implementation to make it faster.
- write(HttpRequest, OutputStream) - Method in class net.targetr.wtm3.net.http.websocket.WebSocketResponse
-
Writes the HttpRequest object to the output stream as per HTTP spec.
- 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 given byte array as a text message to the WebSocket.
- 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
- ZipFileResourceCache - Class in net.targetr.wtm3.cache
-
A ResourceCache that loads resources from a zip file.
- ZipFileResourceCache(File) - Constructor for class net.targetr.wtm3.cache.ZipFileResourceCache
-
Constructs a ZipFileResourceCache.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form