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, setTransient
public HttpClientFormMultipartRepresentation(java.util.List<MultipartParameter> multipartContent)
public long getSize()
getSize
in class org.restlet.resource.Variant
public java.io.InputStream getStream() throws java.io.IOException
getStream
in class org.restlet.resource.Representation
java.io.IOException
public java.lang.String getText() throws java.io.IOException
getText
in class org.restlet.resource.Representation
java.io.IOException
public void write(java.io.OutputStream outputStream) throws java.io.IOException
write
in class org.restlet.resource.Representation
outputStream
- The output stream.java.io.IOException
public java.nio.channels.ReadableByteChannel getChannel() throws java.io.IOException
getChannel
in class org.restlet.resource.Representation
java.io.IOException
public void write(java.nio.channels.WritableByteChannel writableChannel) throws java.io.IOException
write
in class org.restlet.resource.Representation
java.io.IOException
Copyright © 2001-2021 Jalios SA. All Rights Reserved.