org.teleal.cling.transport.impl.apache
Class HttpServerConnectionUpnpStream

java.lang.Object
  extended by org.teleal.cling.transport.spi.UpnpStream
      extended by org.teleal.cling.transport.impl.apache.HttpServerConnectionUpnpStream
All Implemented Interfaces:
Runnable

public class HttpServerConnectionUpnpStream
extends UpnpStream


Nested Class Summary
protected  class HttpServerConnectionUpnpStream.UpnpHttpService
          A thread-safe custom service implementation that creates a UPnP message from the request, then passes it to UpnpStream#process(), finally sends the response back to the client.
 
Field Summary
protected  org.apache.http.HttpServerConnection connection
           
protected  org.apache.http.protocol.BasicHttpProcessor httpProcessor
           
protected  org.apache.http.protocol.HttpService httpService
           
protected  org.apache.http.params.HttpParams params
           
 
Fields inherited from class org.teleal.cling.transport.spi.UpnpStream
protocolFactory, syncProtocol
 
Constructor Summary
protected HttpServerConnectionUpnpStream(ProtocolFactory protocolFactory, org.apache.http.HttpServerConnection connection, org.apache.http.params.HttpParams params)
           
 
Method Summary
 void execute()
           
 org.apache.http.HttpServerConnection getConnection()
           
 
Methods inherited from class org.teleal.cling.transport.spi.UpnpStream
getProtocolFactory, process, responseException, responseSent, run, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

connection

protected final org.apache.http.HttpServerConnection connection

httpProcessor

protected final org.apache.http.protocol.BasicHttpProcessor httpProcessor

httpService

protected final org.apache.http.protocol.HttpService httpService

params

protected final org.apache.http.params.HttpParams params
Constructor Detail

HttpServerConnectionUpnpStream

protected HttpServerConnectionUpnpStream(ProtocolFactory protocolFactory,
                                         org.apache.http.HttpServerConnection connection,
                                         org.apache.http.params.HttpParams params)
Method Detail

getConnection

public org.apache.http.HttpServerConnection getConnection()

execute

public void execute()
Specified by:
execute in class UpnpStream


Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.