org.fourthline.cling.transport.impl

## Class HttpExchangeUpnpStream

- java.lang.Object
- - org.fourthline.cling.transport.spi.UpnpStream
  - - 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

    Constructors
    Constructor and Description
    `HttpExchangeUpnpStream(ProtocolFactory protocolFactory, com.sun.net.httpserver.HttpExchange httpExchange)`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `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 © 2015 4th Line GmbH, Switzerland. All rights reserved.