| Default Methods | |
|---|---|
ContentType |
getContentType()
Get the content type of this document, by default, "text/html;charset=UTF-8".
|
Charset |
getCharset()
Get the charset of this document, by default "UTF-8".
|
HttpResponseImpl |
toResponse(int statusCode)
Create an http response serving this document.
|
getContentBody, getContentBodydefault ContentType getContentType()
If getCharset() is overridden (and this method is not),
this method will return a content type with the charset parameter provided by getCharset().
getContentType in interface TextDocdefault Charset getCharset()
getCharset in interface TextDocdefault HttpResponseImpl toResponse(int statusCode)