javax.ws.rs.core

## Interface Response.StatusType

- All Known Implementing Classes:
    Response.Status
  Enclosing class:
    Response

      public static interface Response.StatusType

  Base interface for statuses used in responses.
  Since:
    1.1

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Response.Status.Family` | `getFamily()` Get the class of status code.
    `String` | `getReasonPhrase()` Get the reason phrase.
    `int` | `getStatusCode()` Get the associated status code.

- - ### Method Detail

    - #### getStatusCode

          int getStatusCode()

      Get the associated status code.
      Returns:
        the status code.

    - #### getFamily

          Response.Status.Family getFamily()

      Get the class of status code.
      Returns:
        the class of status code.

    - #### getReasonPhrase

          String getReasonPhrase()

      Get the reason phrase.
      Returns:
        the reason phrase.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.