public class File extends Object
| Modifier and Type | Method and Description |
|---|---|
Long |
cacheBuffers()
Number of buffers
|
File |
cacheBuffers(Long value)
Number of buffers
|
Long |
cacheBufferSize()
Size of the buffers
|
File |
cacheBufferSize(Long value)
Size of the buffers
|
Boolean |
caseSensitive()
Use case sensitive file handling
|
File |
caseSensitive(Boolean value)
Use case sensitive file handling
|
Boolean |
directoryListing()
Enable directory listing?
|
File |
directoryListing(Boolean value)
Enable directory listing?
|
Boolean |
followSymlink()
Enable following symbolic links
|
File |
followSymlink(Boolean value)
Enable following symbolic links
|
String |
getKey() |
String |
path()
Path on filesystem from where file handler will serve resources
|
File |
path(String value)
Path on filesystem from where file handler will serve resources
|
List<String> |
safeSymlinkPaths()
Paths that are safe to be targets of symbolic links
|
File |
safeSymlinkPaths(List<String> value)
Paths that are safe to be targets of symbolic links
|
public File(String key)
public String getKey()
public Long cacheBufferSize()
public Long cacheBuffers()
public Boolean caseSensitive()
public Boolean directoryListing()
public Boolean followSymlink()
public String path()
public List<String> safeSymlinkPaths()
Copyright © 2015 JBoss by Red Hat. All rights reserved.