public class ContainerMapper extends ADBAwareHttpHandler
ByteBuffer bytes representation to an HttpHandler, ApplicationContainer and ProtocolFilter chain. The mapping result is stored inside MappingData which
is eventually shared with the CoyoteAdapter, which is the entry point with the Catalina Servlet Container.| Modifier and Type | Field and Description |
|---|---|
protected static org.glassfish.grizzly.http.Note<org.glassfish.grizzly.http.server.util.MappingData> |
MAPPING_DATA |
| Constructor and Description |
|---|
ContainerMapper(GrizzlyService service,
GrizzlyListener grizzlyListener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureMapper()
Configure the
ContextMapper. |
void |
register(Endpoint endpoint) |
void |
register(String contextRoot,
Collection<String> vs,
org.glassfish.grizzly.http.server.HttpHandler httpService,
ApplicationContainer container) |
void |
service(org.glassfish.grizzly.http.server.Request request,
org.glassfish.grizzly.http.server.Response response)
Map the request to its associated
Adapter. |
protected void |
setDefaultHost(String defaultHost)
Set the default host that will be used when we map.
|
protected void |
setMapper(ContextMapper mapper)
Set the
ContextMapper instance used for mapping the container and its associated Adapter. |
void |
unregister(Endpoint endpoint) |
void |
unregister(String contextRoot) |
addAlternateDocBase, handleaddDocRoot, addDocRoot, getDefaultDocRoot, getDocRoots, isDirectorySlashOff, removeDocRoot, setDirectorySlashOffaddCachingHeaders, addToFileCache, getRelativeURI, isFileCacheEnabled, lookupFileCache, onMissingResource, pickupContentType, sendFile, setFileCacheEnableddestroy, getErrorPageGenerator, getName, getRequestExecutorProvider, getRequestURIEncoding, getSessionCookieName, getSessionManager, isAllowCustomStatusMessage, isAllowEncodedSlash, sendAcknowledgment, setAllowCustomStatusMessage, setAllowEncodedSlash, setDecodeUrl, setDispatcherHelper, setRequestURIEncoding, setRequestURIEncoding, start, updatePathsprotected static final org.glassfish.grizzly.http.Note<org.glassfish.grizzly.http.server.util.MappingData> MAPPING_DATA
public ContainerMapper(GrizzlyService service, GrizzlyListener grizzlyListener)
protected void setDefaultHost(String defaultHost)
defaultHost - protected void setMapper(ContextMapper mapper)
ContextMapper instance used for mapping the container and its associated Adapter.mapper - protected void configureMapper()
ContextMapper.public void service(org.glassfish.grizzly.http.server.Request request,
org.glassfish.grizzly.http.server.Response response)
throws Exception
Adapter.service in class org.glassfish.grizzly.http.server.StaticHttpHandlerBaserequest - response - IOExceptionExceptionpublic void register(String contextRoot, Collection<String> vs, org.glassfish.grizzly.http.server.HttpHandler httpService, ApplicationContainer container)
public void unregister(String contextRoot)
public void register(Endpoint endpoint)
public void unregister(Endpoint endpoint)
Copyright © 2019. All rights reserved.