Archived
0

browser update

This commit is contained in:
2017-04-11 00:04:59 +03:00
parent 2b21c914f9
commit 42afbabd30
6 changed files with 129 additions and 3 deletions

View File

@@ -0,0 +1,32 @@
/*
* DmitriyMX <dimon550@gmail.com>
* 2017-04-10
*/
package ru.dmitriymx.vkapi.browser;
public class ApacheResponse implements Response {
private final int code;
private final String contentType;
private final String content;
ApacheResponse(int code, String contentType, String content) {
this.code = code;
this.contentType = contentType;
this.content = content;
}
@Override
public int getStatus() {
return code;
}
@Override
public String getContentType() {
return contentType;
}
@Override
public String getContent() {
return content;
}
}