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.IOExceptionpublic boolean isClosed()
public int read(byte[] buf,
int off,
int len)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getBodyAsString()
throws java.io.IOException
java.io.IOExceptionpublic java.io.InputStream nextStream()
throws java.io.IOException
java.io.IOExceptionpublic boolean next()
throws java.io.IOException
java.io.IOExceptionpublic boolean hasNext()
throws java.io.IOException
java.io.IOExceptionpublic java.io.InputStream getBodyStream()
Copyright (c) 2006-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
Complete online documentation for MarkLogic Server, XQuery and related components may be found at docs.progress.com