类 SendFileHelper
java.lang.Object
cool.scx.mvc._hack.StaticHandlerImpl
cool.scx.mvc._hack.SendFileHelper
- 所有已实现的接口:
io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>,io.vertx.ext.web.handler.StaticHandler
-
字段概要
字段从接口继承的字段 io.vertx.ext.web.handler.StaticHandler
DEFAULT_ALWAYS_ASYNC_FS, DEFAULT_CACHE_ENTRY_TIMEOUT, DEFAULT_CACHING_ENABLED, DEFAULT_DIRECTORY_LISTING, DEFAULT_DIRECTORY_TEMPLATE, DEFAULT_ENABLE_FS_TUNING, DEFAULT_FILES_READ_ONLY, DEFAULT_INCLUDE_HIDDEN, DEFAULT_INDEX_PAGE, DEFAULT_MAX_AGE_SECONDS, DEFAULT_MAX_AVG_SERVE_TIME_NS, DEFAULT_MAX_CACHE_SIZE, DEFAULT_RANGE_SUPPORT, DEFAULT_ROOT_FILESYSTEM_ACCESS, DEFAULT_SEND_VARY_HEADER, DEFAULT_WEB_ROOT -
方法概要
修饰符和类型方法说明voidsendStatic(io.vertx.ext.web.RoutingContext context, io.vertx.core.file.FileSystem fileSystem, String path, boolean index) Can be called recursive for index pages从类继承的方法 cool.scx.mvc._hack.StaticHandlerImpl
handle, setAllowRootFileSystemAccess, setAlwaysAsyncFS, setCacheEntryTimeout, setCachingEnabled, setDefaultContentEncoding, setDirectoryListing, setDirectoryTemplate, setEnableFSTuning, setEnableRangeSupport, setFilesReadOnly, setHttp2PushMapping, setIncludeHidden, setIndexPage, setMaxAgeSeconds, setMaxAvgServeTimeNs, setMaxCacheSize, setSendVaryHeader, setWebRoot, skipCompressionForMediaTypes, skipCompressionForSuffixes
-
字段详细资料
-
SEND_FILE_HELPER
-
-
方法详细资料
-
getFile
- 覆盖:
getFile在类中StaticHandlerImpl
-
sendStatic
public void sendStatic(io.vertx.ext.web.RoutingContext context, io.vertx.core.file.FileSystem fileSystem, String path, boolean index) 从类复制的说明:StaticHandlerImplCan be called recursive for index pages- 覆盖:
sendStatic在类中StaticHandlerImpl
-