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) |
| 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() |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
boolean |
isChunked() |
boolean |
isRepeatable() |
boolean |
isStreaming() |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
void |
writeTo(OutputStream outstream) |
public groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectpublic Object invokeMethod(String method, Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectpublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectpublic void setProperty(String property, Object value)
setProperty in interface groovy.lang.GroovyObjectpublic 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.HttpEntityIOExceptionCopyright © 2010–2015. All rights reserved.