Class GzipBody
java.lang.Object
cool.scx.http.body.GzipBody
- All Implemented Interfaces:
ScxHttpBody
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Tas(MediaReader<T> t) static InputStreaminitInputStream(InputStream inputStream, ScxContentEncoding contentEncoding) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cool.scx.http.body.ScxHttpBody
asBytes, asCacheBody, asEventStream, asFormParams, asMultiPart, asObject, asObject, asPath, asString, asString, asTree
-
Constructor Details
-
GzipBody
-
-
Method Details
-
initInputStream
public static InputStream initInputStream(InputStream inputStream, ScxContentEncoding contentEncoding) -
inputStream
- Specified by:
inputStreamin interfaceScxHttpBody
-
as
- Specified by:
asin interfaceScxHttpBody- Throws:
BodyReadExceptionBodyAlreadyConsumedException
-
asGzipBody
- Specified by:
asGzipBodyin interfaceScxHttpBody
-