51 lines
1.1 KiB
Java
51 lines
1.1 KiB
Java
/* */ package kong.unirest.cosmetics;
|
|
/* */
|
|
/* */ import java.util.Optional;
|
|
/* */ import java.util.function.Consumer;
|
|
/* */ import java.util.function.Function;
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/* */ public class StringResponse
|
|
/* */ extends BaseResponse<String>
|
|
/* */ {
|
|
/* */ private String body;
|
|
/* */
|
|
/* */ public StringResponse(RawResponse response, String encoding) {
|
|
/* 32 */ super(response);
|
|
/* 33 */ this.body = response.getContentAsString(encoding);
|
|
/* */ }
|
|
/* */
|
|
/* */
|
|
/* */ public String getBody() {
|
|
/* 38 */ return this.body;
|
|
/* */ }
|
|
/* */
|
|
/* */
|
|
/* */ protected String getRawBody() {
|
|
/* 43 */ return this.body;
|
|
/* */ }
|
|
/* */ }
|
|
|
|
|
|
/* Location: C:\Users\Xiao\Downloads\MinehutCosmetics.jar!\kon\\unirest\cosmetics\StringResponse.class
|
|
* Java compiler version: 11 (55.0)
|
|
* JD-Core Version: 1.1.3
|
|
*/ |