org.keycloak.common.util

## Class PathMatcher<P>

- java.lang.Object
- - org.keycloak.common.util.PathMatcher<P>

-     public abstract class PathMatcher<P>
      extends Object

  Author:
    Pedro Igor

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PathMatcher()`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected String` | `buildUriFromTemplate(String template, String targetUri, boolean onlyFirstParam)`
    `boolean` | `endsWithWildcard(String expectedUri)`
    `protected abstract String` | `getPath(P entry)`
    `protected abstract Collection<P>` | `getPaths()`
    `P` | `matches(String targetUri)`
    `protected P` | `resolvePathConfig(P entry, String path)`

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

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

- - ### Constructor Detail

    - #### PathMatcher

          public PathMatcher()

  - ### Method Detail

    - #### matches

          public P matches(String targetUri)

    - #### getPath

          protected abstract String getPath(P entry)

    - #### getPaths

          protected abstract Collection<P> getPaths()

    - #### buildUriFromTemplate

          protected String buildUriFromTemplate(String template,
                                                String targetUri,
                                                boolean onlyFirstParam)

    - #### endsWithWildcard

          public boolean endsWithWildcard(String expectedUri)

    - #### resolvePathConfig

          protected P resolvePathConfig(P entry,
                                        String path)

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