public final class ChunkDecoder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static int |
arrayIndexOf(byte[] haystack,
int tail,
int head,
byte[] needle) |
static java.lang.Integer |
decodeAckInResponseBody(java.io.InputStream inputStream,
Consumer<java.lang.String> ackTimestampConsumer) |
static java.util.Map<java.lang.String,java.lang.String> |
decodeHeaders(java.io.InputStream inputStream) |
static int |
parseChunkSize(byte[] buffer,
int tail,
int head) |
static Response |
parseEntireTextResponse(java.io.InputStream inputStream) |
static Response |
parseStatusLineAndHeaders(java.io.InputStream inputStream) |
static ResponseStatus |
readStatusLine(java.io.InputStream inputStream) |
public static java.util.Map<java.lang.String,java.lang.String> decodeHeaders(java.io.InputStream inputStream)
public static ResponseStatus readStatusLine(java.io.InputStream inputStream)
public static int arrayIndexOf(byte[] haystack, int tail, int head, byte[] needle)
public static int parseChunkSize(byte[] buffer, int tail, int head)
public static Response parseStatusLineAndHeaders(java.io.InputStream inputStream)
public static Response parseEntireTextResponse(java.io.InputStream inputStream)
public static java.lang.Integer decodeAckInResponseBody(java.io.InputStream inputStream, Consumer<java.lang.String> ackTimestampConsumer)
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.