public class OutputStreamValue extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
OutputStreamValue() |
|
OutputStreamValue(OutputStreamProducer outputProducer) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
String |
getFilename() |
Map<String,Object> |
getHeaders() |
OutputStreamProducer |
getOutputProducer() |
void |
setContentType(String contentType) |
void |
setFilename(String filename) |
void |
setHeaders(Map<String,Object> headers) |
void |
setOutputProducer(OutputStreamProducer outputProducer) |
OutputStreamValue |
withContentType(String contentType) |
OutputStreamValue |
withFilename(String filename) |
OutputStreamValue |
withHeader(String name,
Object value) |
OutputStreamValue |
withHeaders(Map<String,Object> headers) |
protected OutputStreamValue()
public OutputStreamValue(OutputStreamProducer outputProducer)
public OutputStreamProducer getOutputProducer()
public void setOutputProducer(OutputStreamProducer outputProducer)
public String getContentType()
public void setContentType(String contentType)
public String getFilename()
public void setFilename(String filename)
public OutputStreamValue withContentType(String contentType)
public OutputStreamValue withFilename(String filename)
public OutputStreamValue withHeaders(Map<String,Object> headers)
public OutputStreamValue withHeader(String name, Object value)
Copyright © 2016–2020 Softelnet. All rights reserved.