public class ContentOracle
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static ContentOracle |
theInstance |
Constructor and Description |
---|
ContentOracle() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
demultiplex(Request connRequest,
Response connResponse)
the main function of the oracle, is to demux the request and produce an
output that is relative to the request.
|
ContentOracle |
getDelegatedOracle(Request serviceRequest) |
static ContentOracle |
Instance()
pertains to the singleton DESIGN PATTERN
|
protected static ContentOracle theInstance
public static ContentOracle Instance()
public java.lang.String demultiplex(Request connRequest, Response connResponse)
connRequest
- connResponse
- public ContentOracle getDelegatedOracle(Request serviceRequest)