public class ADBAwareHttpHandler
extends org.glassfish.grizzly.http.server.StaticHttpHandler
StaticHttpHandler
, which additionally can check registered
AlternateDocBase
s to serve requested resources.Constructor and Description |
---|
ADBAwareHttpHandler() |
Modifier and Type | Method and Description |
---|---|
void |
addAlternateDocBase(String urlPattern,
String docBase)
Add
AlternateDocBase to be checked for requested resources. |
protected boolean |
handle(String uri,
org.glassfish.grizzly.http.server.Request request,
org.glassfish.grizzly.http.server.Response response) |
addDocRoot, addDocRoot, getDefaultDocRoot, getDocRoots, isDirectorySlashOff, removeDocRoot, setDirectorySlashOff
addCachingHeaders, addToFileCache, getRelativeURI, isFileCacheEnabled, lookupFileCache, onMissingResource, pickupContentType, sendFile, service, setFileCacheEnabled
destroy, getErrorPageGenerator, getName, getRequestExecutorProvider, getRequestURIEncoding, getSessionCookieName, getSessionManager, isAllowCustomStatusMessage, isAllowEncodedSlash, sendAcknowledgment, setAllowCustomStatusMessage, setAllowEncodedSlash, setDecodeUrl, setDispatcherHelper, setRequestURIEncoding, setRequestURIEncoding, start, updatePaths
Copyright © 2019. All rights reserved.