public class DocumentContent extends Object implements TypedContent
| Constructor and Description | 
|---|
| DocumentContent(String contentType,
               String contentAsString) | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getContentAsString() | 
| long | getContentLength() | 
| String | getContentType() | 
| DocumentContent | withContent(String newContent) | 
| DocumentContent | withContentType(String newContentType) | 
public String getContentAsString()
getContentAsString in interface TypedContentpublic String getContentType()
getContentType in interface TypedContentpublic long getContentLength()
getContentLength in interface TypedContentpublic DocumentContent withContent(String newContent)
public DocumentContent withContentType(String newContentType)
Copyright © 2019. All Rights Reserved.