public class MimeMessageMockResponseEntity
extends org.apache.http.entity.AbstractHttpEntity
Constructor and Description |
---|
MimeMessageMockResponseEntity(javax.mail.internet.MimeMessage message,
boolean isXOP,
MockResponse response) |
Modifier and Type | Method and Description |
---|---|
InputStream |
getContent() |
long |
getContentLength() |
org.apache.http.Header |
getContentType() |
boolean |
isRepeatable() |
boolean |
isStreaming() |
void |
writeTo(OutputStream arg0) |
public MimeMessageMockResponseEntity(javax.mail.internet.MimeMessage message, boolean isXOP, MockResponse response)
public long getContentLength()
public org.apache.http.Header getContentType()
getContentType
in interface org.apache.http.HttpEntity
getContentType
in class org.apache.http.entity.AbstractHttpEntity
public boolean isRepeatable()
public void writeTo(OutputStream arg0) throws IOException
IOException
public InputStream getContent() throws IOException, IllegalStateException
IOException
IllegalStateException
public boolean isStreaming()
Copyright © 2019. All Rights Reserved.