cz.jalasoft.net.http.HttpResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of JalasoftHttpClient Show documentation
Show all versions of JalasoftHttpClient Show documentation
API for communicating over HTTP.
The newest version!
/*
* Copyright (c) 2015 Avast a.s., www.avast.com
*/
package cz.jalasoft.net.http;
/**
* An abstraction of an HTTP response
*
* @author Jan Lastovicka ([email protected])
* @since 2015-02-21
*/
public interface HttpResponse {
int RESPONSE_CODE_OK = 200;
boolean isStatusOK();
int getStatusCode();
String getReason();
byte[] getContent();
String getContentAsString();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy