Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

    java.lang.Object
      org.teleal.cling.transport.spi.UpnpStream
          org.teleal.cling.transport.impl.apache.HttpServerConnectionUpnpStream

All Implemented Interfaces:
  Runnable

    public class HttpServerConnectionUpnpStream

extends UpnpStream

Implementation for Apache HTTP Components API.

Author:
  Christian Bauer

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
`org.apache.http.HttpServerConnection` | `getConnection()`
`void` | `run()`

Methods inherited from class org.teleal.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`

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()

### run

    public void run()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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