public class FragmentEvent extends Event
This event may trigger a fetch event in case of a cache miss. If the cache already contains a non stale version of the response, the fragment is retrieved from the cache.
In proxy mode, the first fragment is a complete page, and following fragments are complete and/or partial page according to ESI directives.
Constructor and Description |
---|
FragmentEvent(IncomingRequest originalRequest,
OutgoingRequest httpRequest,
OutgoingRequestContext httpContext) |
Modifier and Type | Method and Description |
---|---|
OutgoingRequestContext |
getHttpContext() |
OutgoingRequest |
getHttpRequest() |
org.apache.http.client.methods.CloseableHttpResponse |
getHttpResponse() |
IncomingRequest |
getOriginalRequest() |
void |
setHttpResponse(org.apache.http.client.methods.CloseableHttpResponse httpResponse) |
String |
toString() |
public FragmentEvent(IncomingRequest originalRequest, OutgoingRequest httpRequest, OutgoingRequestContext httpContext)
public org.apache.http.client.methods.CloseableHttpResponse getHttpResponse()
public void setHttpResponse(org.apache.http.client.methods.CloseableHttpResponse httpResponse)
public OutgoingRequestContext getHttpContext()
public OutgoingRequest getHttpRequest()
public IncomingRequest getOriginalRequest()
Copyright © 2008–2018. All rights reserved.