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() |
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 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.HttpEntity
public boolean isChunked()
isChunked
in interface org.apache.http.HttpEntity
public boolean isStreaming()
isStreaming
in interface org.apache.http.HttpEntity
public long getContentLength()
getContentLength
in interface org.apache.http.HttpEntity
public org.apache.http.Header getContentType()
getContentType
in interface org.apache.http.HttpEntity
public org.apache.http.Header getContentEncoding()
getContentEncoding
in interface org.apache.http.HttpEntity
public void consumeContent() throws IOException, UnsupportedOperationException
consumeContent
in interface org.apache.http.HttpEntity
IOException
UnsupportedOperationException
public InputStream getContent() throws IOException, UnsupportedOperationException
getContent
in interface org.apache.http.HttpEntity
IOException
UnsupportedOperationException
public void writeTo(OutputStream outstream) throws IOException
writeTo
in interface org.apache.http.HttpEntity
IOException
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
Copyright © 2010–2019. All rights reserved.