public class AppClientHTTPAdapter extends RestrictedContentAdapter
| Modifier and Type | Field and Description |
|---|---|
static String |
GF_JWS_SESSION_CACHED_JNLP_NAME |
static String |
GF_JWS_SESSION_IS_MAIN_PROCESSED_NAME |
DATE_HEADER_NAME, IF_MODIFIED_SINCE, LAST_MODIFIED_HEADER_NAME, logger| Constructor and Description |
|---|
AppClientHTTPAdapter(String contextRoot,
Map<String,StaticContent> staticContent,
Map<String,DynamicContent> dynamicContent,
Properties tokens,
File domainDir,
File installDir,
IiopService iiopService,
GlassFishORBFactory orbFactory) |
AppClientHTTPAdapter(String contextRoot,
Properties tokens,
File domainDir,
File installDir,
IiopService iiopService,
GlassFishORBFactory orbFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
addContentIfAbsent(Map<String,StaticContent> staticAdditions,
Map<String,DynamicContent> dynamicAdditions) |
static Boolean |
booleanAttr(Object attrValue)
Converts an Object to a Boolean.
|
protected String |
dumpContent(Map<String,DynamicContent> dc) |
static URI |
requestURI(org.glassfish.grizzly.http.server.Request gReq)
Prepares a full URI from the request.
|
void |
service(org.glassfish.grizzly.http.server.Request gReq,
org.glassfish.grizzly.http.server.Response gResp)
Responds to all requests routed to the context root with which this
adapter was registered to the RequestDispatcher.
|
addContentIfAbsent, addContentIfAbsent, contentStateToResponseStatus, contextRoot, dumpContent, finishErrorResponse, finishResponse, finishSuccessResponse, logPrefix, relativizeURIString, respondNotFound, resume, returnIfClientCacheIsCurrent, serviceContent, suspend, toStringdestroy, getErrorPageGenerator, getName, getRequestExecutorProvider, getRequestURIEncoding, getSessionCookieName, getSessionManager, isAllowCustomStatusMessage, isAllowEncodedSlash, sendAcknowledgment, setAllowCustomStatusMessage, setAllowEncodedSlash, setDecodeUrl, setDispatcherHelper, setRequestURIEncoding, setRequestURIEncoding, start, updatePathspublic static final String GF_JWS_SESSION_CACHED_JNLP_NAME
public static final String GF_JWS_SESSION_IS_MAIN_PROCESSED_NAME
public AppClientHTTPAdapter(String contextRoot, Properties tokens, File domainDir, File installDir, IiopService iiopService, GlassFishORBFactory orbFactory) throws IOException
IOExceptionpublic AppClientHTTPAdapter(String contextRoot, Map<String,StaticContent> staticContent, Map<String,DynamicContent> dynamicContent, Properties tokens, File domainDir, File installDir, IiopService iiopService, GlassFishORBFactory orbFactory) throws IOException
IOExceptionpublic static URI requestURI(org.glassfish.grizzly.http.server.Request gReq) throws URISyntaxException
gReq - the requestURISyntaxExceptionpublic void service(org.glassfish.grizzly.http.server.Request gReq,
org.glassfish.grizzly.http.server.Response gResp)
service in class RestrictedContentAdaptergReq - gResp - public void addContentIfAbsent(Map<String,StaticContent> staticAdditions, Map<String,DynamicContent> dynamicAdditions) throws IOException
IOExceptionpublic static Boolean booleanAttr(Object attrValue)
attrValue - Object (preferably a Boolean) to convertprotected String dumpContent(Map<String,DynamicContent> dc)
Copyright © 2019. All rights reserved.