public abstract class AbstractByteArrayBody<T> extends Object implements ContentBody<T>
| 构造器和说明 |
|---|
AbstractByteArrayBody() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract byte[] |
contentAsBytes() |
protected byte[] |
getBuffer() |
int |
getContentLength() |
InputStream |
getContentStream() |
void |
writeTo(Consumer3<byte[],Integer,Integer> consumer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContent, getContentType, getContentTypeHeader, writeTopublic InputStream getContentStream()
getContentStream 在接口中 ContentBody<T>public int getContentLength()
getContentLength 在接口中 ContentBody<T>public void writeTo(@Nonnull
Consumer3<byte[],Integer,Integer> consumer)
writeTo 在接口中 ContentBody<T>protected final byte[] getBuffer()
protected abstract byte[] contentAsBytes()
Copyright © 2024. All rights reserved.