Package org.spincast.quickstart.exchange
Class AppRequestContextDefault
java.lang.Object
org.spincast.core.exchange.RequestContextBase<AppRequestContext>
org.spincast.quickstart.exchange.AppRequestContextDefault
- All Implemented Interfaces:
RequestContext<AppRequestContext>
,AppRequestContext
public class AppRequestContextDefault
extends RequestContextBase<AppRequestContext>
implements AppRequestContext
Implementation of our custom Request Context type.
-
Field Summary
Fields inherited from class org.spincast.core.exchange.RequestContextBase
logger
-
Constructor Summary
ConstructorDescriptionAppRequestContextDefault
(Object exchange, RequestContextBaseDeps<AppRequestContext> requestContextBaseDeps, HttpClient httpClient) -
Method Summary
Modifier and TypeMethodDescriptionAdd-on to access the HttpClient factoryMethods inherited from class org.spincast.core.exchange.RequestContextBase
cacheHeaders, exchange, get, get, getCacheHeadersRequestContextAddonProvider, getInstanceFromGuiceCache, getJsonManager, getLocaleResolver, getLocaleToUse, getRequestRequestContextAddonProvider, getResponseRequestContextAddonProvider, getRoutingRequestContextAddonProvider, getTemplatingRequestContextAddonProvider, getTimeZoneResolver, getTimeZoneToUse, getVariablesRequestContextAddonProvider, getXmlManager, guice, json, request, response, routing, templating, toString, variables, xml
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.spincast.core.exchange.RequestContext
cacheHeaders, exchange, get, get, getLocaleToUse, getTimeZoneToUse, guice, json, request, response, routing, templating, variables, xml
-
Constructor Details
-
AppRequestContextDefault
public AppRequestContextDefault(Object exchange, RequestContextBaseDeps<AppRequestContext> requestContextBaseDeps, HttpClient httpClient)
-
-
Method Details
-
httpClient
Description copied from interface:AppRequestContext
Add-on to access the HttpClient factory- Specified by:
httpClient
in interfaceAppRequestContext
-