Package | Description |
---|---|
org.esigate |
ESIGate is an open source implementation of Edge Side Include specification.
|
org.esigate.aggregator |
Provides aggregation functions.
|
org.esigate.esi | |
org.esigate.events.impl | |
org.esigate.extension.parallelesi | |
org.esigate.http |
Package contains resources related to retrieving data via HTTP protocol.
|
org.esigate.impl | |
org.esigate.parser | |
org.esigate.parser.future | |
org.esigate.tags | |
org.esigate.test | |
org.esigate.xml |
Modifier and Type | Method and Description |
---|---|
org.apache.http.client.methods.CloseableHttpResponse |
RequestExecutor.execute(OutgoingRequest outgoingRequest) |
static org.apache.http.client.methods.CloseableHttpResponse |
DriverFactory.proxy(IncomingRequest incomingRequest)
Selects the Driver instance for this request based on the mappings declared in the configuration and executes it
against the selected
Driver instance. |
org.apache.http.client.methods.CloseableHttpResponse |
Driver.proxy(String relUrl,
IncomingRequest incomingRequest,
Renderer... renderers)
Retrieves a resource from the provider application and transforms it using the Renderer passed as a parameter.
|
void |
Renderer.render(DriverRequest originalRequest,
String src,
Writer out)
Renders provided source and writes results to the output.
|
org.apache.http.client.methods.CloseableHttpResponse |
Driver.render(String pageUrl,
IncomingRequest incomingRequest,
Renderer... renderers)
Perform rendering on a single url content, and append result to "writer".
|
Modifier and Type | Method and Description |
---|---|
void |
AggregateRenderer.render(DriverRequest httpRequest,
String content,
Writer outWriter)
Renders provided source and writes results to the output.
|
Modifier and Type | Class and Description |
---|---|
class |
EsiSyntaxError
Exception thrown when there is a syntax error in ESI tags.
|
Modifier and Type | Method and Description |
---|---|
void |
EsiRenderer.render(DriverRequest originalRequest,
String content,
Writer outWriter) |
Modifier and Type | Method and Description |
---|---|
HttpErrorPage |
ProxyEvent.getErrorPage() |
Modifier and Type | Method and Description |
---|---|
void |
ProxyEvent.setErrorPage(HttpErrorPage errorPage) |
Modifier and Type | Method and Description |
---|---|
FutureAppendable |
EsiRenderer.performAppends() |
FutureAppendable |
EsiRenderer.performAppends(int timeout,
TimeUnit unit) |
void |
EsiRenderer.render(DriverRequest originalRequest,
String content,
Writer out) |
Modifier and Type | Method and Description |
---|---|
org.apache.http.client.methods.CloseableHttpResponse |
HttpClientRequestExecutor.execute(OutgoingRequest httpRequest)
Execute a HTTP request.
|
static String |
HttpResponseUtils.toString(org.apache.http.client.methods.CloseableHttpResponse response) |
static String |
HttpResponseUtils.toString(org.apache.http.HttpResponse httpResponse,
EventManager eventManager)
Returns the response body as a string or the reason phrase if body is empty.
|
Constructor and Description |
---|
DriverRequest(IncomingRequest request,
Driver driver,
String relUrl) |
Modifier and Type | Method and Description |
---|---|
void |
Element.onTagEnd(String tag,
ParserContext ctx)
Method called by the parser when it finds the matching closing tag.
|
void |
UnknownElement.onTagEnd(String tag,
ParserContext ctx) |
boolean |
Element.onTagStart(String tag,
ParserContext ctx)
Method called by the parser when it finds an opening tag.
|
boolean |
UnknownElement.onTagStart(String tag,
ParserContext ctx) |
void |
Parser.parse(CharSequence in,
Appendable out)
Parses all the CharSequence.
|
Modifier and Type | Method and Description |
---|---|
void |
FutureElement.onTagEnd(String tag,
FutureParserContext ctx)
Method called by the parser when it finds the matching closing tag.
|
void |
UnknownElement.onTagEnd(String tag,
FutureParserContext ctx) |
boolean |
FutureElement.onTagStart(String tag,
FutureParserContext ctx)
Method called by the parser when it finds an opening tag.
|
boolean |
UnknownElement.onTagStart(String tag,
FutureParserContext ctx) |
void |
FutureParser.parse(CharSequence in,
FutureAppendable out)
Parses all the CharSequence.
|
FutureAppendable |
FutureAppendable.performAppends()
Wait for all computation to complete and perform the pending append operations.
|
FutureAppendable |
StringBuilderFutureAppendable.performAppends() |
FutureAppendable |
FutureAppendableAdapter.performAppends() |
FutureAppendable |
FutureAppendable.performAppends(int timeout,
TimeUnit unit)
Wait for all computation to complete and perform the pending append operations.
|
FutureAppendable |
StringBuilderFutureAppendable.performAppends(int timeout,
TimeUnit unit) |
FutureAppendable |
FutureAppendableAdapter.performAppends(int timeout,
TimeUnit unit) |
Modifier and Type | Method and Description |
---|---|
void |
TemplateRenderer.render(DriverRequest httpRequest,
String content,
Writer pOut)
Renders provided source and writes results to the output.
|
void |
BlockRenderer.render(DriverRequest httpRequest,
String content,
Writer pOut)
Renders provided source and writes results to the output.
|
Modifier and Type | Method and Description |
---|---|
static DriverRequest |
TestUtils.createDriverRequest(Driver driver)
Creates a mock
DriverRequest . |
static DriverRequest |
TestUtils.createDriverRequest(String uri,
Driver driver)
Creates a mock
DriverRequest . |
static org.apache.http.client.methods.CloseableHttpResponse |
TestUtils.driverProxy(Driver d,
IncomingRequest request,
Renderer... renderers)
Execute
Driver.proxy(String, org.esigate.http.IncomingRequest, Renderer...) on an HttpRequest. |
Constructor and Description |
---|
XsltRenderer(String template,
Driver driver,
DriverRequest originalRequest) |
Copyright © 2008–2018. All rights reserved.