org.apache.jmeter.protocol.http.parser

Class URLString

Implemented Interfaces:
Comparable

public class URLString
extends Object
implements 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 $

Constructor Summary

URLString(String s)
URLString(URL u)

Method Summary

int
compareTo(Object o)
boolean
equals(Object o)
URL
getURL()
int
hashCode()
String
toString()

Constructor Details

URLString

public URLString(String s)

URLString

public URLString(URL u)

Method Details

compareTo

public int compareTo(Object o)

equals

public boolean equals(Object o)

getURL

public URL getURL()

hashCode

public int hashCode()

toString

public String toString()

Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.