All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.dadiyang.httpinvoker.requestor.HttpResponse Maven / Gradle / Ivy

The newest version!
package com.github.dadiyang.httpinvoker.requestor;

import java.io.InputStream;
import java.util.List;
import java.util.Map;

/**
 * @author huangxuyang
 * date 2018/12/6
 */
public interface HttpResponse {

    int getStatusCode();

    String getStatusMessage();

    String getCharset();

    String getContentType();

    byte[] getBodyAsBytes();

    InputStream getBodyStream();

    String getBody();

    Map getHeaders();

    Map> multiHeaders();

    List getHeaders(String name);

    String getHeader(String name);

    Map getCookies();

    String getCookie(String name);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy