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(String, String...) - Method in class net.targetr.wtm3.net.http.Headers
-
Adds a value to a header.
- addTimeOffset(HealthStat, long) - Static method in class net.targetr.rc.monitoring.Health
- attachClient(ClientRequest) - Method in class net.targetr.rc.Page
B
- backlog - Variable in class net.targetr.wtm3.Settings
- broadcast(Client, ClientCommand) - Method in class net.targetr.rc.Page
- bytesToHex(byte[]) - Static method in class net.targetr.wtm3.io.DigestUtil
-
Converts a byte array to a text string of HEX.
C
- 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
- Client - Class in net.targetr.rc.client
-
Represents a WebBrowser connected to a page.
- Client() - Constructor for class net.targetr.rc.client.Client
- ClientCommand - Class in net.targetr.rc.client
-
Represents a command to send JavaScript to one or more clients.
- ClientCommand(byte[], int, String...) - Constructor for class net.targetr.rc.client.ClientCommand
- ClientCommand(byte[], String...) - Constructor for class net.targetr.rc.client.ClientCommand
- 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
- clientCount - Static variable in class net.targetr.rc.client.ClientReceiveHandler
- clientCount - Static variable in class net.targetr.rc.client.ClientSendHandler
- clientCount - Static variable in class net.targetr.rc.client.ClientWebSocketHandler
- 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
- 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
- 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
- clientId - Variable in class net.targetr.rc.client.ClientRequest
- ClientReceiveHandler - Class in net.targetr.rc.client
-
Sends JavaScript to the client.
- ClientReceiveHandler(HttpRequest) - Constructor for class net.targetr.rc.client.ClientReceiveHandler
- clientRequest - Variable in class net.targetr.rc.client.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
- ClientSendHandler - Class in net.targetr.rc.client
-
Receives JavaScript from a client when using long polling instead of WebSockets.
- ClientSendHandler(HttpRequest) - Constructor for class net.targetr.rc.client.ClientSendHandler
- ClientWebSocketHandler - Class in net.targetr.rc.client
-
Communicates with a client using a WebSocket.
- ClientWebSocketHandler(HttpRequest) - Constructor for class net.targetr.rc.client.ClientWebSocketHandler
- Clock - Class in net.targetr.wtm3
-
Abstraction for the system clock.
- Clock() - Constructor for class net.targetr.wtm3.Clock
- close() - Method in class net.targetr.wtm3.io.ChunkedInputStream
- close() - Method in class net.targetr.wtm3.io.ChunkedOutputStream
- close() - Method in interface net.targetr.wtm3.io.HttpInterceptor
-
Called when the connection to the client is closed.
- 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.PageManager
- 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.Page
- connection - Variable in class net.targetr.rc.client.ClientRequest
- CONNECTION_END_COUNT - Static variable in class net.targetr.wtm3.Stats
- CONNECTION_START_COUNT - Static variable in class net.targetr.wtm3.Stats
- 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
-
Returns the first value from a header.
- createCertificate(X500Name, String, GeneratedCert, boolean, int) - Static method in class net.targetr.wtm3.net.tls.SelfSignedCertificateGenerator
- createClientId() - Static method in class net.targetr.rc.IdGen
- createNoUpdate() - Static method in class net.targetr.rc.client.JavaScriptSnippets
- createPage(String) - Static method in class net.targetr.wtm3.net.http.response.HttpRedirectResponse
- createPageId() - Static method in class net.targetr.rc.IdGen
- 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
- createWsStart() - Static method in class net.targetr.rc.client.JavaScriptSnippets
D
- DigestUtil - Class in net.targetr.wtm3.io
-
Tools for processing hashes.
- DigestUtil() - Constructor for class net.targetr.wtm3.io.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
- 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
- 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
E
- EGRESS - Static variable in class net.targetr.wtm3.Stats
- endTime - Variable in class net.targetr.rc.client.ClientRequest
- entrySet() - Method in class net.targetr.wtm3.net.http.Headers
-
Returns the EntrySet of the map suitable for iterating.
- 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.wtm3.io.ChunkedOutputStream
-
Sends the last chunk but does not close the stream.
- flush() - Method in class net.targetr.wtm3.io.ChunkedOutputStream
- flush() - Method in class net.targetr.wtm3.io.MonitoredOutputStream
- format(LogRecord) - Method in class net.targetr.wtm3.io.NiceLogFormatter
-
Formats a log record into a single line nicely formated string.
- formatCookieDate(long) - Static method in class net.targetr.wtm3.io.Rfc822Date
-
Returns a string in RFC-822 format for Cookies.
- formatDate(long) - Static method in class net.targetr.wtm3.io.Rfc822Date
-
Returns a string in RFC-822 format.
G
- generate(HttpRequest) - Method in class net.targetr.rc.RootResponder
- 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.ClientReceiveHandler
- generateResponse() - Method in class net.targetr.rc.client.ClientSendHandler
- generateResponse() - Method in class net.targetr.rc.client.ClientWebSocketHandler
- generateResponse() - Method in class net.targetr.rc.monitoring.HealthCheckHandler
- generateResponse() - Method in class net.targetr.rc.monitoring.WebSocketHealth
- 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
- GENERATOR_START_COUNT - Static variable in class net.targetr.wtm3.Stats
- get() - Static method in class net.targetr.rc.Main
- get() - Static method in class net.targetr.rc.monitoring.Health
- get() - Static method in class net.targetr.rc.PageManager
- get() - Static method in class net.targetr.wtm3.cache.ResourceCache
- get() - Static method in class net.targetr.wtm3.cache.ResponseCache
- 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
- 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.
- 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
- getClient(String) - Method in class net.targetr.rc.Page
- getClient(String) - Static method in class net.targetr.rc.RequestTranslator
- getClient(ClientRequest) - Method in class net.targetr.rc.Page
- 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.
- 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
- getHtmlPath(String) - Static method in class net.targetr.rc.RequestTranslator
- 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 interface net.targetr.wtm3.io.Interception
-
Used by HTTPHandler to get an HttpInterceptor for data interception while handling request.
- 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.Page
- getLiveClientCount() - Method in class net.targetr.rc.PageManager
- getOutputStream() - Method in class net.targetr.wtm3.net.SuperSocket
-
Get the OutputStream for sending data to the client.
- getPage(String) - Static method in class net.targetr.rc.RequestTranslator
- getPage(String, String) - Method in class net.targetr.rc.PageManager
- getPage(ClientRequest) - Method in class net.targetr.rc.PageManager
- getPageCount() - Method in class net.targetr.rc.PageManager
- getPageSpace(String) - Static method in class net.targetr.rc.RequestTranslator
- 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
- 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
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
- 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.
- getResponseCodeCounts() - Static method in class net.targetr.wtm3.Stats
-
Returns a map of response codes and counts for statisitcal purposes.
- 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
- 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 allSNIServerName
s of the server name indication. - getState() - Method in class net.targetr.rc.client.Client
- getState() - Method in class net.targetr.rc.Page
- getState() - Method in class net.targetr.rc.PageManager
- getStaticResponse(HttpRequest, String, String) - Method in class net.targetr.rc.RootResponder
- getStaticZippedResponse(HttpRequest, File, String, String) - Method in class net.targetr.rc.RootResponder
- getTargets() - Method in class net.targetr.rc.client.ClientCommand
- getTitleForType(String) - Static method in class net.targetr.rc.RequestTranslator
- getType(String, String) - Static method in class net.targetr.rc.RequestTranslator
H
- handleException(Exception) - Method in class net.targetr.rc.client.ClientReceiveHandler
- 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.
- HEADER_CONTENT_LENGTH - Static variable in class net.targetr.wtm3.net.http.response.HttpFastStringResponse
- HEADER_CONTENT_TYPE - Static variable in class net.targetr.wtm3.net.http.response.HttpFastStringResponse
- 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
-
Monitors the server health and stores a history of stats.
- Health() - Constructor for class net.targetr.rc.monitoring.Health
- HealthCheckHandler - Class in net.targetr.rc.monitoring
-
Returns a response about the current server health as JSON.
- HealthCheckHandler(HttpRequest) - Constructor for class net.targetr.rc.monitoring.HealthCheckHandler
- HealthStat - Class in net.targetr.rc.monitoring
-
Represents the health of the server at a specific time.
- HealthStat() - Constructor for class net.targetr.rc.monitoring.HealthStat
- hexStringToByteArray(String) - Static method in class net.targetr.wtm3.io.DigestUtil
-
Converts string of hex into byte array.
- host - Variable in class net.targetr.rc.client.ClientRequest
- 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.
- 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.
- HttpInterceptor - Interface in net.targetr.wtm3.io
-
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
- 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
- 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.
- 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 pages and clients.
- IdGen() - Constructor for class net.targetr.rc.IdGen
- IDLE_PERIOD - Static variable in class net.targetr.rc.client.ClientWebSocketHandler
- 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
- INSTANCE_ID - Static variable in class net.targetr.wtm3.Stats
- Interception - Interface in net.targetr.wtm3.io
-
Creates a new HttpInterceptor for capturing raw bytes through a connection.
- ip - Variable in class net.targetr.rc.client.ClientRequest
- isActive(long) - Method in class net.targetr.rc.client.Client
- 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
- 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.
- 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.
- isTarget(String) - Method in class net.targetr.rc.client.Client
- isValidClientId(String) - Static method in class net.targetr.rc.IdGen
- isValidPageId(String) - Static method in class net.targetr.rc.IdGen
- isValidType(String) - Static method in class net.targetr.rc.RequestTranslator
J
- JavaScriptSnippets - Class in net.targetr.rc.client
-
JavaScript snippets to help clients perform updates.
- JavaScriptSnippets() - Constructor for class net.targetr.rc.client.JavaScriptSnippets
K
- keystoreInternalKeyPassword - Variable in class net.targetr.wtm3.Settings
- keyStorePassword - Variable in class net.targetr.wtm3.Settings
- keyStorePath - Variable in class net.targetr.wtm3.Settings
- keyStoreType - Variable in class net.targetr.wtm3.Settings
L
- 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
- 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.
- longPolling - Variable in class net.targetr.rc.client.ClientRequest
M
- main(String[]) - Static method in class net.targetr.rc.Main
- Main - Class in net.targetr.rc
-
Starts the Remote Control Web server.
- Main() - Constructor for class net.targetr.rc.Main
- maintenence(long) - Method in class net.targetr.rc.Page
- MAX_DATA_LENGTH - Static variable in class net.targetr.wtm3.io.StreamUtil
-
The maximum number of bytes to read before automatically aborting.
- MAX_UNREAD - Static variable in class net.targetr.wtm3.net.SuperSocket
- 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.
- 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..
- 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 monitoring for web server operation.
- 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.
- NiceLogFormatter - Class in net.targetr.wtm3.io
-
Formats log output nicely.
- NiceLogFormatter() - Constructor for class net.targetr.wtm3.io.NiceLogFormatter
- noSniDomain - Variable in class net.targetr.wtm3.Settings
O
- onClose() - Method in class net.targetr.wtm3.net.http.websocket.WebSocketResponse
-
Called when WebSocket connection is closed by the client.
- onOpen() - Method in class net.targetr.wtm3.net.http.websocket.WebSocketResponse
-
Called when WebSocket connection is first opened.
- onReceiveText(byte[]) - Method in class net.targetr.wtm3.net.http.websocket.WebSocketResponse
-
Called when text is received from the WebSocket.
P
- Page - Class in net.targetr.rc
-
Allows multiple clients on the same page to communicate.
- Page() - Constructor for class net.targetr.rc.Page
- pageId - Variable in class net.targetr.rc.client.ClientRequest
- PageManager - Class in net.targetr.rc
-
Maintains a map of active pages.
- parseDate(String) - Static method in class net.targetr.wtm3.io.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.
- parseRequest(PushbackInputStream, HttpRequest) - Static method in class net.targetr.wtm3.net.http.HttpRequest
-
Parses the HTTP request 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
- port - Variable in class net.targetr.wtm3.Settings
- 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.
- prettyPrintStackTrace(Throwable) - Static method in class net.targetr.wtm3.net.http.response.HttpErrorResponse
-
Converts an exception to a plain text stack trace.
- 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 - 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(byte[]) - Static method in class net.targetr.rc.client.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.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
- REQUEST_HOLD_PERIOD - Static variable in class net.targetr.rc.client.ClientReceiveHandler
- REQUEST_START_COUNT - Static variable in class net.targetr.wtm3.Stats
- 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
- RequestTranslator - Class in net.targetr.rc
-
Aids reading the page, type and client from a request.
- RequestTranslator() - Constructor for class net.targetr.rc.RequestTranslator
- ResourceCache - Class in net.targetr.wtm3.cache
-
Caches resources on the classpath in memory.
- RESPONSE_END_COUNT - Static variable in class net.targetr.wtm3.Stats
- RESPONSE_START_COUNT - Static variable in class net.targetr.wtm3.Stats
- ResponseCache - Class in net.targetr.wtm3.cache
-
Quickly builds responses by caching ETags.
- ResponseGenerator - Interface in net.targetr.wtm3.net.http
-
Simple interface for generating an HTTP response to an HTTP request.
- Rfc822Date - Class in net.targetr.wtm3.io
-
Parses and formats RFC-822 dates.
- RootResponder - Class in net.targetr.rc
-
Responds to HTTP requests base on URI.
- RootResponder() - Constructor for class net.targetr.rc.RootResponder
- 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
S
- 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
- SelfSignedCertificateGenerator - Class in net.targetr.wtm3.net.tls
-
Generates self signed certificates for TLS.
- SelfSignedCertificateGenerator() - Constructor for class net.targetr.wtm3.net.tls.SelfSignedCertificateGenerator
- sendCommand(ClientCommand) - Method in class net.targetr.rc.client.Client
- server - Variable in class net.targetr.wtm3.Settings
- 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.
- setDate(String, long) - Method in class net.targetr.wtm3.net.http.Headers
-
Sets a date header.
- setDomainCertification(DomainCertification) - Method in class net.targetr.wtm3.net.tls.SecureSuperSocketFactory
-
Sets domain certification for issuing certificates for a domain.
- setEnableGzip(Boolean) - Method in class net.targetr.wtm3.net.http.response.HttpByteArrayResponse
-
Set to false to disable gzip compression when supported by web client.
- 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.
- 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
- sleep(int) - Static method in class net.targetr.wtm3.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
- 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
- sslContext - Variable in class net.targetr.wtm3.Settings
- 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
- sslSelfSignedDomainDn - Variable in class net.targetr.wtm3.Settings
- sslSelfSignedRootDn - Variable in class net.targetr.wtm3.Settings
- 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 interface net.targetr.wtm3.io.HttpInterceptor
-
HttpHandler has received a new connectionabout about to start communications.
- startResponse(HttpRequest, HttpResponse) - Method in interface net.targetr.wtm3.io.HttpInterceptor
-
The request has be read and response is ready to write.
- startTime - Variable in class net.targetr.rc.client.ClientRequest
- startTls(String, ByteArrayInputStream) - Method in class net.targetr.wtm3.net.SuperSocket
-
Starts TLS on a socket that has already had data consumed.
- 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
- 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
- tcpNoDelay - Variable in class net.targetr.wtm3.Settings
-
Disable Nagle's algorithm
- tcpSocketTimeout - Variable in class net.targetr.wtm3.Settings
-
Max time to block on socket read
- TIMEOUT - Static variable in class net.targetr.rc.client.ClientWebSocketHandler
- TIMEOUT - Static variable in class net.targetr.wtm3.net.http.websocket.WebSocketResponse
- toJson() - Method in class net.targetr.rc.monitoring.HealthStat
- 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.
- type - Variable in class net.targetr.rc.client.ClientRequest
U
- uri - Variable in class net.targetr.wtm3.net.http.HttpRequest
-
The URI requested.
- userAgent - Variable in class net.targetr.rc.client.ClientRequest
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
W
- WEB_SOCKET_FRAMES_IN - Static variable in class net.targetr.wtm3.Stats
- WEB_SOCKET_FRAMES_OUT - Static variable in class net.targetr.wtm3.Stats
- webSocket - Variable in class net.targetr.wtm3.net.http.websocket.WebSocketResponse
- WebSocket - Class in net.targetr.wtm3.net.http.websocket
-
Reads and writes data frames to a WebSocket.
- WebSocket(PushbackInputStream, 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
- WebSocketHealth - Class in net.targetr.rc.monitoring
-
Continuously streams server host to a WebSocket.
- WebSocketHealth(HttpRequest) - Constructor for class net.targetr.rc.monitoring.WebSocketHealth
- 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.
- 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
- writeJavaScript(OutputStream) - Method in class net.targetr.rc.client.ClientCommand
- writeJsonArray(List<Object>, StringBuilder) - Static method in class net.targetr.wtm3.io.SimpleJsonWriter
- writeJsonObject(Map<String, Object>, StringBuilder) - Static method in class net.targetr.wtm3.io.SimpleJsonWriter
- 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.
- 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(ByteArrayOutputStream) - Method in class net.targetr.wtm3.net.http.websocket.WebSocket
-
Writes the given byte array as a 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.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form