org.fourthline.cling.model.message.gena

## Class IncomingSubscribeResponseMessage

- java.lang.Object
- - org.fourthline.cling.model.message.UpnpMessage<UpnpResponse>
  - - org.fourthline.cling.model.message.StreamResponseMessage
    - - org.fourthline.cling.model.message.gena.IncomingSubscribeResponseMessage

-     public class IncomingSubscribeResponseMessage
      extends StreamResponseMessage

  Author:
    Christian Bauer

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class org.fourthline.cling.model.message.UpnpMessage

      `UpnpMessage.BodyType`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `IncomingSubscribeResponseMessage(StreamResponseMessage source)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getSubscriptionDurationSeconds()`
    `String` | `getSubscriptionId()`
    `boolean` | `isValidHeaders()`

    - ### Methods inherited from class org.fourthline.cling.model.message.UpnpMessage

      `getBody, getBodyBytes, getBodyString, getBodyType, getContentTypeCharset, getContentTypeHeader, getHeaders, getOperation, getUdaMajorVersion, getUdaMinorVersion, hasBody, hasHostHeader, isBodyNonEmptyString, isContentTypeMissingOrText, isContentTypeText, isContentTypeTextUDA, setBody, setBody, setBodyCharacters, setBodyType, setHeaders, setUdaMajorVersion, setUdaMinorVersion, toString`

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

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

- - ### Constructor Detail

    - #### IncomingSubscribeResponseMessage

          public IncomingSubscribeResponseMessage(StreamResponseMessage source)

  - ### Method Detail

    - #### isValidHeaders

          public boolean isValidHeaders()

      Returns:
        `true` if this message has an SID and TIMEOUT header value.

    - #### getSubscriptionId

          public String getSubscriptionId()

    - #### getSubscriptionDurationSeconds

          public int getSubscriptionDurationSeconds()

Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.