Package com.restfb

Klasse WebRequestor.Response

java.lang.Object
com.restfb.WebRequestor.Response
Umschließende Schnittstelle:
WebRequestor

public static class WebRequestor.Response extends Object
Encapsulates an HTTP response body and status code.
Autor:
Mark Allen
  • Konstruktordetails

    • Response

      public Response(Integer statusCode, String body)
      Creates a response with the given HTTP status code and response body as text.
      Parameter:
      statusCode - The HTTP status code of the response.
      body - The response body as text.
  • Methodendetails