Class GzipHttpBody
java.lang.Object
cool.scx.http.body.GzipHttpBody
- All Implemented Interfaces:
ScxHttpBody
GzipHttpBody
- Version:
- 0.0.1
- Author:
- scx567888
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Tas(MediaReader<T> mediaReader) cool.scx.io.ByteInputstatic cool.scx.io.ByteInputintGZIPByteInput(cool.scx.io.ByteInput byteInput, ScxContentEncoding contentEncoding) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ScxHttpBody
asBytes, asCacheBody, asEventStream, asFile, asFormParams, asMultiPart, asNode, asObject, asObject, asString, asString
-
Constructor Details
-
GzipHttpBody
-
-
Method Details
-
intGZIPByteInput
public static cool.scx.io.ByteInput intGZIPByteInput(cool.scx.io.ByteInput byteInput, ScxContentEncoding contentEncoding) -
byteInput
public cool.scx.io.ByteInput byteInput()- Specified by:
byteInputin interfaceScxHttpBody
-
as
- Specified by:
asin interfaceScxHttpBody- Throws:
BodyReadExceptionBodyAlreadyConsumedException
-
asGzipBody
- Specified by:
asGzipBodyin interfaceScxHttpBody
-