com.sun.faban.driver.transport.sunhttp
Class URLStreamHandlerFactory

java.lang.Object
  extended by com.sun.faban.driver.transport.sunhttp.URLStreamHandlerFactory
All Implemented Interfaces:
URLStreamHandlerFactory

public class URLStreamHandlerFactory
extends Object
implements URLStreamHandlerFactory

The Faban URLStreamHandlerFactory creates Faban's HttpURLConnection.

Author:
Scott Oaks

Constructor Summary
URLStreamHandlerFactory()
          Construct a URLStreamHandlerFactory.
 
Method Summary
 URLStreamHandler createURLStreamHandler(String protocol)
          Creates a URL stream handler for a given protocol.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLStreamHandlerFactory

public URLStreamHandlerFactory()
Construct a URLStreamHandlerFactory.

Method Detail

createURLStreamHandler

public URLStreamHandler createURLStreamHandler(String protocol)
Creates a URL stream handler for a given protocol.

Specified by:
createURLStreamHandler in interface URLStreamHandlerFactory
Parameters:
protocol - The protocol
Returns:
The URL stream handler
See Also:
URLStreamHandlerFactory.createURLStreamHandler(java.lang.String)