org.wildfly.swarm.config.webservices

## Class PreHandlerChain<T extends PreHandlerChain<T>>

- java.lang.Object
- - java.util.AbstractMap<K,V>
  - - java.util.HashMap
    - - org.wildfly.swarm.config.webservices.PreHandlerChain<T>

- All Implemented Interfaces:
    Serializable, Cloneable, Map

      public class PreHandlerChain<T extends PreHandlerChain<T>>
      extends HashMap

  Endpoint configuration PRE handler chain
  See Also:
    Serialized Form

- - ### Nested Class Summary

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

    - ### 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
    `PreHandlerChain(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
    `String` | `getKey()`
    `T` | `handler(Handler value)` Add the Handler object to the list of subresources
    `T` | `handler(HandlerSupplier supplier)` Install a supplied Handler object to the list of subresources
    `T` | `handler(String childKey)` Create and configure a Handler object to the list of subresources
    `T` | `handler(String childKey, HandlerConsumer consumer)` Create and configure a Handler object to the list of subresources
    `T` | `handlers(List<Handler> value)` Add all Handler objects to this subresource
    `String` | `protocolBindings()` Protocol binding
    `T` | `protocolBindings(String value)` Protocol binding
    `void` | `removePropertyChangeListener(PropertyChangeListener listener)` Removes a property change listener
    `PreHandlerChain.PreHandlerChainResources` | `subresources()`

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

    - #### PreHandlerChain

          public PreHandlerChain(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

    - #### subresources

          public PreHandlerChain.PreHandlerChainResources subresources()

    - #### handlers

          public T handlers(List<Handler> value)

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

    - #### handler

          public T handler(Handler value)

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

    - #### handler

          public T handler(String childKey,
                           HandlerConsumer consumer)

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

    - #### handler

          public T handler(String childKey)

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

    - #### handler

          public T handler(HandlerSupplier supplier)

      Install a supplied Handler object to the list of subresources

    - #### protocolBindings

          public String protocolBindings()

      Protocol binding

    - #### protocolBindings

          public T protocolBindings(String value)

      Protocol binding

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