public class HttpResponse extends HttpMessage
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpResponse.Builder |
HttpMessage.AbstractBuilder<R extends HttpMessage,B extends HttpMessage.AbstractBuilder<R,B>>| Modifier and Type | Method and Description |
|---|---|
static HttpResponse |
parse(ReadableByteChannel channel)
Parses a HTTP response while leniently allowing common deviations from the standard.
|
static HttpResponse |
parseStrictly(ReadableByteChannel channel)
Parses a HTTP response while strictly rejecting deviations from the standard.
|
String |
reason()
The resposne status reason phrase.
|
int |
status()
The 3 digit response status code.
|
body, contentType, headers, serializeHeader, versionpublic static HttpResponse parse(ReadableByteChannel channel) throws IOException
IOExceptionpublic static HttpResponse parseStrictly(ReadableByteChannel channel) throws IOException
IOExceptionpublic int status()
public String reason()
Copyright © 2022. All rights reserved.