org.fourthline.cling.transport.impl
Class HttpExchangeUpnpStream

java.lang.Object
  extended by org.fourthline.cling.transport.spi.UpnpStream
      extended by org.fourthline.cling.transport.impl.HttpExchangeUpnpStream
All Implemented Interfaces:
Runnable

public abstract class HttpExchangeUpnpStream
extends UpnpStream

Default implementation based on the JDK 6.0 built-in HTTP Server.

Instantiated by a com.sun.net.httpserver.HttpHandler.

Author:
Christian Bauer

Field Summary
 
Fields inherited from class org.fourthline.cling.transport.spi.UpnpStream
protocolFactory, syncProtocol
 
Constructor Summary
HttpExchangeUpnpStream(ProtocolFactory protocolFactory, com.sun.net.httpserver.HttpExchange httpExchange)
           
 
Method Summary
protected abstract  Connection createConnection()
           
 com.sun.net.httpserver.HttpExchange getHttpExchange()
           
 void run()
           
 
Methods inherited from class org.fourthline.cling.transport.spi.UpnpStream
getProtocolFactory, process, responseException, responseSent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HttpExchangeUpnpStream

public HttpExchangeUpnpStream(ProtocolFactory protocolFactory,
                              com.sun.net.httpserver.HttpExchange httpExchange)
Method Detail

getHttpExchange

public com.sun.net.httpserver.HttpExchange getHttpExchange()

run

public void run()

createConnection

protected abstract Connection createConnection()


Copyright © 2013 4th Line GmbH, Switzerland. All Rights Reserved.