|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectm.c.m.proxyma.rewrite.URLUtils
public class URLUtils
This class is a collection some useful function for the URL management
NOTE: this software is released under GPL License. See the LICENSE of this distribution for more informations.
| Constructor Summary | |
|---|---|
URLUtils()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getDestinationHost(java.net.URL theUrl)
Translates the URL into a new URL countaining only the protocol,the host and the port. |
protected static int |
getPort(java.net.URL theUrl)
Returns always the "real" port for the passed URL. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public URLUtils()
| Method Detail |
|---|
public static java.lang.String getDestinationHost(java.net.URL theUrl)
theUrl -
protected static int getPort(java.net.URL theUrl)
theUrl - to check
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||