Top Fields Constructors Methods
org.keycloak.common.util

public abstract Class PathMatcher<P>

extends Object
Class Inheritance
Imports
java.util.Arrays, .Collection

Author
Pedro Igor

Field Summary

Modifier and TypeField and Description
private static final char

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected String
buildUriFromTemplate(String template, String targetUri, boolean onlyFirstParam)

public boolean
endsWithWildcard(String expectedUri)

private boolean
exactMatch(String expectedUri, String targetUri)

protected abstract String
getPath(P entry)

protected abstract Collection<P>
private boolean
public P
matches(final String targetUri)

protected P
resolvePathConfig(P entry, String path)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

WILDCARDback to summary
private static final char WILDCARD

Constructor Detail

PathMatcherback to summary
public PathMatcher()

Method Detail

buildUriFromTemplateback to summary
protected String buildUriFromTemplate(String template, String targetUri, boolean onlyFirstParam)
endsWithWildcardback to summary
public boolean endsWithWildcard(String expectedUri)
exactMatchback to summary
private boolean exactMatch(String expectedUri, String targetUri)
getPathback to summary
protected abstract String getPath(P entry)
getPathsback to summary
protected abstract Collection<P> getPaths()
isTemplateback to summary
private boolean isTemplate(String uri)
matchesback to summary
public P matches(final String targetUri)
resolvePathConfigback to summary
protected P resolvePathConfig(P entry, String path)