public class HttpClientFormMultipartRepresentation
extends org.restlet.resource.Representation
| Constructor and Description |
|---|
HttpClientFormMultipartRepresentation(java.util.List<MultipartParameter> multipartContent) |
| Modifier and Type | Method and Description |
|---|---|
java.nio.channels.ReadableByteChannel |
getChannel() |
long |
getSize() |
java.io.InputStream |
getStream() |
java.lang.String |
getText()
Converts the representation to a string value.
|
void |
write(java.io.OutputStream outputStream)
Writes the representation to a byte stream.
|
void |
write(java.nio.channels.WritableByteChannel writableChannel) |
isAvailable, isTransient, setAvailable, setTransientpublic HttpClientFormMultipartRepresentation(java.util.List<MultipartParameter> multipartContent)
public long getSize()
getSize in class org.restlet.resource.Variantpublic java.io.InputStream getStream()
throws java.io.IOException
getStream in class org.restlet.resource.Representationjava.io.IOExceptionpublic java.lang.String getText()
throws java.io.IOException
getText in class org.restlet.resource.Representationjava.io.IOExceptionpublic void write(java.io.OutputStream outputStream)
throws java.io.IOException
write in class org.restlet.resource.RepresentationoutputStream - The output stream.java.io.IOExceptionpublic java.nio.channels.ReadableByteChannel getChannel()
throws java.io.IOException
getChannel in class org.restlet.resource.Representationjava.io.IOExceptionpublic void write(java.nio.channels.WritableByteChannel writableChannel)
throws java.io.IOException
write in class org.restlet.resource.Representationjava.io.IOExceptionCopyright © 2001-2021 Jalios SA. All Rights Reserved.