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
Class StreamClientImpl

    java.lang.Object
      org.teleal.cling.transport.impl.StreamClientImpl

All Implemented Interfaces:
  StreamClient

    public class StreamClientImpl

extends Object
implements StreamClient

It's hard to believe how bad the JDK has gotten in the last 15 years.

Nested Class Summary
`static class` | `StreamClientImpl.UpnpURLConnection` The Sun genuises restrict the JDK handlers to GET/POST/etc.

Field Summary
`protected StreamClientConfigurationImpl` | `configuration`
`static String` | `HACK_STREAM_HANDLER_SYSTEM_PROPERTY`

Constructor Summary
`StreamClientImpl(StreamClientConfigurationImpl configuration)`

Method Summary
`protected void` | `applyRequestBody(HttpURLConnection urlConnection, StreamRequestMessage requestMessage)`
`protected void` | `applyRequestProperties(HttpURLConnection urlConnection, StreamRequestMessage requestMessage)`
`protected StreamResponseMessage` | `createResponse(HttpURLConnection urlConnection, InputStream inputStream)`
`StreamClientConfigurationImpl` | `getConfiguration()`
`void` | `init(Router router)`
`StreamResponseMessage` | `sendRequest(StreamRequestMessage requestMessage)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### HACK_STREAM_HANDLER_SYSTEM_PROPERTY

    public static final String HACK_STREAM_HANDLER_SYSTEM_PROPERTY

See Also:
  Constant Field Values

### configuration

    protected StreamClientConfigurationImpl configuration

Constructor Detail

### StreamClientImpl

    public StreamClientImpl(StreamClientConfigurationImpl configuration)

Method Detail

### getConfiguration

    public StreamClientConfigurationImpl getConfiguration()

  Specified by:
    `getConfiguration` in interface `StreamClient`

### init

    public void init(Router router)
              throws InitializationException

  Specified by:
    `init` in interface `StreamClient`
  Throws:
    `InitializationException`

### sendRequest

    public StreamResponseMessage sendRequest(StreamRequestMessage requestMessage)

  Specified by:
    `sendRequest` in interface `StreamClient`

### applyRequestProperties

    protected void applyRequestProperties(HttpURLConnection urlConnection,
                                          StreamRequestMessage requestMessage)

### applyRequestBody

    protected void applyRequestBody(HttpURLConnection urlConnection,
                                    StreamRequestMessage requestMessage)
                             throws IOException

  Throws:
    `IOException`

### createResponse

    protected StreamResponseMessage createResponse(HttpURLConnection urlConnection,
                                                   InputStream inputStream)
                                            throws Exception

  Throws:
    `Exception`

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 © 2010 Teleal GmbH, Switzerland. All Rights Reserved.