Client.Response (Apache Geode 1.7.0)
Date: 2018-09-27

org.apache.geode.session.tests

## Class Client.Response

- java.lang.Object
- - org.apache.geode.session.tests.Client.Response

- Enclosing class:
    Client

      public class Client.Response
      extends java.lang.Object

  A response received from the server. Currently contains the text value of the response body, as well as the session cookie.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Response(java.lang.String sessionCookie, java.lang.String response, boolean isNew)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getResponse()` The String value of the response body.
    `java.lang.String` | `getSessionCookie()` The session cookie associated with this client.
    `boolean` | `isNew()`
    `java.lang.String` | `toString()`

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

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

- - ### Constructor Detail

    - #### Response

          public Response(java.lang.String sessionCookie,
                          java.lang.String response,
                          boolean isNew)

  - ### Method Detail

    - #### getSessionCookie

          public java.lang.String getSessionCookie()

      The session cookie associated with this client.

    - #### getResponse

          public java.lang.String getResponse()

      The String value of the response body.

    - #### isNew

          public boolean isNew()

      Returns:
        true if this response contained a "Set-Cookie" header, indicating that the server is setting a new value for the session cookie.

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`