public class Content extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static Content | NO_CONTENT | 
| Constructor and Description | 
|---|
| Content(byte[] raw,
       org.apache.hc.core5.http.ContentType type) | 
public static final Content NO_CONTENT
public org.apache.hc.core5.http.ContentType getType()
public byte[] asBytes()
public String asString()
public InputStream asStream()
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.