Package com.restfb

Class WebRequestor.Response

java.lang.Object
com.restfb.WebRequestor.Response
Enclosing interface:
WebRequestor

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

    • Response

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