public interface IHttpRes
boolean success()
int status()
String message()
String url()
String content_type()
long content_length()
String content_dispositon()
String content_disfilename()
String content_range()
boolean support_range()
boolean support_gzip()
boolean is_chunked()
String etag()
String location()
long last_modified()
long expires()
long date()
String charset()
boolean header_exist(String key)
boolean cookie_exist(String key)
byte[] bytes()
String string()
<T> T object(Class<T> clazz)
InputStream stream()
File file(File file, IFileProgressListener listener)
File file(File file, IFileProgressListener listener, byte[] marks)
File file(File file, IFileProgressListener listener, long offset, long length)
File file(File file, IFileProgressListener listener, File mapfile, int workid, long offset, long length)
Copyright (c) 2002-2020 Luther Inc.