Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.devbliss.doctest.items;
 
 import java.util.Map;
 
 
 public class ResponseDocItem implements DocItem {
 
     private final int responseCode;
    private final JsonDocItem payload;
    private final Map<StringStringheaders;
    public ResponseDocItem(ApiResponse responseString payloadMap<StringStringheaders) {
        this. = response.httpStatus;
        this. = new JsonDocItem(payload);
        this. = headers;
    }
    public int getResponseCode() {
        return ;
    }
    public JsonDocItem getPayload() {
        return ;
    }
    public String getItemName() {
        return "response";
    }
    public Map<StringStringgetHeaders() {
        return this.;
    }
New to GrepCode? Check out our FAQ X