Package com.restfb

Schnittstelle WebRequestor

Alle bekannten Implementierungsklassen:
DefaultWebRequestor, ETagWebRequestor

public interface WebRequestor
Specifies how a class that sends HTTP requests to the Facebook API endpoint must operate.
Autor:
Mark Allen
  • Methodendetails

    • executeGet

      Given a Facebook API endpoint URL, execute a GET against it.
      Parameter:
      request - The request data for the GET request
      Gibt zurück:
      HTTP response data.
      Löst aus:
      IOException - If an error occurs while performing the GET operation.
      Seit:
      1.5
    • executePost

      Given a Facebook API endpoint URL and parameter string, execute a POST to the endpoint URL.
      Parameter:
      request - The request data used for the POST request.
      Gibt zurück:
      HTTP response data.
      Löst aus:
      IOException - If an error occurs while performing the POST.
    • executeDelete

      Given a Facebook API endpoint URL and parameter string, execute a DELETE to the endpoint URL.
      Parameter:
      request - The request data used for the DELETE request.
      Gibt zurück:
      HTTP response data.
      Löst aus:
      IOException - If an error occurs while performing the DELETE.
    • getDebugHeaderInfo

      Provides access to the facebook header information. The fields x-fb-rev, x-fb-trace-id and x-fb-debug are checked and returned in a single container of the type DebugHeaderInfo
      Gibt zurück:
      container with the explained facebook debug header information