public class MultipartContentProvider extends Object implements org.eclipse.jetty.client.AsyncContentProvider
Constructor and Description |
---|
MultipartContentProvider() |
Modifier and Type | Method and Description |
---|---|
void |
addPart(String name,
byte[] data,
String mimetype) |
void |
addPart(String name,
org.eclipse.jetty.client.api.ContentProvider part,
String mimetype) |
long |
getLength() |
Iterator<ByteBuffer> |
iterator() |
void |
setListener(org.eclipse.jetty.client.AsyncContentProvider.Listener arg0) |
public Iterator<ByteBuffer> iterator()
iterator
in interface Iterable<ByteBuffer>
public long getLength()
getLength
in interface org.eclipse.jetty.client.api.ContentProvider
public void addPart(String name, org.eclipse.jetty.client.api.ContentProvider part, String mimetype)
public void setListener(org.eclipse.jetty.client.AsyncContentProvider.Listener arg0)
setListener
in interface org.eclipse.jetty.client.AsyncContentProvider
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.