org.apache.jmeter.protocol.http.parser
Class URLString
java.lang.Object
org.apache.jmeter.protocol.http.parser.URLString
- All Implemented Interfaces:
- java.lang.Comparable
public class URLString
- extends java.lang.Object
- implements java.lang.Comparable
Helper class to allow URLs to be stored in Collections without incurring the
cost of the hostname lookup performed by the URL methods equals() and
hashCode() URL is a final class, so cannot be extended ...
- Version:
- $Revision: 768439 $
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
URLString
public URLString(java.net.URL u)
URLString
public URLString(java.lang.String s)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getURL
public java.net.URL getURL()
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo
in interface java.lang.Comparable
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 1998-2009 Apache Software Foundation. All Rights Reserved.