| 构造器和说明 |
|---|
AbstractHttpRes() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
charset() |
String |
content_disfilename() |
String |
content_dispositon() |
long |
content_length() |
String |
content_range() |
boolean |
cookie_exist(String key) |
long |
date() |
String |
etag() |
long |
expires() |
File |
file(File file,
IFileProgressListener listener) |
File |
file(File file,
IFileProgressListener listener,
byte[] marks) |
File |
file(File file,
IFileProgressListener listener,
File mapfile,
int workid,
long offset,
long length) |
File |
file(File file,
IFileProgressListener listener,
long offset,
long length) |
boolean |
header_exist(String key) |
boolean |
is_chunked() |
long |
last_modified() |
String |
location() |
protected static void |
on_error(IFileProgressListener listener,
String message,
Throwable throwable) |
protected static void |
on_finish(IFileProgressListener listener) |
protected static void |
on_start(IFileProgressListener listener,
long length) |
boolean |
support_gzip() |
boolean |
support_range() |
public long content_length()
content_length 在接口中 IHttpRespublic String content_dispositon()
content_dispositon 在接口中 IHttpRespublic String content_disfilename()
content_disfilename 在接口中 IHttpRespublic String content_range()
content_range 在接口中 IHttpRespublic boolean support_range()
support_range 在接口中 IHttpRespublic boolean support_gzip()
support_gzip 在接口中 IHttpRespublic boolean is_chunked()
is_chunked 在接口中 IHttpRespublic long last_modified()
last_modified 在接口中 IHttpRespublic boolean header_exist(String key)
header_exist 在接口中 IHttpRespublic boolean cookie_exist(String key)
cookie_exist 在接口中 IHttpResprotected static void on_start(IFileProgressListener listener, long length)
protected static void on_finish(IFileProgressListener listener)
protected static void on_error(IFileProgressListener listener, String message, Throwable throwable)
public File file(File file, IFileProgressListener listener)
public File file(File file, IFileProgressListener listener, byte[] marks)
public File file(File file, IFileProgressListener listener, long offset, long length)
Copyright (c) 2002-2020 Luther Inc.