public class BytesBody extends ResourceBody
Constructor and Description |
---|
BytesBody(byte[] content)
构造
|
Modifier and Type | Method and Description |
---|---|
static BytesBody |
of(byte[] content)
创建 Http request body
|
contentLength, contentType, getResource, getStream, of, write
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
contentType, getBytes, writeClose
public static BytesBody of(byte[] content)
content
- body内容,编码后Copyright © 2025. All rights reserved.