public interface HttpFile extends HttpResource
Modifier and Type | Method and Description |
---|---|
Charset |
getCharset()
Obtains the
Charset for the contents. |
String |
getContentEncoding()
Obtains the
Content-Encoding for this HttpFile . |
ByteBuffer |
getContents()
Obtains the contents of this
HttpFile . |
String |
getContentType()
Obtains the
Content-Type for this HttpFile . |
getPath, isExist
String getContentEncoding()
Content-Encoding
for this HttpFile
.Content-Encoding
for this HttpFile
.String getContentType()
Obtains the Content-Type
for this HttpFile
.
The value should omit the charset
attribute.
Content-Type
for this HttpFile
.ByteBuffer getContents()
Obtains the contents of this HttpFile
.
The ByteBuffer
will typically be read-only to prevent changes to
the contents.
HttpFile
.Copyright © 2005–2016. All rights reserved.