public class ChunkedBytesContentProvider
extends org.eclipse.jetty.client.util.AbstractTypedContentProvider
| Constructor and Description |
|---|
ChunkedBytesContentProvider(byte[] bytes) |
ChunkedBytesContentProvider(byte[] bytes,
int bufferSizeInBytes) |
ChunkedBytesContentProvider(String contentType,
byte[] bytes) |
ChunkedBytesContentProvider(String contentType,
byte[] bytes,
int bufferSizeInBytes) |
| Modifier and Type | Method and Description |
|---|---|
long |
getLength() |
boolean |
isReproducible() |
Iterator<ByteBuffer> |
iterator() |
getContentTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic ChunkedBytesContentProvider(byte[] bytes)
public ChunkedBytesContentProvider(byte[] bytes,
int bufferSizeInBytes)
public ChunkedBytesContentProvider(String contentType, byte[] bytes)
public ChunkedBytesContentProvider(String contentType, byte[] bytes, int bufferSizeInBytes)
public long getLength()
public boolean isReproducible()
public Iterator<ByteBuffer> iterator()
Copyright © 2010–2024 Airlift. All rights reserved.