protected static final class ImmutableHttpMessage.OriginalCharSource extends Object implements ImmutableHttpMessage.HttpContentSource
| Constructor and Description |
|---|
OriginalCharSource(com.google.common.io.CharSource charSource) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.io.ByteSource |
asBytes(ImmutableHttpMessage message) |
com.google.common.io.CharSource |
asChars(ImmutableHttpMessage message) |
boolean |
isNativelyText() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitempty, fromBase64, fromBytes, fromCharspublic OriginalCharSource(com.google.common.io.CharSource charSource)
public boolean isNativelyText()
isNativelyText in interface ImmutableHttpMessage.HttpContentSourcepublic com.google.common.io.CharSource asChars(ImmutableHttpMessage message)
asChars in interface ImmutableHttpMessage.HttpContentSourcepublic com.google.common.io.ByteSource asBytes(ImmutableHttpMessage message)
asBytes in interface ImmutableHttpMessage.HttpContentSourceCopyright © 2016–2018. All rights reserved.