public class _HttpHelperChunkedResponse extends Object
| Constructor and Description |
|---|
_HttpHelperChunkedResponse(EoHttpConfig config,
HttpURLConnection conn,
InputStream inputstream,
Charset charset,
Chunk chunk) |
| Modifier and Type | Method and Description |
|---|---|
HttpResponseBody |
body() |
Charset |
charset() |
void |
clear() |
int |
code() |
EoHttpConfig |
config() |
String |
cookie(String name) |
String[] |
cookieNames() |
HttpCookie |
cookieObject(String name) |
protected void |
extrabody(io.enoa.http.provider.httphelper.http.resp._IBodyExtra bodyextra) |
String |
header(String name) |
String |
header(String name,
String def) |
String[] |
headerNames() |
List<String> |
headers(String name) |
String |
host() |
boolean |
isRedirect() |
String |
message() |
boolean |
ok() |
String |
protocol() |
String |
toString() |
String |
uri() |
String |
url() |
HttpVersion |
version() |
public _HttpHelperChunkedResponse(EoHttpConfig config, HttpURLConnection conn, InputStream inputstream, Charset charset, Chunk chunk)
protected void extrabody(io.enoa.http.provider.httphelper.http.resp._IBodyExtra bodyextra)
public EoHttpConfig config()
config in interface HttpResponsepublic int code()
code in interface HttpResponsepublic HttpVersion version()
version in interface HttpResponsepublic boolean ok()
ok in interface HttpResponsepublic String uri()
uri in interface HttpResponsepublic String url()
url in interface HttpResponsepublic String protocol()
protocol in interface HttpResponsepublic String host()
host in interface HttpResponsepublic Charset charset()
charset in interface HttpResponsepublic String message()
message in interface HttpResponsepublic boolean isRedirect()
isRedirect in interface HttpResponsepublic String[] cookieNames()
cookieNames in interface HttpResponsepublic HttpCookie cookieObject(String name)
cookieObject in interface HttpResponsepublic String cookie(String name)
cookie in interface HttpResponsepublic String[] headerNames()
headerNames in interface HttpResponsepublic String header(String name, String def)
header in interface HttpResponsepublic String header(String name)
header in interface HttpResponsepublic List<String> headers(String name)
headers in interface HttpResponsepublic HttpResponseBody body()
body in interface HttpResponsepublic void clear()
clear in interface HttpResponseCopyright © 2019. All rights reserved.