org.wildfly.swarm.config.undertow.configuration

## Class File<T extends File<T>>

- java.lang.Object
- - java.util.AbstractMap<K,V>
  - - java.util.HashMap
    - - org.wildfly.swarm.config.undertow.configuration.File<T>

- All Implemented Interfaces:
    Serializable, Cloneable, Map

      public class File<T extends File<T>>
      extends HashMap

  File handler
  See Also:
    Serialized Form

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class java.util.AbstractMap

      `AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>`

    - ### Nested classes/interfaces inherited from interface java.util.Map

      `Map.Entry<K,V>`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `File(String key)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addPropertyChangeListener(PropertyChangeListener listener)` Adds a property change listener
    `Long` | `cacheBuffers()` Number of buffers
    `T` | `cacheBuffers(Long value)` Number of buffers
    `Long` | `cacheBufferSize()` Size of the buffers, in bytes.
    `T` | `cacheBufferSize(Long value)` Size of the buffers, in bytes.
    `Boolean` | `caseSensitive()` Use case sensitive file handling
    `T` | `caseSensitive(Boolean value)` Use case sensitive file handling
    `Boolean` | `directoryListing()` Enable directory listing?
    `T` | `directoryListing(Boolean value)` Enable directory listing?
    `Boolean` | `followSymlink()` Enable following symbolic links
    `T` | `followSymlink(Boolean value)` Enable following symbolic links
    `String` | `getKey()`
    `String` | `path()` Path on filesystem from where file handler will serve resources
    `T` | `path(String value)` Path on filesystem from where file handler will serve resources
    `void` | `removePropertyChangeListener(PropertyChangeListener listener)` Removes a property change listener
    `T` | `safeSymlinkPath(String value)` Paths that are safe to be targets of symbolic links
    `List<String>` | `safeSymlinkPaths()` Paths that are safe to be targets of symbolic links
    `T` | `safeSymlinkPaths(List<String> value)` Paths that are safe to be targets of symbolic links
    `T` | `safeSymlinkPaths(String... args)` Paths that are safe to be targets of symbolic links

    - ### Methods inherited from class java.util.HashMap

      `clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values`

    - ### Methods inherited from class java.util.AbstractMap

      `equals, hashCode, toString`

    - ### Methods inherited from class java.lang.Object

      `getClass, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface java.util.Map

      `equals, hashCode`

- - ### Constructor Detail

    - #### File

          public File(String key)

  - ### Method Detail

    - #### getKey

          public String getKey()

    - #### addPropertyChangeListener

          public void addPropertyChangeListener(PropertyChangeListener listener)

      Adds a property change listener

    - #### removePropertyChangeListener

          public void removePropertyChangeListener(PropertyChangeListener listener)

      Removes a property change listener

    - #### cacheBufferSize

          public Long cacheBufferSize()

      Size of the buffers, in bytes.

    - #### cacheBufferSize

          public T cacheBufferSize(Long value)

      Size of the buffers, in bytes.

    - #### cacheBuffers

          public Long cacheBuffers()

      Number of buffers

    - #### cacheBuffers

          public T cacheBuffers(Long value)

      Number of buffers

    - #### caseSensitive

          public Boolean caseSensitive()

      Use case sensitive file handling

    - #### caseSensitive

          public T caseSensitive(Boolean value)

      Use case sensitive file handling

    - #### directoryListing

          public Boolean directoryListing()

      Enable directory listing?

    - #### directoryListing

          public T directoryListing(Boolean value)

      Enable directory listing?

    - #### followSymlink

          public Boolean followSymlink()

      Enable following symbolic links

    - #### followSymlink

          public T followSymlink(Boolean value)

      Enable following symbolic links

    - #### path

          public String path()

      Path on filesystem from where file handler will serve resources

    - #### path

          public T path(String value)

      Path on filesystem from where file handler will serve resources

    - #### safeSymlinkPaths

          public List<String> safeSymlinkPaths()

      Paths that are safe to be targets of symbolic links

    - #### safeSymlinkPaths

          public T safeSymlinkPaths(List<String> value)

      Paths that are safe to be targets of symbolic links

    - #### safeSymlinkPath

          public T safeSymlinkPath(String value)

      Paths that are safe to be targets of symbolic links

    - #### safeSymlinkPaths

          public T safeSymlinkPaths(String... args)

      Paths that are safe to be targets of symbolic links

Copyright © 2018 JBoss by Red Hat. All rights reserved.