|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.util.SimpleURLCanonicalizer
public final class SimpleURLCanonicalizer
This class performs simple canonicalization of a URL as follows:
Method Summary | |
---|---|
static String |
canonicalize(String url)
Canonicalize the supplied URL. |
static void |
deregisterSchemePortMapping(String scheme)
Deregister a scheme-to-port mapping. |
static Integer |
getRegisteredPort(String scheme)
Obtain the default port registered for a scheme. |
static void |
registerSchemePortMapping(String scheme,
Integer port)
Register a new scheme-to-port mapping. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void registerSchemePortMapping(String scheme, Integer port)
scheme
- the scheme to registerport
- the default port for that schemepublic static void deregisterSchemePortMapping(String scheme)
scheme
- the scheme to deregisterpublic static Integer getRegisteredPort(String scheme)
scheme
- the scheme to look up
public static String canonicalize(String url)
url
- the URL to canonicalize
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |