public class MultipartBuffer
extends java.lang.Object
Constructor and Description |
---|
MultipartBuffer(MultipartSplitter splitter) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.lang.String |
getBodyAsString() |
java.io.InputStream |
getBodyStream() |
java.lang.String |
getHeader(java.lang.String name) |
long |
getTotalBytesRead() |
boolean |
hasNext() |
boolean |
isClosed() |
boolean |
next() |
java.io.InputStream |
nextStream()
Get an input stream on the next chunk of the
buffer.
|
int |
read(byte[] buf,
int off, int len) |
public MultipartBuffer(MultipartSplitter splitter)
public long getTotalBytesRead()
public java.lang.String getHeader(java.lang.String name)
public void close() throws java.io.IOException
java.io.IOException
public boolean isClosed()
public int read(byte[] buf, int off, int len) throws java.io.IOException
java.io.IOException
public java.lang.String getBodyAsString() throws java.io.IOException
java.io.IOException
public java.io.InputStream nextStream() throws java.io.IOException
java.io.IOException
public boolean next() throws java.io.IOException
java.io.IOException
public boolean hasNext() throws java.io.IOException
java.io.IOException
public java.io.InputStream getBodyStream()
Copyright © 2023 MarkLogic
Corporation. All Rights Reserved.
Complete online documentation for MarkLogic Server,
XQuery and related components may
be found at
developer.marklogic.com