public abstract class LazyDefaultStreamedContent extends Object implements StreamedContent
| Constructor and Description |
|---|
LazyDefaultStreamedContent() |
LazyDefaultStreamedContent(InputStream stream) |
LazyDefaultStreamedContent(InputStream stream,
String contentType) |
LazyDefaultStreamedContent(InputStream stream,
String contentType,
String name) |
LazyDefaultStreamedContent(InputStream stream,
String contentType,
String name,
String contentEncoding) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentEncoding() |
String |
getContentType() |
String |
getName() |
InputStream |
getStream() |
abstract InputStream |
initializeStream() |
void |
setContentEncoding(String contentEncoding) |
void |
setContentType(String contentType) |
void |
setName(String name) |
void |
setStream(InputStream stream) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContentLengthpublic LazyDefaultStreamedContent()
public LazyDefaultStreamedContent(InputStream stream)
public LazyDefaultStreamedContent(InputStream stream, String contentType)
public LazyDefaultStreamedContent(InputStream stream, String contentType, String name)
public LazyDefaultStreamedContent(InputStream stream, String contentType, String name, String contentEncoding)
public InputStream getStream()
getStream in interface StreamedContentpublic void setStream(InputStream stream)
public String getContentType()
getContentType in interface StreamedContentpublic void setContentType(String contentType)
public String getName()
getName in interface StreamedContentpublic void setName(String name)
public String getContentEncoding()
getContentEncoding in interface StreamedContentpublic void setContentEncoding(String contentEncoding)
public abstract InputStream initializeStream()
Copyright © 2018. All rights reserved.