public class FormURLEncodedRequestBody extends Object implements RequestBody
| Constructor and Description |
|---|
FormURLEncodedRequestBody(byte[] body,
String contentType) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
void |
write(OutputStream out) |
public FormURLEncodedRequestBody(byte[] body,
String contentType)
public String getContentType()
getContentType in interface RequestBodypublic void write(OutputStream out) throws IOException
write in interface RequestBodyIOExceptionCopyright © 2019. All rights reserved.