public final class SimpleBody extends Object
| Modifier and Type | Method and Description | 
|---|---|
| byte[] | getBodyBytes() | 
| String | getBodyText() | 
| org.apache.hc.core5.http.ContentType | getContentType() | 
| boolean | isBytes() | 
| boolean | isText() | 
| String | toString() | 
public org.apache.hc.core5.http.ContentType getContentType()
public byte[] getBodyBytes()
public String getBodyText()
public boolean isText()
public boolean isBytes()
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.