Index

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

A

AbstractHTTPEngine - Class in org.omegazero.proxy.http
A HTTPEngine with common method implementations.
AbstractHTTPEngine(SocketConnection, Proxy, HTTPEngineConfig, HTTPServer) - Constructor for class org.omegazero.proxy.http.AbstractHTTPEngine
Creates a new AbstractHTTPEngine.
accept(Runnable) - Method in class org.omegazero.proxy.core.Proxy.ApplicationWorkerProvider
 
accept(Runnable) - Method in class org.omegazero.proxy.core.Proxy.SessionWorkerProvider
 
addHTTPEngineSelector(Function<SocketConnection, Class<? extends HTTPEngine>>) - Method in class org.omegazero.proxy.core.Proxy
Deprecated.
Since 3.9.1, use Proxy.getRegistry().
invalid reference
addHTTPEngineSelector(selector)
instead
addHTTPEngineSelector(Function<SocketConnection, Class<? extends HTTPEngine>>) - Method in class org.omegazero.proxy.core.ProxyRegistry
Registers a new HTTPEngine selector.
addList(String) - Method in class org.omegazero.proxy.util.FeatureSet
Adds all features in the given feature string list, separated by commas, to this feature set.
addressNegativeTTL - Static variable in class org.omegazero.proxy.net.UpstreamServer
The amount of seconds to wait for a retry when an attempt to re-resolve an address, after its TTL expired, fails.
ATTACHMENT_KEY_REQUEST_ID - Static variable in class org.omegazero.proxy.http.HTTPCommon
 
ATTACHMENT_KEY_RESPONSE_TIMEOUT - Static variable in class org.omegazero.proxy.http.AbstractHTTPEngine
 
ATTACHMENT_KEY_UPSTREAM_SERVER - Static variable in class org.omegazero.proxy.http.AbstractHTTPEngine
 
ATTACHMENT_KEY_USERVER_CLIENT - Static variable in class org.omegazero.proxy.http.AbstractHTTPEngine
 

C

clientImplNamespace - Static variable in class org.omegazero.proxy.util.ProxyUtil
The namespace of default client manager IDs to use.
close() - Method in class org.omegazero.proxy.core.Proxy
 
close() - Method in class org.omegazero.proxy.http.AbstractHTTPEngine
 
close() - Method in interface org.omegazero.proxy.http.HTTPEngine
Called when the connection to the client closes.
close() - Method in class org.omegazero.proxy.net.LoopbackUpstreamServer
 
config - Variable in class org.omegazero.proxy.http.AbstractHTTPEngine
 
CONNDBG - Static variable in class org.omegazero.proxy.http.AbstractHTTPEngine
 
connection(Class<? extends NetClientManager>, ConnectionParameters) - Method in class org.omegazero.proxy.core.Proxy
Deprecated.
Since 3.7.1, use
invalid reference
#connection(String, ConnectionParameters)
. This method uses the full class name of the given type as the cmid parameter.
connection(String, ConnectionParameters, SocketConnection) - Method in class org.omegazero.proxy.core.Proxy
Creates a new connection instance for an outgoing proxy connection.
connectUpstreamTCP(Proxy, boolean, UpstreamServer, String...) - Static method in class org.omegazero.proxy.util.ProxyUtil
Deprecated.
connectUpstreamTCP(Proxy, SocketConnection, boolean, UpstreamServer, String...) - Static method in class org.omegazero.proxy.util.ProxyUtil
Connects to an upstream server over TCP, plaintext or encrypted using TLS, depending on the context and server settings.
construct(SocketConnection, UpstreamServer, HTTPEngineConfig, HTTPServer) - Method in interface org.omegazero.proxy.core.ProxyRegistry.HTTPClientConstructor
Creates a new HTTPClient instance.
containsFeature(String) - Method in class org.omegazero.proxy.util.FeatureSet
Checks whether the given feature string is in this feature set.
createDefaultUpstreamServerInstance() - Method in class org.omegazero.proxy.config.ProxyConfiguration
 

D

dateString() - Static method in class org.omegazero.proxy.http.HTTPCommon
Generates a date string formatted for use in the Date HTTP header.
debugStringForConnection(SocketConnection, SocketConnection) - Method in class org.omegazero.proxy.core.Proxy
 
disablePromiseRequestLog - Variable in class org.omegazero.proxy.http.AbstractHTTPEngine
 
dispatchBooleanEvent(Event, boolean, Object...) - Method in class org.omegazero.proxy.core.Proxy
Delegates the given event to this proxy's EventBus and returns a boolean value returned by the event handlers.
dispatchEvent(Event, Object...) - Method in class org.omegazero.proxy.core.Proxy
Delegates the given event to this proxy's EventBus.
dispatchEventRes(Event, Object...) - Method in class org.omegazero.proxy.core.Proxy
Delegates the given event to this proxy's EventBus.
DOWNSTREAM_CONNECTION - Static variable in class org.omegazero.proxy.core.ProxyEvents
 
DOWNSTREAM_CONNECTION_CLOSED - Static variable in class org.omegazero.proxy.core.ProxyEvents
 
downstreamClosed - Variable in class org.omegazero.proxy.http.AbstractHTTPEngine
 
downstreamConnection - Variable in class org.omegazero.proxy.http.AbstractHTTPEngine
 
downstreamConnectionDbgstr - Variable in class org.omegazero.proxy.http.AbstractHTTPEngine
 
duplexClose - Variable in class org.omegazero.proxy.http.AbstractHTTPEngine
 

E

equals(Object) - Method in class org.omegazero.proxy.net.UpstreamServer
 

F

FeatureSet - Class in org.omegazero.proxy.util
A set of strings representing proxy features.
FeatureSet() - Constructor for class org.omegazero.proxy.util.FeatureSet
 
fromString(String) - Static method in class org.omegazero.proxy.http.HTTPErrdoc
 
fromString(String, String) - Static method in class org.omegazero.proxy.http.HTTPErrdoc
Generates a new HTTPErrdoc instance from the given data.

The mimeType argument is the type returned by HTTPErrdoc.getMimeType().

G

generate(int, String, String, String, String) - Method in class org.omegazero.proxy.http.HTTPErrdoc
 
getAddress() - Method in class org.omegazero.proxy.net.UpstreamServer
Returns the address of this UpstreamServer.
getAddressTTL() - Method in class org.omegazero.proxy.net.UpstreamServer
Returns the number of seconds to cache a resolved InetAddress.
getBacklog() - Method in class org.omegazero.proxy.config.ProxyConfiguration
 
getBindAddresses() - Method in class org.omegazero.proxy.config.ProxyConfiguration
 
getClientImplOverride() - Method in class org.omegazero.proxy.net.UpstreamServer
Returns an override for the client manager namespace to use to connect to this server.
getConfig() - Method in class org.omegazero.proxy.core.Proxy
 
getConnectionIdleTimeout() - Method in class org.omegazero.proxy.config.ProxyConfiguration
 
getConnectionIdleTimeout() - Method in class org.omegazero.proxy.core.Proxy
Returns the amount of time in seconds a connection with no traffic should persist before it is closed.
getDefaultErrdoc() - Method in class org.omegazero.proxy.core.Proxy
getDefaultErrdoc() - Method in class org.omegazero.proxy.core.ProxyRegistry
Returns the default error document.
getDefaultOutboundLocalAddressV4() - Method in class org.omegazero.proxy.config.ProxyConfiguration
 
getDefaultOutboundLocalAddressV6() - Method in class org.omegazero.proxy.config.ProxyConfiguration
 
getDefaultUpstreamServer() - Method in class org.omegazero.proxy.core.Proxy
Returns the default upstream server configured in the configuration file.
getDownstreamConnection() - Method in class org.omegazero.proxy.http.AbstractHTTPEngine
 
getDownstreamConnection() - Method in interface org.omegazero.proxy.http.HTTPEngine
Returns the SocketConnection to the client associated with this instance.
getDownstreamConnection() - Method in interface org.omegazero.proxy.util.HTTPEngineResponderMixin
 
getEngineConfigFor(Class<? extends HTTPEngine>) - Method in class org.omegazero.proxy.config.ProxyConfiguration
 
getErrdoc(String) - Method in class org.omegazero.proxy.core.Proxy
getErrdoc(String) - Method in class org.omegazero.proxy.core.ProxyRegistry
Returns the error document set for the given type.
getErrdocFiles() - Method in class org.omegazero.proxy.config.ProxyConfiguration
 
getErrdocForAccept(String) - Method in class org.omegazero.proxy.core.Proxy
getErrdocForAccept(String) - Method in class org.omegazero.proxy.core.ProxyRegistry
Parses the given value of an Accept HTTP header and returns the HTTPErrdoc for the first content type in the header for which an error document is found.
getHTTPClientALPName(String) - Method in class org.omegazero.proxy.core.ProxyRegistry
Returns the application layer protocol name for the given protocol name.
getHTTPClientImplementation(String) - Method in class org.omegazero.proxy.core.ProxyRegistry
Returns a constructor of a HTTPClient implementation for the given protocol name.
getHTTPVersionName() - Method in class org.omegazero.proxy.http.AbstractHTTPEngine
Returns the HTTP version name string used for the HTTPMessage version field.
getHTTPVersionName() - Method in interface org.omegazero.proxy.util.HTTPEngineResponderMixin
Returns the HTTP version name string used for the HTTPMessage version field.
getInitialAuthority() - Method in class org.omegazero.proxy.http.ProxyHTTPRequest
Returns the initial HTTP request authority.
getInitialHttpVersion() - Method in class org.omegazero.proxy.http.ProxyHTTPRequest
Returns the initial HTTP version.
getInitialHttpVersion() - Method in class org.omegazero.proxy.http.ProxyHTTPResponse
Returns the initial HTTP version.
getInitialMethod() - Method in class org.omegazero.proxy.http.ProxyHTTPRequest
Returns the initial HTTP request method.
getInitialPath() - Method in class org.omegazero.proxy.http.ProxyHTTPRequest
Returns the initial HTTP request path.
getInitialScheme() - Method in class org.omegazero.proxy.http.ProxyHTTPRequest
Returns the initial HTTP request scheme.
getInitialStatus() - Method in class org.omegazero.proxy.http.ProxyHTTPResponse
Returns the initial HTTP response status code.
getInstance() - Static method in class org.omegazero.proxy.core.Proxy
Returns the currently active instance of Proxy, or null if there is none.
getInstanceName() - Method in class org.omegazero.proxy.core.Proxy
 
getInstanceNameAppendage() - Method in class org.omegazero.proxy.core.Proxy
 
getInstanceType() - Method in class org.omegazero.proxy.core.Proxy
 
getInstanceVersion() - Method in class org.omegazero.proxy.core.Proxy
 
getLocalAddress() - Method in class org.omegazero.proxy.net.UpstreamServer
Returns the local address of this UpstreamServer.
getMaxHeaderSize() - Method in class org.omegazero.proxy.config.HTTPEngineConfig
Returns the maximum size of a HTTP message header (the start line and all headers) in bytes.
getMaxStreamsPerServer() - Method in class org.omegazero.proxy.config.HTTPEngineConfig
Returns the maximum number of concurrent active requests (streams) to an UpstreamServer for a single client.
getMimeType() - Method in class org.omegazero.proxy.http.HTTPErrdoc
 
getNumber() - Method in class org.omegazero.proxy.net.LoopbackUpstreamServer
Returns the virtual port number of this LoopbackUpstreamServer.
getPlainPort() - Method in class org.omegazero.proxy.net.UpstreamServer
Returns the port on which this UpstreamServer listens for plaintext connections.
getPluginConfigFor(String) - Method in class org.omegazero.proxy.config.ProxyConfiguration
 
getPortsPlain() - Method in class org.omegazero.proxy.config.ProxyConfiguration
 
getPortsTls() - Method in class org.omegazero.proxy.config.ProxyConfiguration
 
getRegistry() - Method in class org.omegazero.proxy.core.Proxy
Returns the ProxyRegistry for this proxy.
getRequestId() - Method in class org.omegazero.proxy.http.ProxyHTTPRequest
Returns the request ID of this ProxyHTTPRequest.
getRequestLogger() - Method in class org.omegazero.proxy.http.AbstractHTTPEngine
Returns the Logger requests should be logged with.
getRequestTimeout() - Method in class org.omegazero.proxy.config.HTTPEngineConfig
Returns the maximum time in milliseconds to wait for a request to finish before responding with status 408.
getResponseTimeout() - Method in class org.omegazero.proxy.config.HTTPEngineConfig
Returns the maximum time in milliseconds to wait for a response from an upstream server before responding with status 504.
getSecurePort() - Method in class org.omegazero.proxy.net.UpstreamServer
Returns the port on which this UpstreamServer listens for encrypted connections.
getServer() - Method in class org.omegazero.proxy.net.LoopbackUpstreamServer
Returns the LoopbackServer instance that receives the internal virtual connections.
getServerWorker() - Static method in class org.omegazero.proxy.core.Proxy
Returns the TaskQueueExecutor used to execute asynchronous tasks.
getServerWorkerProvider() - Method in class org.omegazero.proxy.core.Proxy
Returns the Proxy.ApplicationWorkerProvider for use by plugins for long-running tasks.
getSessionWorkerProvider(SocketConnection) - Method in class org.omegazero.proxy.core.Proxy
Returns a Proxy.SessionWorkerProvider for the given client connection.
getSslContext() - Method in class org.omegazero.proxy.core.Proxy
Returns the SSLContext for this proxy
getState() - Method in class org.omegazero.proxy.core.Proxy
 
getSupportedProcotols() - Method in class org.omegazero.proxy.net.UpstreamServer
Returns the unmodifiable list of protocol names this UpstreamServer supports, in the order of preference (from high to low).
getTlsAuthData() - Method in class org.omegazero.proxy.config.ProxyConfiguration
 
getTlsAuthReloadInterval() - Method in class org.omegazero.proxy.config.ProxyConfiguration
 
getTrustedCertificates() - Method in class org.omegazero.proxy.config.ProxyConfiguration
 
getUpstreamConnectionTimeout() - Method in class org.omegazero.proxy.config.HTTPEngineConfig
Returns the maximum time in milliseconds to wait until a connection to an upstream server is established before the connection attempt should be cancelled and an error be reported.
getUpstreamErrorMessage(Throwable) - Static method in class org.omegazero.proxy.http.HTTPCommon
Generates an appropriate error message string from the given Throwable that occurred on an upstream connection.
getUpstreamServer(String, String) - Method in class org.omegazero.proxy.core.Proxy
Deprecated.
Since 3.9.1, this method always returns the value returned by Proxy.getDefaultUpstreamServer(). The selectUpstreamServer event was replaced by onHTTPRequestSelectServer
getVersion() - Static method in class org.omegazero.proxy.core.Proxy
Returns the version string of omz-proxy.
getWorkerThreadCount() - Method in class org.omegazero.proxy.config.ProxyConfiguration
 

H

handleBackpressure(SocketConnection, SocketConnection) - Static method in class org.omegazero.proxy.util.ProxyUtil
Checks if the writeStream (the connection where data is being written to) is connected (or about to be) and is buffering write calls (SocketConnection.isWritable() returns false).
hashCode() - Method in class org.omegazero.proxy.net.UpstreamServer
 
hostMatches(String, String) - Static method in class org.omegazero.proxy.util.ProxyUtil
Checks if the given hostname matches the expression (expr) containing the wildcard character '*'.
hstrFromInetAddress(InetAddress) - Static method in class org.omegazero.proxy.http.HTTPCommon
 
HTTP_FORWARD_FAILED - Static variable in class org.omegazero.proxy.core.ProxyEvents
 
HTTP_REQUEST - Static variable in class org.omegazero.proxy.core.ProxyEvents
 
HTTP_REQUEST_DATA - Static variable in class org.omegazero.proxy.core.ProxyEvents
 
HTTP_REQUEST_ENDED - Static variable in class org.omegazero.proxy.core.ProxyEvents
 
HTTP_REQUEST_PRE - Static variable in class org.omegazero.proxy.core.ProxyEvents
 
HTTP_REQUEST_PRE_LOG - Static variable in class org.omegazero.proxy.core.ProxyEvents
 
HTTP_REQUEST_SELECT_SERVER - Static variable in class org.omegazero.proxy.core.ProxyEvents
 
HTTP_REQUEST_TIMEOUT - Static variable in class org.omegazero.proxy.core.ProxyEvents
 
HTTP_REQUEST_TRAILERS - Static variable in class org.omegazero.proxy.core.ProxyEvents
 
HTTP_RESPONSE - Static variable in class org.omegazero.proxy.core.ProxyEvents
 
HTTP_RESPONSE_DATA - Static variable in class org.omegazero.proxy.core.ProxyEvents
 
HTTP_RESPONSE_ENDED - Static variable in class org.omegazero.proxy.core.ProxyEvents
 
HTTP_RESPONSE_LOCAL - Static variable in class org.omegazero.proxy.core.ProxyEvents
 
HTTP_RESPONSE_TIMEOUT - Static variable in class org.omegazero.proxy.core.ProxyEvents
 
HTTP_RESPONSE_TRAILERS - Static variable in class org.omegazero.proxy.core.ProxyEvents
 
HTTPCommon - Class in org.omegazero.proxy.http
 
HTTPCommon() - Constructor for class org.omegazero.proxy.http.HTTPCommon
 
HTTPEngine - Interface in org.omegazero.proxy.http
HTTP server implementation interface.

An instance of a HTTPEngine is associated with one connection by a client.
HTTPEngineConfig - Class in org.omegazero.proxy.config
Contains configuration variables for HTTPEngines.
HTTPEngineConfig(Map<String, Object>) - Constructor for class org.omegazero.proxy.config.HTTPEngineConfig
 
HTTPEngineConfig(ConfigObject) - Constructor for class org.omegazero.proxy.config.HTTPEngineConfig
 
HTTPEngineResponderMixin - Interface in org.omegazero.proxy.util
A mixin containing utility methods for the HTTPEngine respond methods.
HTTPErrdoc - Class in org.omegazero.proxy.http
 
httpServer - Variable in class org.omegazero.proxy.http.AbstractHTTPEngine
 

I

IADDR_HASH_SALT - Static variable in class org.omegazero.proxy.http.HTTPCommon
 
init() - Method in class org.omegazero.proxy.net.LoopbackUpstreamServer
Initializes a LoopbackServer and corresponding client manager, and registers the client manager under a unique name in the proxy registry.
init(Args) - Method in class org.omegazero.proxy.core.Proxy
 
INIT - Enum constant in enum class org.omegazero.proxy.core.State
 
INIT - Static variable in class org.omegazero.proxy.core.ProxyEvents
 
INVALID_HTTP_REQUEST - Static variable in class org.omegazero.proxy.core.ProxyEvents
 
INVALID_HTTP_RESPONSE - Static variable in class org.omegazero.proxy.core.ProxyEvents
 
INVALID_UPSTREAM_SERVER - Static variable in class org.omegazero.proxy.core.ProxyEvents
 
isDisableDefaultRequestLog() - Method in class org.omegazero.proxy.config.HTTPEngineConfig
Returns whether the default request log messages should be disabled.
isDownstreamConnectionSecure() - Method in class org.omegazero.proxy.http.AbstractHTTPEngine
Returns true if the downstream (client) connection is encrypted.
isEnableHeaders() - Method in class org.omegazero.proxy.config.HTTPEngineConfig
Returns whether a set of default headers should be added to proxied HTTP messages.
isPluginLoaded(String) - Method in class org.omegazero.proxy.core.Proxy
Checks whether a plugins with the given id is loaded.
isProtocolSupported(String) - Method in class org.omegazero.proxy.net.UpstreamServer
Returns true if this UpstreamServer was configured to support the given protocol name.
isRunning() - Method in class org.omegazero.proxy.core.Proxy
 
isTrustAllCertificates() - Method in class org.omegazero.proxy.config.ProxyConfiguration
 
isValidEventName(String) - Static method in class org.omegazero.proxy.core.ProxyEvents
Checks whether an event with the given name is defined in this class.

L

LOCALHOST_IPV4 - Static variable in class org.omegazero.proxy.net.UpstreamServer
Contains the IPv4 localhost address 127.0.0.1.
LOCALHOST_IPV6 - Static variable in class org.omegazero.proxy.net.UpstreamServer
Contains the IPv6 localhost address ::1.
logUNetError(Object...) - Static method in class org.omegazero.proxy.http.AbstractHTTPEngine
 
LoopbackUpstreamServer - Class in org.omegazero.proxy.net
Virtual upstream server to locally handle requests, based on LoopbackServer.
LoopbackUpstreamServer() - Constructor for class org.omegazero.proxy.net.LoopbackUpstreamServer
Creates an LoopbackUpstreamServer instance.
LoopbackUpstreamServer(Collection<String>) - Constructor for class org.omegazero.proxy.net.LoopbackUpstreamServer
Creates an LoopbackUpstreamServer instance.

M

main(String[]) - Static method in class org.omegazero.proxy.core.ProxyMain
 
MISSING_TLS_DATA - Static variable in class org.omegazero.proxy.core.ProxyEvents
 
MSG_BAD_REQUEST - Static variable in class org.omegazero.proxy.http.HTTPCommon
 
MSG_NO_SERVER - Static variable in class org.omegazero.proxy.http.HTTPCommon
 
MSG_PROTO_NOT_SUPPORTED - Static variable in class org.omegazero.proxy.http.HTTPCommon
 
MSG_REQUEST_TIMEOUT - Static variable in class org.omegazero.proxy.http.HTTPCommon
 
MSG_SERVER_ERROR - Static variable in class org.omegazero.proxy.http.HTTPCommon
 
MSG_UPSTREAM_CONNECT_FAILED - Static variable in class org.omegazero.proxy.http.HTTPCommon
 
MSG_UPSTREAM_CONNECT_TIMEOUT - Static variable in class org.omegazero.proxy.http.HTTPCommon
 
MSG_UPSTREAM_CONNECTION_CLOSED - Static variable in class org.omegazero.proxy.http.HTTPCommon
 
MSG_UPSTREAM_CONNECTION_ERROR - Static variable in class org.omegazero.proxy.http.HTTPCommon
 
MSG_UPSTREAM_RESPONSE_INVALID - Static variable in class org.omegazero.proxy.http.HTTPCommon
 
MSG_UPSTREAM_RESPONSE_TIMEOUT - Static variable in class org.omegazero.proxy.http.HTTPCommon
 

N

NEW - Enum constant in enum class org.omegazero.proxy.core.State
 
newVirtualInstance(int) - Method in class org.omegazero.proxy.net.LoopbackUpstreamServer
Creates a new virtual LoopbackUpstreamServer with the same underlying client manager.

O

org.omegazero.proxy.config - package org.omegazero.proxy.config
Provides proxy configuration management.
org.omegazero.proxy.core - package org.omegazero.proxy.core
Contains the core classes of omz-proxy 3.
org.omegazero.proxy.http - package org.omegazero.proxy.http
Provides an abstraction layer and utility classes for HTTP.
org.omegazero.proxy.net - package org.omegazero.proxy.net
Contains networking-related proxy classes.
org.omegazero.proxy.util - package org.omegazero.proxy.util
Contains proxy utility classes.

P

POSTINIT - Static variable in class org.omegazero.proxy.core.ProxyEvents
 
PREINIT - Enum constant in enum class org.omegazero.proxy.core.State
 
PREINIT - Static variable in class org.omegazero.proxy.core.ProxyEvents
 
prepareHTTPResponse(HTTPRequest, HTTPResponse, byte[]) - Static method in class org.omegazero.proxy.http.HTTPCommon
Prepares the given response by performing one of the following: If the response is a result of a request with the HEAD method, data is set to an empty array and any Content-Length header is deleted If the response should contain a response body (
invalid reference
#hasResponseBody(HTTPMessage, HTTPMessage)
returns true), the Content-Length header is set to the length of data If the response should not contain a response body and data is empty, any Content-Length header is deleted
processData(byte[]) - Method in class org.omegazero.proxy.http.AbstractHTTPEngine
 
processData(byte[]) - Method in interface org.omegazero.proxy.http.HTTPEngine
Processes the given data received over the connection from the client.
PROTOCOL_SWITCHED - Static variable in class org.omegazero.proxy.core.ProxyEvents
 
PROTOCOLS_ALL - Static variable in class org.omegazero.proxy.net.UpstreamServer
An immutable collection representing support for all protocols.
PROTOCOLS_DEFAULT - Static variable in class org.omegazero.proxy.net.UpstreamServer
An immutable collection containing the single default supported procotol, HTTP/1.1, used if no protocols are passed in the constructor.
proxy - Variable in class org.omegazero.proxy.http.AbstractHTTPEngine
 
Proxy - Class in org.omegazero.proxy.core
The main class of omz-proxy.
Proxy() - Constructor for class org.omegazero.proxy.core.Proxy
 
Proxy.ApplicationWorkerProvider - Class in org.omegazero.proxy.core
A class used to queue tasks.
Proxy.SessionWorkerProvider - Class in org.omegazero.proxy.core
A class used for running the connection callbacks in a client session.
ProxyConfiguration - Class in org.omegazero.proxy.config
 
ProxyConfiguration(byte[]) - Constructor for class org.omegazero.proxy.config.ProxyConfiguration
 
ProxyConfiguration(String) - Constructor for class org.omegazero.proxy.config.ProxyConfiguration
 
ProxyEvents - Class in org.omegazero.proxy.core
 
ProxyEvents() - Constructor for class org.omegazero.proxy.core.ProxyEvents
 
ProxyHTTPRequest - Class in org.omegazero.proxy.http
A HTTPRequest that stores the initial request line values and contains additional proxy-specific methods.
ProxyHTTPRequest(String, String, String, String, String, HTTPHeaderContainer) - Constructor for class org.omegazero.proxy.http.ProxyHTTPRequest
See HTTPRequest(String, String, String, String, String, HTTPHeaderContainer).
ProxyHTTPRequest(ProxyHTTPRequest) - Constructor for class org.omegazero.proxy.http.ProxyHTTPRequest
See HTTPRequest(HTTPRequest).
ProxyHTTPResponse - Class in org.omegazero.proxy.http
A HTTPResponse that stores the initial response line values.
ProxyHTTPResponse(int, String, HTTPHeaderContainer) - Constructor for class org.omegazero.proxy.http.ProxyHTTPResponse
See HTTPResponse(int, String, HTTPHeaderContainer)
ProxyHTTPResponse(ProxyHTTPResponse) - Constructor for class org.omegazero.proxy.http.ProxyHTTPResponse
See HTTPResponse(HTTPResponse)
ProxyMain - Class in org.omegazero.proxy.core
 
ProxyMain() - Constructor for class org.omegazero.proxy.core.ProxyMain
 
ProxyRegistry - Class in org.omegazero.proxy.core
Used for configuring and registering proxy settings or extensions.
ProxyRegistry.HTTPClientConstructor - Interface in org.omegazero.proxy.core
Represents a constructor for a HTTPClient.
ProxyUtil - Class in org.omegazero.proxy.util
 
ProxyUtil() - Constructor for class org.omegazero.proxy.util.ProxyUtil
 

R

registerClientManager(String, NetClientManager) - Method in class org.omegazero.proxy.core.Proxy
Deprecated.
registerClientManager(String, NetClientManager) - Method in class org.omegazero.proxy.core.ProxyRegistry
Registers a new NetClientManager for outgoing connections.
registerClientManager(NetClientManager) - Method in class org.omegazero.proxy.core.Proxy
Deprecated.
Since 3.7.1, use Proxy.registerClientManager(String, NetClientManager). This method uses the full class name for the id parameter.
registerHTTPClientImplementation(String, ProxyRegistry.HTTPClientConstructor, String) - Method in class org.omegazero.proxy.core.ProxyRegistry
Registers a new HTTPClient implementation for outgoing HTTP requests.
registerServerInstance(Class<? extends NetServer>) - Method in class org.omegazero.proxy.core.Proxy
Deprecated.
registerServerInstance(Class<? extends NetServer>) - Method in class org.omegazero.proxy.core.ProxyRegistry
Registers a new NetServer instance of the given type.
registerServerInstance(NetServer) - Method in class org.omegazero.proxy.core.Proxy
Deprecated.
registerServerInstance(NetServer) - Method in class org.omegazero.proxy.core.ProxyRegistry
Registers a new NetServer instance.
reloadConfiguration() - Method in class org.omegazero.proxy.core.Proxy
Reloads the configuration from the configuration file and pushes the new configuration data to plugins.
reloadTLSAuthData() - Method in class org.omegazero.proxy.config.ProxyConfiguration
 
REQUEST_ID_SEPARATOR - Static variable in class org.omegazero.proxy.http.HTTPCommon
 
REQUEST_ID_TIME_BASE - Static variable in class org.omegazero.proxy.http.HTTPCommon
 
REQUEST_ID_TIME_LENGTH - Static variable in class org.omegazero.proxy.http.HTTPCommon
 
requestId(SocketConnection) - Static method in class org.omegazero.proxy.http.HTTPCommon
Generates a pseudo-random request ID from the given parameters and system properties.
respond(HTTPRequest, int, byte[], String...) - Method in class org.omegazero.proxy.http.AbstractHTTPEngine
 
respond(HTTPRequest, HTTPResponseData) - Method in class org.omegazero.proxy.http.AbstractHTTPEngine
 
respond(HTTPRequest, HTTPResponseData) - Method in interface org.omegazero.proxy.util.HTTPEngineResponderMixin
 
respondError(int, String, String...) - Method in class org.omegazero.proxy.http.ProxyHTTPRequest
Responds to this HTTPRequest with an error message.
respondError(int, String, String, String...) - Method in class org.omegazero.proxy.http.ProxyHTTPRequest
Responds to this HTTPRequest with an error message.
respondError(HTTPRequest, int, String, String...) - Method in interface org.omegazero.proxy.http.HTTPEngine
Selects an appropriate HTTPErrdoc template and generates a response body using it.
respondError(HTTPRequest, int, String, String, String...) - Method in class org.omegazero.proxy.http.AbstractHTTPEngine
 
respondError(HTTPRequest, int, String, String, String...) - Method in interface org.omegazero.proxy.http.HTTPEngine
Selects an appropriate HTTPErrdoc template and generates a response body using it.
respondError(Proxy, HTTPRequest, int, String, String, String...) - Method in interface org.omegazero.proxy.util.HTTPEngineResponderMixin
Prepares an error response with the given parameters.
respondEx(Proxy, HTTPRequest, int, byte[], String[], String...) - Method in interface org.omegazero.proxy.util.HTTPEngineResponderMixin
Responds to the given request with the given parameters.
respondInternalError(HTTPRequest, Throwable) - Method in class org.omegazero.proxy.http.AbstractHTTPEngine
 
respondUNetError(HTTPRequest, int, String, SocketConnection, UpstreamServer) - Method in class org.omegazero.proxy.http.AbstractHTTPEngine
 
respondUNetError(Proxy, HTTPRequest, int, String, SocketConnection, UpstreamServer) - Method in interface org.omegazero.proxy.util.HTTPEngineResponderMixin
Emits a HTTP_FORWARD_FAILED event on the Proxy event bus with the given parameters, and, if no response was sent, responds with an appropriate error message.
runEvent(EventBus, Event, Object...) - Static method in class org.omegazero.proxy.core.ProxyEvents
 
runEventRes(EventBus, Event, Object...) - Static method in class org.omegazero.proxy.core.ProxyEvents
 
RUNNING - Enum constant in enum class org.omegazero.proxy.core.State
 

S

serverImplNamespace - Static variable in class org.omegazero.proxy.util.ProxyUtil
The namespace of server implementation names to use.
setDefaultHeaders(Proxy, HTTPMessage) - Static method in class org.omegazero.proxy.http.HTTPCommon
Sets several common HTTP headers.
setErrdoc(String, HTTPErrdoc) - Method in class org.omegazero.proxy.core.Proxy
Deprecated.
setErrdoc(String, HTTPErrdoc) - Method in class org.omegazero.proxy.core.ProxyRegistry
Sets an error document for the given MIME type (Content-Type header in HTTP).
setInstanceNameAppendage(String) - Method in class org.omegazero.proxy.core.Proxy
 
setInstanceType(String) - Method in class org.omegazero.proxy.core.Proxy
 
setInstanceVersion(String) - Method in class org.omegazero.proxy.core.Proxy
 
setRequestResponse(HTTPRequest, HTTPResponse) - Static method in class org.omegazero.proxy.http.HTTPCommon
Sets the response of the given request to response atomically and returns true if successful or false if the given request already has a response associated with it.
setServername(String) - Method in class org.omegazero.proxy.http.HTTPErrdoc
 
setUnsupportedField(Field, Object) - Method in class org.omegazero.proxy.config.ProxyConfiguration
 
shortenRequestId(String) - Static method in class org.omegazero.proxy.http.HTTPCommon
Shortens a request ID generated by HTTPCommon.requestId(SocketConnection) to 8 characters, used in log outputs.
shutdown() - Method in class org.omegazero.proxy.core.Proxy
 
SHUTDOWN - Static variable in class org.omegazero.proxy.core.ProxyEvents
 
start(Args) - Method in class org.omegazero.proxy.core.Proxy
 
STARTING - Enum constant in enum class org.omegazero.proxy.core.State
 
State - Enum Class in org.omegazero.proxy.core
 
STOPPED - Enum constant in enum class org.omegazero.proxy.core.State
 
STOPPING - Enum constant in enum class org.omegazero.proxy.core.State
 
switchedProtocolUpstreamConnection - Variable in class org.omegazero.proxy.http.AbstractHTTPEngine
 

T

TLS_AUTH_DEFAULT_NAME - Static variable in class org.omegazero.proxy.config.ProxyConfiguration
 
toString() - Method in class org.omegazero.proxy.net.LoopbackUpstreamServer
 
toString() - Method in class org.omegazero.proxy.net.UpstreamServer
 

U

UPSTREAM_CONNECTION - Static variable in class org.omegazero.proxy.core.ProxyEvents
 
UPSTREAM_CONNECTION_CLOSED - Static variable in class org.omegazero.proxy.core.ProxyEvents
 
UPSTREAM_CONNECTION_ERROR - Static variable in class org.omegazero.proxy.core.ProxyEvents
 
UPSTREAM_CONNECTION_TIMEOUT - Static variable in class org.omegazero.proxy.core.ProxyEvents
 
upstreamClients - Variable in class org.omegazero.proxy.http.AbstractHTTPEngine
 
UpstreamServer - Class in org.omegazero.proxy.net
Contains information about another server where requests can be forwarded to.
UpstreamServer() - Constructor for class org.omegazero.proxy.net.UpstreamServer
Creates an UpstreamServer instance with no parameters set, and protocols set to UpstreamServer.PROTOCOLS_ALL.
UpstreamServer(InetAddress, int, int) - Constructor for class org.omegazero.proxy.net.UpstreamServer
Creates an UpstreamServer instance.
UpstreamServer(InetAddress, int, int, int, Collection<String>) - Constructor for class org.omegazero.proxy.net.UpstreamServer
Creates an UpstreamServer instance.
UpstreamServer(InetAddress, int, int, int, Collection<String>, String) - Constructor for class org.omegazero.proxy.net.UpstreamServer
Creates an UpstreamServer instance.
UpstreamServer(InetAddress, int, int, Collection<String>) - Constructor for class org.omegazero.proxy.net.UpstreamServer
Creates an UpstreamServer instance.
UpstreamServer(InetAddress, int, InetAddress, int, int, Collection<String>, String) - Constructor for class org.omegazero.proxy.net.UpstreamServer
Creates an UpstreamServer instance.
USOCKET_ERROR_DEBUG - Static variable in class org.omegazero.proxy.http.HTTPCommon
 

V

validateConfig() - Method in class org.omegazero.proxy.config.ProxyConfiguration
 
value() - Method in enum class org.omegazero.proxy.core.State
 
valueOf(String) - Static method in enum class org.omegazero.proxy.core.State
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.omegazero.proxy.core.State
Returns an array containing the constants of this enum class, in the order they are declared.
VERSION - Static variable in class org.omegazero.proxy.core.Proxy
The version string of omz-proxy.
A C D E F G H I L M N O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form