A handler for serving static resources from the file system or classpath.
package |
Default |
---|
__construct()
create( $arg0 = null) : \io\vertx\jphp\ext\web\handler\StaticHandler
create()
Create a handler, specifying web-root
param $root [string] the web-root create($root)
string
\io\vertx\jphp\ext\web\handler\StaticHandler
the handler
handle( $arg0) : void
RoutingContext
setAllowRootFileSystemAccess( $arg0) : $this
boolean
$this
a reference to this, so the API can be used fluently
setAlwaysAsyncFS( $arg0) : $this
boolean
$this
a reference to this, so the API can be used fluently
setCacheEntryTimeout( $arg0) : $this
integer
$this
a reference to this, so the API can be used fluently
setCachingEnabled( $arg0) : $this
boolean
$this
a reference to this, so the API can be used fluently
setDefaultContentEncoding( $arg0) : $this
string
$this
a reference to this, so the API can be used fluently
setDirectoryListing( $arg0) : $this
boolean
$this
a reference to this, so the API can be used fluently
setDirectoryTemplate( $arg0) : $this
string
$this
a reference to this, so the API can be used fluently
setEnableFSTuning( $arg0) : $this
boolean
$this
a reference to this, so the API can be used fluently
setEnableRangeSupport( $arg0) : $this
boolean
$this
a reference to this, so the API can be used fluently
setFilesReadOnly( $arg0) : $this
boolean
$this
a reference to this, so the API can be used fluently
setHttp2PushMapping( $arg0) : $this
array
$this
a reference to this, so the API can be used fluently
setIncludeHidden( $arg0) : $this
boolean
$this
a reference to this, so the API can be used fluently
setIndexPage( $arg0) : $this
string
$this
a reference to this, so the API can be used fluently
setMaxAgeSeconds( $arg0) : $this
integer
$this
a reference to this, so the API can be used fluently
setMaxAvgServeTimeNs( $arg0) : $this
integer
$this
a reference to this, so the API can be used fluently
setMaxCacheSize( $arg0) : $this
integer
$this
a reference to this, so the API can be used fluently
setSendVaryHeader( $arg0) : $this
boolean
$this
a reference to this, so the API can be used fluently
setWebRoot( $arg0) : $this
string
$this
a reference to this, so the API can be used fluently
skipCompressionForMediaTypes( $arg0) : $this
Content-Encoding
header set to identity
for the types present in the mediaTypes
set
array
$this
a reference to this, so the API can be used fluently
skipCompressionForSuffixes( $arg0) : $this
Content-Encoding
header set to identity
for the suffixes present in the fileSuffixes
set
array
$this
a reference to this, so the API can be used fluently
DEFAULT_WEB_ROOT
var |
php文件只是为了写代码方便,常量的实际值请参考原java文件 |
---|
DEFAULT_FILES_READ_ONLY
var |
php文件只是为了写代码方便,常量的实际值请参考原java文件 |
---|
DEFAULT_MAX_AGE_SECONDS
var |
php文件只是为了写代码方便,常量的实际值请参考原java文件 |
---|
DEFAULT_CACHING_ENABLED
var |
php文件只是为了写代码方便,常量的实际值请参考原java文件 |
---|
DEFAULT_DIRECTORY_LISTING
var |
php文件只是为了写代码方便,常量的实际值请参考原java文件 |
---|
DEFAULT_DIRECTORY_TEMPLATE
var |
php文件只是为了写代码方便,常量的实际值请参考原java文件 |
---|
DEFAULT_INCLUDE_HIDDEN
var |
php文件只是为了写代码方便,常量的实际值请参考原java文件 |
---|
DEFAULT_CACHE_ENTRY_TIMEOUT
var |
php文件只是为了写代码方便,常量的实际值请参考原java文件 |
---|
DEFAULT_INDEX_PAGE
var |
php文件只是为了写代码方便,常量的实际值请参考原java文件 |
---|
DEFAULT_MAX_CACHE_SIZE
var |
php文件只是为了写代码方便,常量的实际值请参考原java文件 |
---|
DEFAULT_ALWAYS_ASYNC_FS
var |
php文件只是为了写代码方便,常量的实际值请参考原java文件 |
---|
DEFAULT_ENABLE_FS_TUNING
var |
php文件只是为了写代码方便,常量的实际值请参考原java文件 |
---|
DEFAULT_MAX_AVG_SERVE_TIME_NS
var |
php文件只是为了写代码方便,常量的实际值请参考原java文件 |
---|
DEFAULT_RANGE_SUPPORT
var |
php文件只是为了写代码方便,常量的实际值请参考原java文件 |
---|
DEFAULT_ROOT_FILESYSTEM_ACCESS
var |
php文件只是为了写代码方便,常量的实际值请参考原java文件 |
---|
DEFAULT_SEND_VARY_HEADER
var |
php文件只是为了写代码方便,常量的实际值请参考原java文件 |
---|