org.fourthline.cling.transport.impl

## Class StreamServerImpl.HttpServerConnection

- java.lang.Object
- - org.fourthline.cling.transport.impl.StreamServerImpl.HttpServerConnection

- All Implemented Interfaces:
    Connection
  Enclosing class:
    StreamServerImpl

      protected class StreamServerImpl.HttpServerConnection
      extends Object
      implements Connection

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected com.sun.net.httpserver.HttpExchange` | `exchange`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `StreamServerImpl.HttpServerConnection(com.sun.net.httpserver.HttpExchange exchange)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `InetAddress` | `getLocalAddress()`
    `InetAddress` | `getRemoteAddress()`
    `boolean` | `isOpen()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### exchange

          protected com.sun.net.httpserver.HttpExchange exchange

  - ### Constructor Detail

    - #### StreamServerImpl.HttpServerConnection

          public StreamServerImpl.HttpServerConnection(com.sun.net.httpserver.HttpExchange exchange)

  - ### Method Detail

    - #### isOpen

          public boolean isOpen()

      Specified by:
        `isOpen` in interface `Connection`

    - #### getRemoteAddress

          public InetAddress getRemoteAddress()

      Specified by:
        `getRemoteAddress` in interface `Connection`

    - #### getLocalAddress

          public InetAddress getLocalAddress()

      Specified by:
        `getLocalAddress` in interface `Connection`

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