Class ConnectionResponse

java.lang.Object
org.jenkinsci.plugins.ParameterizedRemoteTrigger.ConnectionResponse

public class ConnectionResponse extends Object
Http response containing header, body (JSON format) and response code.
  • Constructor Details

    • ConnectionResponse

      public ConnectionResponse(@NonNull Map<String,List<String>> header, @Nullable net.sf.json.JSONObject body, @NonNull int responseCode)
    • ConnectionResponse

      public ConnectionResponse(@NonNull Map<String,List<String>> header, @Nullable String rawBody, @NonNull int responseCode)
    • ConnectionResponse

      public ConnectionResponse(@NonNull Map<String,List<String>> header, @NonNull int responseCode)
  • Method Details

    • getHeader

      public Map<String,List<String>> getHeader()
    • getBody

      public net.sf.json.JSONObject getBody()
    • getRawBody

      public String getRawBody()
    • getResponseCode

      public int getResponseCode()