Interface | Description |
---|---|
DirectoryWatchEventListener |
Implementors will be notified of any changes to a directory they have registered with the
FileWatchService . |
ScriptHelper |
Exposes a number of useful java based utilities to JavaScript endpoints.
|
SetupCompleteCallback |
Invoked by script endpoints to let PokerFace know they have completed their setup process.
|
Class | Description |
---|---|
AbsClientRequestConsumer |
Abstract base class to consume a request from the client / browser.
|
BufferContentProducer |
Produces asynchronous content from an IOControlled byte buffer.
|
BufferIOController |
This class provides flow control of a shared read/write
ByteBuffer which it lazily obtains from a ObjectPool . |
DirectoryWatchService |
This class is a GOF Bridge pattern to decouple file watching from the underlying technology used to 'watch' a given directory for changes.
|
NJavascriptFunctionEntity |
Concrete implementation of org.apache.http.HttpEntity which obtains it's content from a JavaScript function.
|
PokerFace |
Asynchronous, fully streaming, HTTP/1.1, dynamic, scriptable reverse proxy.
|
PokerFaceApp |
Main entry point for PokerFace, this class analyzes various command line switches and builds up a configuration that it delegates to an instance of the
PokerFace class to actually perform the configuration. |
PokerFaceKeyManager |
Semi-delegating
X509ExtendedKeyManager which always returns it's own 'server' alias, but delegates all other calls. |
RequestForFileConsumer |
Specialization of
AbsClientRequestConsumer to consume a client request for a local static file and which generates the ResponseProducer . |
RequestForScriptConsumer |
Specialization of
AbsClientRequestConsumer to consume a client request that will be processed by a JavaScript endpoint. |
RequestForTargetConsumer |
Specialization of
AbsClientRequestConsumer to consume a client request that will be forwarded to a remote Target. |
RequestHandler |
Analyzes each new request from a client (the content of which will not yet be fully received),
checks for a matching JavaScript endpoint and invokes it's
inspectRequest method if it exist,
analyzes the script response (and if appropriate delegates further processing to the script),
otherwise resolves the remote Target (if any),
and finally creates either a RequestForScriptConsumer or a RequestForTargetConsumer to actually consume the request. |
ResponseDateInterceptor |
Similar to org.apache.http.ResponseDate, this class adds the Date header to the outgoing responses.
|
ResponseProducer |
Produce a response (back to the client) in response to the HttpRequest from the client.
|
ScriptHelperImpl |
Implementation of
ScriptHelper |
ScriptResponseProducer |
This
ResponseProducer specialization is responsible for invoking the JavaScript endpoint to produce a response,
translate that response (if need be) into an asynchronous form, and then send that data back to the client. |
TargetBase |
Simple base class to assist with common tasks for a proxy (such as header manipulation)
|
TargetDescriptor |
This is a meta-data class to keep track of a remote Target for this proxy
|
TargetRequestProducer |
This class forwards the request we received from a client on to a remote Target.
|
TargetResponseConsumer |
This class reads in the response we receive back from the remote Target, and then signals the
ResponseProducer that it can begin responding back to the requesting client. |
Utils |
Useful collection of Http related utility methods.
|
X509TrustAllManager |
Simple X509TrustManager that is willing to trust anybody and everybody.
|
Enum | Description |
---|---|
DirectoryWatchEventListener.FileChangeType |
Copyright © 2015–2024 Frank Stock. All rights reserved.