org.red5.server.net.rtsp
Class Handler

java.lang.Object
  extended by java.net.URLStreamHandler
      extended by org.red5.server.net.rtsp.Handler

public class Handler
extends URLStreamHandler

Register the "rtsp://" scheme as a valid protocol.


Field Summary
static int DEFAULT_RTSP_PORT
           
 
Constructor Summary
Handler()
           
 
Method Summary
protected  int getDefaultPort()
           
protected  URLConnection openConnection(URL url)
           
 
Methods inherited from class java.net.URLStreamHandler
equals, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_RTSP_PORT

public static final int DEFAULT_RTSP_PORT
See Also:
Constant Field Values
Constructor Detail

Handler

public Handler()
Method Detail

openConnection

protected URLConnection openConnection(URL url)
                                throws IOException
Specified by:
openConnection in class URLStreamHandler
Throws:
IOException

getDefaultPort

protected int getDefaultPort()
Overrides:
getDefaultPort in class URLStreamHandler
Returns:
the default RTSP port


Copyright © 2006-2009 The Red5 Project