Uses of Class
io.vertx.reactivex.ext.web.handler.StaticHandler
Packages that use StaticHandler
-
Uses of StaticHandler in io.vertx.reactivex.ext.web.handler
Fields in io.vertx.reactivex.ext.web.handler with type parameters of type StaticHandlerModifier and TypeFieldDescriptionstatic final io.vertx.lang.rx.TypeArg<StaticHandler> StaticHandler.__TYPE_ARGMethods in io.vertx.reactivex.ext.web.handler that return StaticHandlerModifier and TypeMethodDescriptionstatic StaticHandlerStaticHandler.create()Create a handler using defaultsstatic StaticHandlerStaticHandler.create(FileSystemAccess handlerVisibility, String root) Create a handler, specifying web-root and access option: absolute path or relativestatic StaticHandlerCreate a handler, specifying web-rootstatic StaticHandlerStaticHandler.newInstance(StaticHandler arg) StaticHandler.setAlwaysAsyncFS(boolean alwaysAsyncFS) Set whether async filesystem access should always be usedStaticHandler.setCacheEntryTimeout(long timeout) Set the server cache entry timeout when caching is enabledStaticHandler.setCachingEnabled(boolean enabled) Set whether cache header handling is enabledStaticHandler.setDefaultContentEncoding(String contentEncoding) Set the default content encoding for text related files.StaticHandler.setDirectoryListing(boolean directoryListing) Set whether directory listing is enabledStaticHandler.setDirectoryTemplate(String directoryTemplate) Set the directory template to be used when directory listingStaticHandler.setEnableFSTuning(boolean enableFSTuning) Set whether async/sync filesystem tuning should enabledStaticHandler.setEnableRangeSupport(boolean enableRangeSupport) Set whether range requests (resumable downloads; media streaming) should be enabled.StaticHandler.setFilesReadOnly(boolean readOnly) Set whether files are read-only and will never changeStaticHandler.setHttp2PushMapping(List<Http2PushMapping> http2PushMappings) Set the file mapping for http2push and link preloadStaticHandler.setIncludeHidden(boolean includeHidden) Set whether hidden files should be servedStaticHandler.setIndexPage(String indexPage) Set the index pageStaticHandler.setMaxAgeSeconds(long maxAgeSeconds) Set value for max age in caching headersStaticHandler.setMaxAvgServeTimeNs(long maxAvgServeTimeNanoSeconds) Set the max serve time in ns, above which serves are considered slowStaticHandler.setMaxCacheSize(int maxCacheSize) Set the max cache size, when caching is enabledStaticHandler.setSendVaryHeader(boolean varyHeader) Set whether vary header should be sent with response.StaticHandler.skipCompressionForMediaTypes(Set<String> mediaTypes) Skip compression if the media type of the file to send is in the providedmediaTypesset.StaticHandler.skipCompressionForSuffixes(Set<String> fileSuffixes) Skip compression if the suffix of the file to send is in the providedfileSuffixesset.