public class RestAssuredMultiPartEntity extends Object implements org.apache.http.HttpEntity, groovy.lang.GroovyObject
| Constructor and Description |
|---|
RestAssuredMultiPartEntity(String subType,
String charset,
org.apache.http.entity.mime.HttpMultipartMode mode,
String boundary) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPart(org.apache.http.entity.mime.FormBodyPart bodyPart) |
void |
addPart(String name,
org.apache.http.entity.mime.content.ContentBody contentBody) |
void |
consumeContent() |
InputStream |
getContent() |
org.apache.http.Header |
getContentEncoding() |
long |
getContentLength() |
org.apache.http.Header |
getContentType() |
groovy.lang.MetaClass |
getMetaClass() |
boolean |
isChunked() |
boolean |
isRepeatable() |
boolean |
isStreaming() |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
writeTo(OutputStream outstream) |
public void addPart(org.apache.http.entity.mime.FormBodyPart bodyPart)
public void addPart(String name, org.apache.http.entity.mime.content.ContentBody contentBody)
public boolean isRepeatable()
isRepeatable in interface org.apache.http.HttpEntitypublic boolean isChunked()
isChunked in interface org.apache.http.HttpEntitypublic boolean isStreaming()
isStreaming in interface org.apache.http.HttpEntitypublic long getContentLength()
getContentLength in interface org.apache.http.HttpEntitypublic org.apache.http.Header getContentType()
getContentType in interface org.apache.http.HttpEntitypublic org.apache.http.Header getContentEncoding()
getContentEncoding in interface org.apache.http.HttpEntitypublic void consumeContent()
throws IOException,
UnsupportedOperationException
consumeContent in interface org.apache.http.HttpEntityIOExceptionUnsupportedOperationExceptionpublic InputStream getContent() throws IOException, UnsupportedOperationException
getContent in interface org.apache.http.HttpEntityIOExceptionUnsupportedOperationExceptionpublic void writeTo(OutputStream outstream) throws IOException
writeTo in interface org.apache.http.HttpEntityIOExceptionpublic groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectCopyright © 2010–2020. All rights reserved.