1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "java-net-HttpURLConnection"))]
__jni_bindgen! {
/// public class [HttpURLConnection](https://developer.android.com/reference/java/net/HttpURLConnection.html)
///
/// Required feature: "java-net-HttpURLConnection"
public class HttpURLConnection ("java/net/HttpURLConnection") extends crate::java::net::URLConnection {
/// [disconnect](https://developer.android.com/reference/java/net/HttpURLConnection.html#disconnect())
pub fn disconnect<'env>(&'env self) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/net/HttpURLConnection", java.flags == PUBLIC | ABSTRACT, .name == "disconnect", .descriptor == "()V"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/net/HttpURLConnection\0", "disconnect\0", "()V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getErrorStream](https://developer.android.com/reference/java/net/HttpURLConnection.html#getErrorStream())
///
/// Required features: "java-io-InputStream"
#[cfg(any(feature = "all", all(feature = "java-io-InputStream")))]
pub fn getErrorStream<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::io::InputStream>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/net/HttpURLConnection", java.flags == PUBLIC, .name == "getErrorStream", .descriptor == "()Ljava/io/InputStream;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/net/HttpURLConnection\0", "getErrorStream\0", "()Ljava/io/InputStream;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getFollowRedirects](https://developer.android.com/reference/java/net/HttpURLConnection.html#getFollowRedirects())
pub fn getFollowRedirects<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/net/HttpURLConnection", java.flags == PUBLIC | STATIC, .name == "getFollowRedirects", .descriptor == "()Z"
unsafe {
let __jni_args = [];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/net/HttpURLConnection\0", "getFollowRedirects\0", "()Z\0");
__jni_env.call_static_boolean_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getPermission](https://developer.android.com/reference/java/net/HttpURLConnection.html#getPermission())
///
/// Required features: "java-security-Permission"
#[cfg(any(feature = "all", all(feature = "java-security-Permission")))]
pub fn getPermission<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::security::Permission>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/net/HttpURLConnection", java.flags == PUBLIC, .name == "getPermission", .descriptor == "()Ljava/security/Permission;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/net/HttpURLConnection\0", "getPermission\0", "()Ljava/security/Permission;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getRequestMethod](https://developer.android.com/reference/java/net/HttpURLConnection.html#getRequestMethod())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getRequestMethod<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/net/HttpURLConnection", java.flags == PUBLIC, .name == "getRequestMethod", .descriptor == "()Ljava/lang/String;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/net/HttpURLConnection\0", "getRequestMethod\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getResponseCode](https://developer.android.com/reference/java/net/HttpURLConnection.html#getResponseCode())
pub fn getResponseCode<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/net/HttpURLConnection", java.flags == PUBLIC, .name == "getResponseCode", .descriptor == "()I"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/net/HttpURLConnection\0", "getResponseCode\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getResponseMessage](https://developer.android.com/reference/java/net/HttpURLConnection.html#getResponseMessage())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getResponseMessage<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/net/HttpURLConnection", java.flags == PUBLIC, .name == "getResponseMessage", .descriptor == "()Ljava/lang/String;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/net/HttpURLConnection\0", "getResponseMessage\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setFollowRedirects](https://developer.android.com/reference/java/net/HttpURLConnection.html#setFollowRedirects(boolean))
pub fn setFollowRedirects<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: bool) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/net/HttpURLConnection", java.flags == PUBLIC | STATIC, .name == "setFollowRedirects", .descriptor == "(Z)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/net/HttpURLConnection\0", "setFollowRedirects\0", "(Z)V\0");
__jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [setRequestMethod](https://developer.android.com/reference/java/net/HttpURLConnection.html#setRequestMethod(java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn setRequestMethod<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/net/HttpURLConnection", java.flags == PUBLIC, .name == "setRequestMethod", .descriptor == "(Ljava/lang/String;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/net/HttpURLConnection\0", "setRequestMethod\0", "(Ljava/lang/String;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [usingProxy](https://developer.android.com/reference/java/net/HttpURLConnection.html#usingProxy())
pub fn usingProxy<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/net/HttpURLConnection", java.flags == PUBLIC | ABSTRACT, .name == "usingProxy", .descriptor == "()Z"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/net/HttpURLConnection\0", "usingProxy\0", "()Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getContentEncoding](https://developer.android.com/reference/java/net/HttpURLConnection.html#getContentEncoding())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getContentEncoding<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/net/HttpURLConnection", java.flags == PUBLIC, .name == "getContentEncoding", .descriptor == "()Ljava/lang/String;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/net/HttpURLConnection\0", "getContentEncoding\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getInstanceFollowRedirects](https://developer.android.com/reference/java/net/HttpURLConnection.html#getInstanceFollowRedirects())
pub fn getInstanceFollowRedirects<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/net/HttpURLConnection", java.flags == PUBLIC, .name == "getInstanceFollowRedirects", .descriptor == "()Z"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/net/HttpURLConnection\0", "getInstanceFollowRedirects\0", "()Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setInstanceFollowRedirects](https://developer.android.com/reference/java/net/HttpURLConnection.html#setInstanceFollowRedirects(boolean))
pub fn setInstanceFollowRedirects<'env>(&'env self, arg0: bool) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/net/HttpURLConnection", java.flags == PUBLIC, .name == "setInstanceFollowRedirects", .descriptor == "(Z)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/net/HttpURLConnection\0", "setInstanceFollowRedirects\0", "(Z)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getHeaderFieldDate](https://developer.android.com/reference/java/net/HttpURLConnection.html#getHeaderFieldDate(java.lang.String,%20long))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getHeaderFieldDate<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: i64) -> __jni_bindgen::std::result::Result<i64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/net/HttpURLConnection", java.flags == PUBLIC, .name == "getHeaderFieldDate", .descriptor == "(Ljava/lang/String;J)J"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/net/HttpURLConnection\0", "getHeaderFieldDate\0", "(Ljava/lang/String;J)J\0");
__jni_env.call_long_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setFixedLengthStreamingMode](https://developer.android.com/reference/java/net/HttpURLConnection.html#setFixedLengthStreamingMode(long))
pub fn setFixedLengthStreamingMode_long<'env>(&'env self, arg0: i64) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/net/HttpURLConnection", java.flags == PUBLIC, .name == "setFixedLengthStreamingMode", .descriptor == "(J)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/net/HttpURLConnection\0", "setFixedLengthStreamingMode\0", "(J)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setFixedLengthStreamingMode](https://developer.android.com/reference/java/net/HttpURLConnection.html#setFixedLengthStreamingMode(int))
pub fn setFixedLengthStreamingMode_int<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/net/HttpURLConnection", java.flags == PUBLIC, .name == "setFixedLengthStreamingMode", .descriptor == "(I)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/net/HttpURLConnection\0", "setFixedLengthStreamingMode\0", "(I)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setChunkedStreamingMode](https://developer.android.com/reference/java/net/HttpURLConnection.html#setChunkedStreamingMode(int))
pub fn setChunkedStreamingMode<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/net/HttpURLConnection", java.flags == PUBLIC, .name == "setChunkedStreamingMode", .descriptor == "(I)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/net/HttpURLConnection\0", "setChunkedStreamingMode\0", "(I)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// public static final [HTTP_ACCEPTED](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_ACCEPTED)
pub const HTTP_ACCEPTED : i32 = 202;
/// public static final [HTTP_BAD_GATEWAY](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_BAD_GATEWAY)
pub const HTTP_BAD_GATEWAY : i32 = 502;
/// public static final [HTTP_BAD_METHOD](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_BAD_METHOD)
pub const HTTP_BAD_METHOD : i32 = 405;
/// public static final [HTTP_BAD_REQUEST](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_BAD_REQUEST)
pub const HTTP_BAD_REQUEST : i32 = 400;
/// public static final [HTTP_CLIENT_TIMEOUT](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_CLIENT_TIMEOUT)
pub const HTTP_CLIENT_TIMEOUT : i32 = 408;
/// public static final [HTTP_CONFLICT](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_CONFLICT)
pub const HTTP_CONFLICT : i32 = 409;
/// public static final [HTTP_CREATED](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_CREATED)
pub const HTTP_CREATED : i32 = 201;
/// public static final [HTTP_ENTITY_TOO_LARGE](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_ENTITY_TOO_LARGE)
pub const HTTP_ENTITY_TOO_LARGE : i32 = 413;
/// public static final [HTTP_FORBIDDEN](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_FORBIDDEN)
pub const HTTP_FORBIDDEN : i32 = 403;
/// public static final [HTTP_GATEWAY_TIMEOUT](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_GATEWAY_TIMEOUT)
pub const HTTP_GATEWAY_TIMEOUT : i32 = 504;
/// public static final [HTTP_GONE](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_GONE)
pub const HTTP_GONE : i32 = 410;
/// public static final [HTTP_INTERNAL_ERROR](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_INTERNAL_ERROR)
pub const HTTP_INTERNAL_ERROR : i32 = 500;
/// public static final [HTTP_LENGTH_REQUIRED](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_LENGTH_REQUIRED)
pub const HTTP_LENGTH_REQUIRED : i32 = 411;
/// public static final [HTTP_MOVED_PERM](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_MOVED_PERM)
pub const HTTP_MOVED_PERM : i32 = 301;
/// public static final [HTTP_MOVED_TEMP](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_MOVED_TEMP)
pub const HTTP_MOVED_TEMP : i32 = 302;
/// public static final [HTTP_MULT_CHOICE](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_MULT_CHOICE)
pub const HTTP_MULT_CHOICE : i32 = 300;
/// public static final [HTTP_NOT_ACCEPTABLE](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_NOT_ACCEPTABLE)
pub const HTTP_NOT_ACCEPTABLE : i32 = 406;
/// public static final [HTTP_NOT_AUTHORITATIVE](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_NOT_AUTHORITATIVE)
pub const HTTP_NOT_AUTHORITATIVE : i32 = 203;
/// public static final [HTTP_NOT_FOUND](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_NOT_FOUND)
pub const HTTP_NOT_FOUND : i32 = 404;
/// public static final [HTTP_NOT_IMPLEMENTED](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_NOT_IMPLEMENTED)
pub const HTTP_NOT_IMPLEMENTED : i32 = 501;
/// public static final [HTTP_NOT_MODIFIED](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_NOT_MODIFIED)
pub const HTTP_NOT_MODIFIED : i32 = 304;
/// public static final [HTTP_NO_CONTENT](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_NO_CONTENT)
pub const HTTP_NO_CONTENT : i32 = 204;
/// public static final [HTTP_OK](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_OK)
pub const HTTP_OK : i32 = 200;
/// public static final [HTTP_PARTIAL](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_PARTIAL)
pub const HTTP_PARTIAL : i32 = 206;
/// public static final [HTTP_PAYMENT_REQUIRED](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_PAYMENT_REQUIRED)
pub const HTTP_PAYMENT_REQUIRED : i32 = 402;
/// public static final [HTTP_PRECON_FAILED](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_PRECON_FAILED)
pub const HTTP_PRECON_FAILED : i32 = 412;
/// public static final [HTTP_PROXY_AUTH](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_PROXY_AUTH)
pub const HTTP_PROXY_AUTH : i32 = 407;
/// public static final [HTTP_REQ_TOO_LONG](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_REQ_TOO_LONG)
pub const HTTP_REQ_TOO_LONG : i32 = 414;
/// public static final [HTTP_RESET](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_RESET)
pub const HTTP_RESET : i32 = 205;
/// public static final [HTTP_SEE_OTHER](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_SEE_OTHER)
pub const HTTP_SEE_OTHER : i32 = 303;
/// public static final [HTTP_SERVER_ERROR](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_SERVER_ERROR)
#[deprecated] pub const HTTP_SERVER_ERROR : i32 = 500;
/// public static final [HTTP_UNAUTHORIZED](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_UNAUTHORIZED)
pub const HTTP_UNAUTHORIZED : i32 = 401;
/// public static final [HTTP_UNAVAILABLE](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_UNAVAILABLE)
pub const HTTP_UNAVAILABLE : i32 = 503;
/// public static final [HTTP_UNSUPPORTED_TYPE](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_UNSUPPORTED_TYPE)
pub const HTTP_UNSUPPORTED_TYPE : i32 = 415;
/// public static final [HTTP_USE_PROXY](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_USE_PROXY)
pub const HTTP_USE_PROXY : i32 = 305;
/// public static final [HTTP_VERSION](https://developer.android.com/reference/java/net/HttpURLConnection.html#HTTP_VERSION)
pub const HTTP_VERSION : i32 = 505;
}
}