org.wildfly.swarm.config.undertow

## Class HandlerConfiguration<T extends HandlerConfiguration<T>>

- java.lang.Object
- - org.wildfly.swarm.config.undertow.HandlerConfiguration<T>

-     public class HandlerConfiguration<T extends HandlerConfiguration<T>>
      extends Object

  Undertow handlers

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `HandlerConfiguration.HandlerConfigurationResources` Child mutators for HandlerConfiguration

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `HandlerConfiguration()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addPropertyChangeListener(PropertyChangeListener listener)` Adds a property change listener
    `T` | `file(File value)` Add the File object to the list of subresources
    `T` | `file(FileSupplier supplier)` Install a supplied File object to the list of subresources
    `T` | `file(String childKey)` Create and configure a File object to the list of subresources
    `T` | `file(String childKey, FileConsumer consumer)` Create and configure a File object to the list of subresources
    `T` | `files(List<File> value)` Add all File objects to this subresource
    `String` | `getKey()`
    `void` | `removePropertyChangeListener(PropertyChangeListener listener)` Removes a property change listener
    `T` | `reverseProxies(List<ReverseProxy> value)` Add all ReverseProxy objects to this subresource
    `T` | `reverseProxy(ReverseProxy value)` Add the ReverseProxy object to the list of subresources
    `T` | `reverseProxy(ReverseProxySupplier supplier)` Install a supplied ReverseProxy object to the list of subresources
    `T` | `reverseProxy(String childKey)` Create and configure a ReverseProxy object to the list of subresources
    `T` | `reverseProxy(String childKey, ReverseProxyConsumer consumer)` Create and configure a ReverseProxy object to the list of subresources
    `HandlerConfiguration.HandlerConfigurationResources` | `subresources()`

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

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### HandlerConfiguration

          public HandlerConfiguration()

  - ### 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

    - #### subresources

          public HandlerConfiguration.HandlerConfigurationResources subresources()

    - #### reverseProxies

          public T reverseProxies(List<ReverseProxy> value)

      Add all ReverseProxy objects to this subresource
      Parameters:
        `value` - List of ReverseProxy objects.
      Returns:
        this

    - #### reverseProxy

          public T reverseProxy(ReverseProxy value)

      Add the ReverseProxy object to the list of subresources
      Parameters:
        `value` - The ReverseProxy to add
      Returns:
        this

    - #### reverseProxy

          public T reverseProxy(String childKey,
                                ReverseProxyConsumer consumer)

      Create and configure a ReverseProxy object to the list of subresources
      Parameters:
        `key` - The key for the ReverseProxy resource
        `config` - The ReverseProxyConsumer to use
      Returns:
        this

    - #### reverseProxy

          public T reverseProxy(String childKey)

      Create and configure a ReverseProxy object to the list of subresources
      Parameters:
        `key` - The key for the ReverseProxy resource
      Returns:
        this

    - #### reverseProxy

          public T reverseProxy(ReverseProxySupplier supplier)

      Install a supplied ReverseProxy object to the list of subresources

    - #### files

          public T files(List<File> value)

      Add all File objects to this subresource
      Parameters:
        `value` - List of File objects.
      Returns:
        this

    - #### file

          public T file(File value)

      Add the File object to the list of subresources
      Parameters:
        `value` - The File to add
      Returns:
        this

    - #### file

          public T file(String childKey,
                        FileConsumer consumer)

      Create and configure a File object to the list of subresources
      Parameters:
        `key` - The key for the File resource
        `config` - The FileConsumer to use
      Returns:
        this

    - #### file

          public T file(String childKey)

      Create and configure a File object to the list of subresources
      Parameters:
        `key` - The key for the File resource
      Returns:
        this

    - #### file

          public T file(FileSupplier supplier)

      Install a supplied File object to the list of subresources

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