Class Response<T>

java.lang.Object
com.codename1.io.rest.Response<T>

public class Response<T> extends java.lang.Object
The http Response class
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    The http response code
    The http response data
    Returns the error message that accompanies the response

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getResponseData

      public T getResponseData()

      The http response data

      Returns

      the data

    • getResponseCode

      public int getResponseCode()

      The http response code

      Returns

      the code

    • getResponseErrorMessage

      public String getResponseErrorMessage()

      Returns the error message that accompanies the response

      Returns

      the response