Skip navigation links
A B C D E F G H I K L M N O P R S T U V W X 

A

AbsClientRequestConsumer - Class in com.bytelightning.opensource.pokerface
Abstract base class to consume a request from the client / browser.
AbsClientRequestConsumer(HttpContext, BufferIOController, ResponseProducer) - Constructor for class com.bytelightning.opensource.pokerface.AbsClientRequestConsumer
Primary constructor
AddMimeEntry(String, String) - Static method in class com.bytelightning.opensource.pokerface.ScriptHelperImpl
Add a mime entry to the table.

B

buffer - Variable in class com.bytelightning.opensource.pokerface.AbsClientRequestConsumer
 
BufferContentProducer - Class in com.bytelightning.opensource.pokerface
Produces asynchronous content from an IOControlled byte buffer.
BufferContentProducer(BufferIOController, String, String) - Constructor for class com.bytelightning.opensource.pokerface.BufferContentProducer
Primary constructor
BufferIOController - Class in com.bytelightning.opensource.pokerface
This class provides flow control of a shared read/write ByteBuffer which it lazily obtains from a ObjectPool.
BufferIOController(ObjectPool<ByteBuffer>) - Constructor for class com.bytelightning.opensource.pokerface.BufferIOController
Primary constructor
BuildHeaderRemovalList(Header, String...) - Static method in class com.bytelightning.opensource.pokerface.TargetBase
Build a *lowercase* list of headers that should be removed.

C

cancel() - Method in class com.bytelightning.opensource.pokerface.TargetResponseConsumer
This method also notifies the ResponseProducer about the cancellation by invoking our failed method with an InterruptedIOException.
cancelWatch(Object) - Method in class com.bytelightning.opensource.pokerface.DirectoryWatchService
Cancel a previously established watch
checkClientTrusted(X509Certificate[], String) - Method in class com.bytelightning.opensource.pokerface.X509TrustAllManager
 
checkServerTrusted(X509Certificate[], String) - Method in class com.bytelightning.opensource.pokerface.X509TrustAllManager
 
chooseClientAlias(String[], Principal[], Socket) - Method in class com.bytelightning.opensource.pokerface.PokerFaceKeyManager
 
chooseEngineClientAlias(String[], Principal[], SSLEngine) - Method in class com.bytelightning.opensource.pokerface.PokerFaceKeyManager
 
chooseEngineServerAlias(String, Principal[], SSLEngine) - Method in class com.bytelightning.opensource.pokerface.PokerFaceKeyManager
Always returns the hard coded alias specified in the constructor.
chooseServerAlias(String, Principal[], Socket) - Method in class com.bytelightning.opensource.pokerface.PokerFaceKeyManager
Always returns the hard coded alias specified in the constructor.
close() - Method in class com.bytelightning.opensource.pokerface.AbsClientRequestConsumer
This specialization currently does nothing.
close() - Method in class com.bytelightning.opensource.pokerface.BufferContentProducer
This specialization closes the content buffer.
close() - Method in class com.bytelightning.opensource.pokerface.BufferIOController
This method MUST be called to clean up any borrowed ByteBuffers.
close() - Method in class com.bytelightning.opensource.pokerface.NJavascriptFunctionEntity
 
close() - Method in class com.bytelightning.opensource.pokerface.RequestForScriptConsumer
This specialization currently does nothing.
close() - Method in class com.bytelightning.opensource.pokerface.ResponseProducer
Close the content buffer.
close() - Method in class com.bytelightning.opensource.pokerface.ScriptHelperImpl
Close out any resources that are owned by this object.
close() - Method in class com.bytelightning.opensource.pokerface.TargetRequestProducer
Close the content buffer given to us by the RequestForTargetConsumer.
close() - Method in class com.bytelightning.opensource.pokerface.TargetResponseConsumer
 
com.bytelightning.opensource.pokerface - package com.bytelightning.opensource.pokerface
 
config(HierarchicalConfiguration) - Method in class com.bytelightning.opensource.pokerface.PokerFace
Configures all the needed components, but does not actually start the server.
configureScripts(List<Path>, HierarchicalConfiguration, Path, boolean) - Method in class com.bytelightning.opensource.pokerface.PokerFace
If requested by the user, this method walks the script directory discovering, loading, compiling, and initialing an .js javascript files it finds in the specified directory or it's children.
connectingReactor - Variable in class com.bytelightning.opensource.pokerface.PokerFace
 
connectionDispatcher - Variable in class com.bytelightning.opensource.pokerface.PokerFace
 
consumeContent(ContentDecoder, IOControl) - Method in class com.bytelightning.opensource.pokerface.AbsClientRequestConsumer
This method is only called if the request had content (e.g.
consumeContent(ContentDecoder, IOControl) - Method in class com.bytelightning.opensource.pokerface.TargetResponseConsumer
This method is only called if the response had content (which it typically does).
contentProducer - Variable in class com.bytelightning.opensource.pokerface.ResponseProducer
 
context - Variable in class com.bytelightning.opensource.pokerface.AbsClientRequestConsumer
 
context - Variable in class com.bytelightning.opensource.pokerface.ResponseProducer
 
createBuffer() - Method in interface com.bytelightning.opensource.pokerface.ScriptHelper
Returns a ByteBuffer that will be automatically cleaned up once the transaction completes.
createBuffer() - Method in class com.bytelightning.opensource.pokerface.ScriptHelperImpl
 
CreateHttpViaHeader(Header, ProtocolVersion) - Static method in class com.bytelightning.opensource.pokerface.TargetBase
Create an appropriate http 'Via' header as specified in (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.45)

D

dataRead() - Method in class com.bytelightning.opensource.pokerface.BufferIOController
This flow control method notifies us that data was read from our buffer (by the 'reading' IOControl).
dataWritten() - Method in class com.bytelightning.opensource.pokerface.BufferIOController
This flow control method notifies us that data was written to our buffer (by the 'writing' IOControl).
DirectoryWatchEventListener - Interface in com.bytelightning.opensource.pokerface
Implementors will be notified of any changes to a directory they have registered with the FileWatchService.
DirectoryWatchEventListener.FileChangeType - Enum in com.bytelightning.opensource.pokerface
 
DirectoryWatchService - Class in com.bytelightning.opensource.pokerface
This class is a GOF Bridge pattern to decouple file watching from the underlying technology used to 'watch' a given directory for changes.
DirectoryWatchService() - Constructor for class com.bytelightning.opensource.pokerface.DirectoryWatchService
Initialize the watching technology.

E

establishWatch(Path, DirectoryWatchEventListener) - Method in class com.bytelightning.opensource.pokerface.DirectoryWatchService
Register a watch on the specified directory/file

F

failed(Exception) - Method in class com.bytelightning.opensource.pokerface.AbsClientRequestConsumer
 
failed(Exception) - Method in class com.bytelightning.opensource.pokerface.ResponseProducer
 
failed(Exception) - Method in class com.bytelightning.opensource.pokerface.TargetRequestProducer
 
failed(Exception) - Method in class com.bytelightning.opensource.pokerface.TargetResponseConsumer
This method also notifies the ResponseProducer about this exception.
findMimeEntryByExt(String) - Method in interface com.bytelightning.opensource.pokerface.ScriptHelper
Locate a sun.net.www.MimeEntry by the file extension that has been associated with it.
findMimeEntryByExt(String) - Method in class com.bytelightning.opensource.pokerface.ScriptHelperImpl
 
findMimeEntryByType(String) - Method in interface com.bytelightning.opensource.pokerface.ScriptHelper
Locate a sun.net.www.MimeEntry by it's MIMEType
findMimeEntryByType(String) - Method in class com.bytelightning.opensource.pokerface.ScriptHelperImpl
 
formatDate(long) - Method in interface com.bytelightning.opensource.pokerface.ScriptHelper
Format millisecond based date into a GMT string compatible with HTTP headers protocol.
formatDate(long) - Method in class com.bytelightning.opensource.pokerface.ScriptHelperImpl
 

G

generateRequest() - Method in class com.bytelightning.opensource.pokerface.TargetRequestProducer
 
generateResponse() - Method in class com.bytelightning.opensource.pokerface.ResponseProducer
Someone else always generates the response and invokes one of our setResponse or setException methods.
generateResponse() - Method in class com.bytelightning.opensource.pokerface.ScriptResponseProducer
Someone else always generates the response and invokes one of our setResponse or setException methods.
getAcceptableLocales() - Method in interface com.bytelightning.opensource.pokerface.ScriptHelper
Return the language Locales accepted by the requesting client in order of preference (best to least).
getAcceptableLocales() - Method in class com.bytelightning.opensource.pokerface.ScriptHelperImpl
 
getAcceptedIssuers() - Method in class com.bytelightning.opensource.pokerface.X509TrustAllManager
 
getByteBuffer() - Method in class com.bytelightning.opensource.pokerface.BufferIOController
Returns the ByteBuffer, lazily obtaining one from the pool if need be.
getCertificateChain(String) - Method in class com.bytelightning.opensource.pokerface.PokerFaceKeyManager
 
getCharacterEncoding() - Method in interface com.bytelightning.opensource.pokerface.ScriptHelper
Returns the charset of the Content-Type header
getCharacterEncoding() - Method in class com.bytelightning.opensource.pokerface.ScriptHelperImpl
 
GetCharsetFromContentType(String) - Static method in class com.bytelightning.opensource.pokerface.ScriptHelperImpl
Parse the character encoding from the specified content type header.
getClientAliases(String, Principal[]) - Method in class com.bytelightning.opensource.pokerface.PokerFaceKeyManager
 
getContent() - Method in class com.bytelightning.opensource.pokerface.NJavascriptFunctionEntity
 
getContentLength() - Method in class com.bytelightning.opensource.pokerface.NJavascriptFunctionEntity
 
getException() - Method in class com.bytelightning.opensource.pokerface.AbsClientRequestConsumer
 
getException() - Method in class com.bytelightning.opensource.pokerface.TargetResponseConsumer
This method returns null as any failure will have already been propagated to the ResponseProducer
getHOSTName() - Method in interface com.bytelightning.opensource.pokerface.ScriptHelper
Returns the host name as seen by the calling client.
getHOSTName() - Method in class com.bytelightning.opensource.pokerface.ScriptHelperImpl
 
getHOSTPort() - Method in interface com.bytelightning.opensource.pokerface.ScriptHelper
Returns the host port as seen by the calling client.
getHOSTPort() - Method in class com.bytelightning.opensource.pokerface.ScriptHelperImpl
 
getHTTPDateFormater() - Method in interface com.bytelightning.opensource.pokerface.ScriptHelper
Get a new date formatter compatible with HTTP headers protocol.
getHTTPDateFormater() - Method in class com.bytelightning.opensource.pokerface.ScriptHelperImpl
 
GetHTTPDateFormater() - Static method in class com.bytelightning.opensource.pokerface.Utils
Get a new date formatter compatible with HTTP headers protocol.
getLocalAddress() - Method in interface com.bytelightning.opensource.pokerface.ScriptHelper
Return the underlying local InetAddress for this request / response transaction
getLocalAddress() - Method in class com.bytelightning.opensource.pokerface.ScriptHelperImpl
 
getLocalPort() - Method in interface com.bytelightning.opensource.pokerface.ScriptHelper
Return the underlying local socket port for this request / response transaction
getLocalPort() - Method in class com.bytelightning.opensource.pokerface.ScriptHelperImpl
 
getPool() - Method in class com.bytelightning.opensource.pokerface.BufferIOController
Returns the pool from which this IOEontroller allocates ByteBuffers.
getPrefixDiscardCount() - Method in class com.bytelightning.opensource.pokerface.TargetDescriptor
Returns the number of prefix characters of the incoming request uri *path* that should be removed before appending the remaining characters to end of target + targetPath.
getPrivateKey(String) - Method in class com.bytelightning.opensource.pokerface.PokerFaceKeyManager
 
getRemoteAddress() - Method in interface com.bytelightning.opensource.pokerface.ScriptHelper
Return the underlying remote InetAddress for this request / response transaction
getRemoteAddress() - Method in class com.bytelightning.opensource.pokerface.ScriptHelperImpl
 
getRemotePort() - Method in interface com.bytelightning.opensource.pokerface.ScriptHelper
Return the underlying remote socket port for this request / response transaction
getRemotePort() - Method in class com.bytelightning.opensource.pokerface.ScriptHelperImpl
 
getResult() - Method in class com.bytelightning.opensource.pokerface.AbsClientRequestConsumer
Returns the ResponseProducer that will ultimately send the result of this request/response transaction back to the client.
getResult() - Method in class com.bytelightning.opensource.pokerface.TargetResponseConsumer
 
getScheme() - Method in interface com.bytelightning.opensource.pokerface.ScriptHelper
Returns http or https scheme of this transaction
getScheme() - Method in class com.bytelightning.opensource.pokerface.ScriptHelperImpl
 
getServerAliases(String, Principal[]) - Method in class com.bytelightning.opensource.pokerface.PokerFaceKeyManager
 
getTarget() - Method in class com.bytelightning.opensource.pokerface.TargetDescriptor
Returns the remote Target server FQDN
getTarget() - Method in class com.bytelightning.opensource.pokerface.TargetRequestProducer
 
getTargetPath() - Method in class com.bytelightning.opensource.pokerface.TargetDescriptor
Returns the path to a resource 'root' on the target (which would typically be an empty string "", but is not required to be so).

H

handle(ResponseProducer, HttpAsyncExchange, HttpContext) - Method in class com.bytelightning.opensource.pokerface.RequestHandler
Our processRequest method always returns an instance of HttpAsyncRequestConsumer<ResponseProducer> and the ResponseProducer part of that is passed as the first parameter to this method.
handlerRegistry - Variable in class com.bytelightning.opensource.pokerface.PokerFace
 
HasScheme(String) - Static method in class com.bytelightning.opensource.pokerface.ScriptHelperImpl
Determine if a URI string has a scheme component.
HTTP_DATE_FORMAT - Static variable in class com.bytelightning.opensource.pokerface.Utils
Format used for HTTP date headers.

I

isDone() - Method in class com.bytelightning.opensource.pokerface.AbsClientRequestConsumer
 
isDone() - Method in class com.bytelightning.opensource.pokerface.TargetResponseConsumer
 
isRepeatable() - Method in class com.bytelightning.opensource.pokerface.BufferContentProducer
 
isRepeatable() - Method in class com.bytelightning.opensource.pokerface.NJavascriptFunctionEntity
 
isRepeatable() - Method in class com.bytelightning.opensource.pokerface.TargetRequestProducer
This class is not repeatable as it is created solely for this transaction.
isStreaming() - Method in class com.bytelightning.opensource.pokerface.NJavascriptFunctionEntity
 

K

keys - Variable in class com.bytelightning.opensource.pokerface.DirectoryWatchService
 

L

listeners - Variable in class com.bytelightning.opensource.pokerface.DirectoryWatchService
 
listeningDispatcher - Variable in class com.bytelightning.opensource.pokerface.PokerFace
 
listeningReactor - Variable in class com.bytelightning.opensource.pokerface.PokerFace
 
loadScriptLibrary(Path) - Method in class com.bytelightning.opensource.pokerface.PokerFace
Load the specified JavaScript library into the global scope of the Nashorn engine
Logger - Static variable in class com.bytelightning.opensource.pokerface.AbsClientRequestConsumer
 
Logger - Static variable in class com.bytelightning.opensource.pokerface.BufferContentProducer
 
Logger - Static variable in class com.bytelightning.opensource.pokerface.BufferIOController
 
Logger - Static variable in class com.bytelightning.opensource.pokerface.NJavascriptFunctionEntity
 
Logger - Static variable in class com.bytelightning.opensource.pokerface.PokerFace
 
Logger - Static variable in class com.bytelightning.opensource.pokerface.RequestHandler
 
Logger - Static variable in class com.bytelightning.opensource.pokerface.ResponseProducer
 
Logger - Static variable in class com.bytelightning.opensource.pokerface.ScriptResponseProducer
 
Logger - Static variable in class com.bytelightning.opensource.pokerface.TargetDescriptor
 
Logger - Static variable in class com.bytelightning.opensource.pokerface.TargetRequestProducer
 
Logger - Static variable in class com.bytelightning.opensource.pokerface.TargetResponseConsumer
 

M

main(String[]) - Static method in class com.bytelightning.opensource.pokerface.PokerFaceApp
 
makeAbsoluteUrl(String) - Method in interface com.bytelightning.opensource.pokerface.ScriptHelper
Convert (if necessary) and return the absolute URL that represents the resource referenced by this possibly relative URL.
makeAbsoluteUrl(String) - Method in class com.bytelightning.opensource.pokerface.ScriptHelperImpl
 
MakePath(Object) - Static method in class com.bytelightning.opensource.pokerface.Utils
Converts a string to a Path by checking to see if it is a URI for any of the known providers, or just a plain File path.
MimeExtensionsMap - Static variable in class com.bytelightning.opensource.pokerface.ScriptHelperImpl
 
MimeTypeMap - Static variable in class com.bytelightning.opensource.pokerface.ScriptHelperImpl
 

N

NJavascriptFunctionEntity - Class in com.bytelightning.opensource.pokerface
Concrete implementation of org.apache.http.HttpEntity which obtains it's content from a JavaScript function.
NJavascriptFunctionEntity(String, ScriptObjectMirror, ScriptObjectMirror, ContentType, HttpResponse, HttpContext) - Constructor for class com.bytelightning.opensource.pokerface.NJavascriptFunctionEntity
Primary constructor
NormalizeURL(String) - Static method in class com.bytelightning.opensource.pokerface.ScriptHelperImpl
Normalization code courtesy of 'Mike Houston' http://stackoverflow.com/questions/2993649/how-to-normalize-a-url-in-java

O

onWatchEvent(Path, Path, Path, DirectoryWatchEventListener.FileChangeType) - Method in interface com.bytelightning.opensource.pokerface.DirectoryWatchEventListener
Invoked when a directory/file has changed within a registered 'watch'.

P

PercentEncodeRfc3986(String) - Static method in class com.bytelightning.opensource.pokerface.ScriptHelperImpl
Percent-encode values according the RFC 3986.
PokerFace - Class in com.bytelightning.opensource.pokerface
Asynchronous, fully streaming, HTTP/1.1, dynamic, scriptable reverse proxy.
PokerFace() - Constructor for class com.bytelightning.opensource.pokerface.PokerFace
Primary / Default constructor.
PokerFaceApp - Class in com.bytelightning.opensource.pokerface
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.
PokerFaceApp() - Constructor for class com.bytelightning.opensource.pokerface.PokerFaceApp
 
PokerFaceKeyManager - Class in com.bytelightning.opensource.pokerface
Semi-delegating X509ExtendedKeyManager which always returns it's own 'server' alias, but delegates all other calls.
PokerFaceKeyManager(String, X509ExtendedKeyManager) - Constructor for class com.bytelightning.opensource.pokerface.PokerFaceKeyManager
Primary constructor
process(HttpResponse, HttpContext) - Method in class com.bytelightning.opensource.pokerface.ResponseDateInterceptor
Add a date header and possibly rewrite the 'Expires' header (see class documentation).
processRequest(HttpRequest, HttpContext) - Method in class com.bytelightning.opensource.pokerface.RequestHandler
Main entry point of a client request into this server.
produceContent(ContentEncoder, IOControl) - Method in class com.bytelightning.opensource.pokerface.BufferContentProducer
This method is only called if the response has content (which is typically the case).
produceContent(ContentEncoder, IOControl) - Method in class com.bytelightning.opensource.pokerface.NJavascriptFunctionEntity
 
produceContent(ContentEncoder, IOControl) - Method in class com.bytelightning.opensource.pokerface.ResponseProducer
This method is only called if the response has content (which is typically the case).
produceContent(ContentEncoder, IOControl) - Method in class com.bytelightning.opensource.pokerface.TargetRequestProducer
This method is only called if the request has content (e.g.
producer - Variable in class com.bytelightning.opensource.pokerface.AbsClientRequestConsumer
 

R

requestCompleted(HttpContext) - Method in class com.bytelightning.opensource.pokerface.AbsClientRequestConsumer
Invoked once the request has been fully received by this server.
requestCompleted(HttpContext) - Method in class com.bytelightning.opensource.pokerface.TargetRequestProducer
 
RequestForFileConsumer - Class in com.bytelightning.opensource.pokerface
Specialization of AbsClientRequestConsumer to consume a client request for a local static file and which generates the ResponseProducer.
RequestForScriptConsumer - Class in com.bytelightning.opensource.pokerface
Specialization of AbsClientRequestConsumer to consume a client request that will be processed by a JavaScript endpoint.
RequestForTargetConsumer - Class in com.bytelightning.opensource.pokerface
Specialization of AbsClientRequestConsumer to consume a client request that will be forwarded to a remote Target.
RequestForTargetConsumer(HttpContext, HttpAsyncRequester, BasicNIOConnPool, Map<String, TargetDescriptor>, ConcurrentMap<String, HttpHost>, HttpRequest, BufferIOController, BufferIOController, ScriptObjectMirror) - Constructor for class com.bytelightning.opensource.pokerface.RequestForTargetConsumer
Primary constructor
RequestHandler - Class in com.bytelightning.opensource.pokerface
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.
RequestHandler(HttpAsyncRequester, BasicNIOConnPool, ObjectPool<ByteBuffer>, Path, Map<String, TargetDescriptor>, NavigableMap<String, ScriptObjectMirror>, ConcurrentMap<String, HttpHost>) - Constructor for class com.bytelightning.opensource.pokerface.RequestHandler
Primary constructor.
requestReceived(HttpRequest) - Method in class com.bytelightning.opensource.pokerface.RequestForFileConsumer
Once we have fully received the request from the client, generate a response and tell the ResponseProducer about it.
requestReceived(HttpRequest) - Method in class com.bytelightning.opensource.pokerface.RequestForScriptConsumer
Since the RequestHandler already asked the endpoint to evaluate the request, *and* since the scripts don't currently perform async loading of request content, this method does nothing.
requestReceived(HttpRequest) - Method in class com.bytelightning.opensource.pokerface.RequestForTargetConsumer
Find a remote target that matches the requested uri, *or* return a 404 NOT_FOUND response if a mapping is not present.
resetRequest() - Method in class com.bytelightning.opensource.pokerface.TargetRequestProducer
Does nothing as this class is not repeatable because it is created solely for this transaction.
response - Variable in class com.bytelightning.opensource.pokerface.ResponseProducer
 
responseCompleted(HttpContext) - Method in class com.bytelightning.opensource.pokerface.ResponseProducer
 
responseCompleted(HttpContext) - Method in class com.bytelightning.opensource.pokerface.ScriptResponseProducer
Invoke the endpoint's responseCompleted function, and close out our ScriptHelper.
responseCompleted(HttpContext) - Method in class com.bytelightning.opensource.pokerface.TargetResponseConsumer
This method also lets the ResponseProducer know that we have received all the content from the remote Target.
ResponseDateInterceptor - Class in com.bytelightning.opensource.pokerface
Similar to org.apache.http.ResponseDate, this class adds the Date header to the outgoing responses.
ResponseDateInterceptor() - Constructor for class com.bytelightning.opensource.pokerface.ResponseDateInterceptor
 
ResponseProducer - Class in com.bytelightning.opensource.pokerface
Produce a response (back to the client) in response to the HttpRequest from the client.
ResponseProducer(String, HttpContext, HttpAsyncContentProducer) - Constructor for class com.bytelightning.opensource.pokerface.ResponseProducer
Primary constructor.
ResponseProducer(String, HttpContext, BufferIOController) - Constructor for class com.bytelightning.opensource.pokerface.ResponseProducer
Alternate constructor (content to be produced from the supplied IOControlled buffer.
ResponseProducer(String, HttpContext) - Constructor for class com.bytelightning.opensource.pokerface.ResponseProducer
Alternate constructor (content producer to be extracted later from the HttpResponse entity).
responseReceived(HttpResponse) - Method in class com.bytelightning.opensource.pokerface.TargetResponseConsumer
 
role - Variable in class com.bytelightning.opensource.pokerface.ResponseProducer
 

S

ScriptHelper - Interface in com.bytelightning.opensource.pokerface
Exposes a number of useful java based utilities to JavaScript endpoints.
ScriptHelperImpl - Class in com.bytelightning.opensource.pokerface
Implementation of ScriptHelper
ScriptHelperImpl(HttpRequest, HttpContext, ObjectPool<ByteBuffer>) - Constructor for class com.bytelightning.opensource.pokerface.ScriptHelperImpl
Primary constructor
ScriptLogger - Static variable in interface com.bytelightning.opensource.pokerface.ScriptHelper
 
ScriptResponseProducer - Class in com.bytelightning.opensource.pokerface
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.
ScriptResponseProducer(ScriptObjectMirror, HttpRequest, HttpContext, BufferIOController) - Constructor for class com.bytelightning.opensource.pokerface.ScriptResponseProducer
Primary constructor.
scripts - Variable in class com.bytelightning.opensource.pokerface.PokerFace
 
setException(Exception) - Method in class com.bytelightning.opensource.pokerface.ResponseProducer
Send back an appropriate response to the client.
setReadingIOControl(IOControl) - Method in class com.bytelightning.opensource.pokerface.BufferIOController
This flow control method notifies us of the IOControl that will be reading from our ByteBuffer.
setResponse(int, String) - Method in class com.bytelightning.opensource.pokerface.ResponseProducer
Send back the specified response to the client
setResponse(HttpResponse) - Method in class com.bytelightning.opensource.pokerface.ResponseProducer
Determines the HttpResponse that will be sent back to the requesting client.
setResponse(HttpResponse) - Method in class com.bytelightning.opensource.pokerface.ScriptResponseProducer
Determines the HttpResponse that will be sent back to the requesting client.
setTrigger(HttpAsyncExchange) - Method in class com.bytelightning.opensource.pokerface.ResponseProducer
Called from the RequestHandler.handle method this method keeps track of the supplied trigger.
setTrigger(HttpAsyncExchange) - Method in class com.bytelightning.opensource.pokerface.ScriptResponseProducer
Triggers the generateResponse method and begins responding to the client.
setupComplete() - Method in interface com.bytelightning.opensource.pokerface.SetupCompleteCallback
 
SetupCompleteCallback - Interface in com.bytelightning.opensource.pokerface
Invoked by script endpoints to let PokerFace know they have completed their setup process.
setupFailed(String) - Method in interface com.bytelightning.opensource.pokerface.SetupCompleteCallback
 
setWritingIOControl(IOControl) - Method in class com.bytelightning.opensource.pokerface.BufferIOController
This flow control method notifies us of the IOControl that will be writing to our ByteBuffer.
start() - Method in class com.bytelightning.opensource.pokerface.PokerFace
All user definable configuration has occurred, fire up the server.
stop() - Method in class com.bytelightning.opensource.pokerface.PokerFace
Shut it all down.

T

TargetBase - Class in com.bytelightning.opensource.pokerface
Simple base class to assist with common tasks for a proxy (such as header manipulation)
TargetBase() - Constructor for class com.bytelightning.opensource.pokerface.TargetBase
 
TargetDescriptor - Class in com.bytelightning.opensource.pokerface
This is a meta-data class to keep track of a remote Target for this proxy
TargetDescriptor(HttpHost, String, int) - Constructor for class com.bytelightning.opensource.pokerface.TargetDescriptor
Primary constructor.
TargetRequestProducer - Class in com.bytelightning.opensource.pokerface
This class forwards the request we received from a client on to a remote Target.
TargetRequestProducer(TargetDescriptor, HttpRequest, HttpContext, BufferIOController) - Constructor for class com.bytelightning.opensource.pokerface.TargetRequestProducer
Primary constructor
TargetResponseConsumer - Class in com.bytelightning.opensource.pokerface
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.
TargetResponseConsumer(ResponseProducer, BufferIOController, HttpContext, ScriptObjectMirror) - Constructor for class com.bytelightning.opensource.pokerface.TargetResponseConsumer
Primary constructor
trigger - Variable in class com.bytelightning.opensource.pokerface.ResponseProducer
 

U

UriToTargetKey(String, String[], String[], int[], String[], int[]) - Static method in class com.bytelightning.opensource.pokerface.RequestForTargetConsumer
 
UriToTargetKey(URI, String[], String[], int[], String[], int[]) - Static method in class com.bytelightning.opensource.pokerface.RequestForTargetConsumer
Break out a URI into it's component parts, and re-assemble them into a lowercase key representing the target.
Utils - Class in com.bytelightning.opensource.pokerface
Useful collection of Http related utility methods.
Utils() - Constructor for class com.bytelightning.opensource.pokerface.Utils
 

V

valueOf(String) - Static method in enum com.bytelightning.opensource.pokerface.DirectoryWatchEventListener.FileChangeType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.bytelightning.opensource.pokerface.DirectoryWatchEventListener.FileChangeType
Returns an array containing the constants of this enum type, in the order they are declared.
Version - Static variable in class com.bytelightning.opensource.pokerface.Utils
 
Via - Static variable in class com.bytelightning.opensource.pokerface.TargetBase
 

W

watcher - Variable in class com.bytelightning.opensource.pokerface.DirectoryWatchService
 
WrapObjWithHttpEntity(Object, ContentType) - Static method in class com.bytelightning.opensource.pokerface.Utils
Wrap a few classes of objects into an appropriate HttpEntity.
writeCompleted() - Method in class com.bytelightning.opensource.pokerface.BufferIOController
This flow control method notifies us that the 'writing' IOControl has finished writing data to our buffer.
writeTo(OutputStream) - Method in class com.bytelightning.opensource.pokerface.NJavascriptFunctionEntity
 

X

X509TrustAllManager - Class in com.bytelightning.opensource.pokerface
Simple X509TrustManager that is willing to trust anybody and everybody.
X509TrustAllManager() - Constructor for class com.bytelightning.opensource.pokerface.X509TrustAllManager
 
A B C D E F G H I K L M N O P R S T U V W X 
Skip navigation links

Copyright © 2015–2024 Frank Stock. All rights reserved.