|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensaml.common.binding.decoding.BasicURLComparator
public class BasicURLComparator
A basic implementation of URIComparator that compares
URL's by canonicalizing them as per SimpleURLCanonicalizer,
and then compares the resulting string representations for equality
using String equals(). If {link isCaseInsensitive() is true,
then the equality test is instead performed using String equalsIgnoreCase().
| Constructor Summary | |
|---|---|
BasicURLComparator()
|
|
| Method Summary | |
|---|---|
boolean |
compare(java.lang.String uri1,
java.lang.String uri2)
Compare two URI's (represented as strings) for equivalence. |
boolean |
isCaseInsensitive()
Get the case-insensitivity flag value. |
void |
setCaseInsensitive(boolean flag)
Set the case-insensitivity flag value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicURLComparator()
| Method Detail |
|---|
public boolean isCaseInsensitive()
public void setCaseInsensitive(boolean flag)
flag - The caseInsensitive to set.
public boolean compare(java.lang.String uri1,
java.lang.String uri2)
compare in interface URIComparatoruri1 - first URI to compareuri2 - second URI to compare
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||