public class PathContent extends Object implements Content, CustomRestHeaders
| Constructor and Description |
|---|
PathContent(Path path,
String contentType) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentDisposition() |
String |
getContentType() |
void |
write(OutputStream outputStream) |
public String getContentType()
public String getContentDisposition()
public void write(OutputStream outputStream) throws IOException
write in interface ContentIOExceptionCopyright © 2006–2016 The Apache Software Foundation. All rights reserved.