fi.hut.tml.xsmiles.protocol.sip
Class SipUrlConnection

java.lang.Object
  extended byjava.net.URLConnection
      extended byfi.hut.tml.xsmiles.protocol.sip.SipUrlConnection

public class SipUrlConnection
extends java.net.URLConnection

Creates a new URL connection to handle the sip urls. In practice it feeds the browser a new xml document that opens the SIP MLFC with the necessary parameters.

Author:
ssundell

Field Summary
 
Fields inherited from class java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
 
Constructor Summary
SipUrlConnection(java.net.URL url)
           
 
Method Summary
 void connect()
           
 java.lang.String getContentType()
           
 java.io.InputStream getInputStream()
           
 
Methods inherited from class java.net.URLConnection
addRequestProperty, getAllowUserInteraction, getContent, getContent, getContentEncoding, getContentLength, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFields, getIfModifiedSince, getLastModified, getOutputStream, getPermission, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setRequestProperty, setUseCaches, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SipUrlConnection

public SipUrlConnection(java.net.URL url)
Parameters:
url - The sip URL that invokes the creation of the new UrlConnection class. No checks as of yet.
Method Detail

connect

public void connect()
             throws java.io.IOException
Throws:
java.io.IOException

getContentType

public java.lang.String getContentType()

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Throws:
java.io.IOException


X-Smiles 1.2