org.apache.hc.core5.http.impl.routing

## Class PathRoute<T,H>

- java.lang.Object
- - org.apache.hc.core5.http.impl.routing.PathRoute<T,H>

-     @Internal
      public final class PathRoute<T,H>
      extends Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `H` | `handler`
    `T` | `pattern`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `PathRoute(T pattern, H handler)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object o)`
    `int` | `hashCode()`
    `String` | `toString()`

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

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### pattern

          public final T pattern

    - #### handler

          public final H handler

  - ### Constructor Detail

    - #### PathRoute

          public PathRoute(T pattern,
                           H handler)

  - ### Method Detail

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.