jni-android-sys 0.0.10

Autogenerated glue code for access Android JVM APIs from Rust
// WARNING:  This file was autogenerated by jni-bindgen.  Any changes to this file may be lost!!!


#[cfg(any(feature = "all", feature = "org-apache-http-protocol-HTTP"))]
__jni_bindgen! {
    /// public final class [HTTP](https://developer.android.com/reference/org/apache/http/protocol/HTTP.html)
    ///
    /// Required feature: "org-apache-http-protocol-HTTP"
    public final class HTTP ("org/apache/http/protocol/HTTP") extends crate::java::lang::Object {

        /// [isWhitespace](https://developer.android.com/reference/org/apache/http/protocol/HTTP.html#isWhitespace(char))
        pub fn isWhitespace<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: __jni_bindgen::jchar) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/apache/http/protocol/HTTP", java.flags == PUBLIC | STATIC, .name == "isWhitespace", .descriptor == "(C)Z"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("org/apache/http/protocol/HTTP\0", "isWhitespace\0", "(C)Z\0");
                __jni_env.call_static_boolean_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// public static final [ASCII](https://developer.android.com/reference/org/apache/http/protocol/HTTP.html#ASCII)
        pub const ASCII : &'static str = "ASCII";

        /// public static final [CHARSET_PARAM](https://developer.android.com/reference/org/apache/http/protocol/HTTP.html#CHARSET_PARAM)
        pub const CHARSET_PARAM : &'static str = "; charset=";

        /// public static final [CHUNK_CODING](https://developer.android.com/reference/org/apache/http/protocol/HTTP.html#CHUNK_CODING)
        pub const CHUNK_CODING : &'static str = "chunked";

        /// public static final [CONN_CLOSE](https://developer.android.com/reference/org/apache/http/protocol/HTTP.html#CONN_CLOSE)
        pub const CONN_CLOSE : &'static str = "Close";

        /// public static final [CONN_DIRECTIVE](https://developer.android.com/reference/org/apache/http/protocol/HTTP.html#CONN_DIRECTIVE)
        pub const CONN_DIRECTIVE : &'static str = "Connection";

        /// public static final [CONN_KEEP_ALIVE](https://developer.android.com/reference/org/apache/http/protocol/HTTP.html#CONN_KEEP_ALIVE)
        pub const CONN_KEEP_ALIVE : &'static str = "Keep-Alive";

        /// public static final [CONTENT_ENCODING](https://developer.android.com/reference/org/apache/http/protocol/HTTP.html#CONTENT_ENCODING)
        pub const CONTENT_ENCODING : &'static str = "Content-Encoding";

        /// public static final [CONTENT_LEN](https://developer.android.com/reference/org/apache/http/protocol/HTTP.html#CONTENT_LEN)
        pub const CONTENT_LEN : &'static str = "Content-Length";

        /// public static final [CONTENT_TYPE](https://developer.android.com/reference/org/apache/http/protocol/HTTP.html#CONTENT_TYPE)
        pub const CONTENT_TYPE : &'static str = "Content-Type";

        /// public static final [CR](https://developer.android.com/reference/org/apache/http/protocol/HTTP.html#CR)
        pub const CR : i32 = 13;

        /// public static final [DATE_HEADER](https://developer.android.com/reference/org/apache/http/protocol/HTTP.html#DATE_HEADER)
        pub const DATE_HEADER : &'static str = "Date";

        /// public static final [DEFAULT_CONTENT_CHARSET](https://developer.android.com/reference/org/apache/http/protocol/HTTP.html#DEFAULT_CONTENT_CHARSET)
        pub const DEFAULT_CONTENT_CHARSET : &'static str = "ISO-8859-1";

        /// public static final [DEFAULT_CONTENT_TYPE](https://developer.android.com/reference/org/apache/http/protocol/HTTP.html#DEFAULT_CONTENT_TYPE)
        pub const DEFAULT_CONTENT_TYPE : &'static str = "application/octet-stream";

        /// public static final [DEFAULT_PROTOCOL_CHARSET](https://developer.android.com/reference/org/apache/http/protocol/HTTP.html#DEFAULT_PROTOCOL_CHARSET)
        pub const DEFAULT_PROTOCOL_CHARSET : &'static str = "US-ASCII";

        /// public static final [EXPECT_CONTINUE](https://developer.android.com/reference/org/apache/http/protocol/HTTP.html#EXPECT_CONTINUE)
        pub const EXPECT_CONTINUE : &'static str = "100-continue";

        /// public static final [EXPECT_DIRECTIVE](https://developer.android.com/reference/org/apache/http/protocol/HTTP.html#EXPECT_DIRECTIVE)
        pub const EXPECT_DIRECTIVE : &'static str = "Expect";

        /// public static final [HT](https://developer.android.com/reference/org/apache/http/protocol/HTTP.html#HT)
        pub const HT : i32 = 9;

        /// public static final [IDENTITY_CODING](https://developer.android.com/reference/org/apache/http/protocol/HTTP.html#IDENTITY_CODING)
        pub const IDENTITY_CODING : &'static str = "identity";

        /// public static final [ISO_8859_1](https://developer.android.com/reference/org/apache/http/protocol/HTTP.html#ISO_8859_1)
        pub const ISO_8859_1 : &'static str = "ISO-8859-1";

        /// public static final [LF](https://developer.android.com/reference/org/apache/http/protocol/HTTP.html#LF)
        pub const LF : i32 = 10;

        /// public static final [OCTET_STREAM_TYPE](https://developer.android.com/reference/org/apache/http/protocol/HTTP.html#OCTET_STREAM_TYPE)
        pub const OCTET_STREAM_TYPE : &'static str = "application/octet-stream";

        /// public static final [PLAIN_TEXT_TYPE](https://developer.android.com/reference/org/apache/http/protocol/HTTP.html#PLAIN_TEXT_TYPE)
        pub const PLAIN_TEXT_TYPE : &'static str = "text/plain";

        /// public static final [SERVER_HEADER](https://developer.android.com/reference/org/apache/http/protocol/HTTP.html#SERVER_HEADER)
        pub const SERVER_HEADER : &'static str = "Server";

        /// public static final [SP](https://developer.android.com/reference/org/apache/http/protocol/HTTP.html#SP)
        pub const SP : i32 = 32;

        /// public static final [TARGET_HOST](https://developer.android.com/reference/org/apache/http/protocol/HTTP.html#TARGET_HOST)
        pub const TARGET_HOST : &'static str = "Host";

        /// public static final [TRANSFER_ENCODING](https://developer.android.com/reference/org/apache/http/protocol/HTTP.html#TRANSFER_ENCODING)
        pub const TRANSFER_ENCODING : &'static str = "Transfer-Encoding";

        /// public static final [USER_AGENT](https://developer.android.com/reference/org/apache/http/protocol/HTTP.html#USER_AGENT)
        pub const USER_AGENT : &'static str = "User-Agent";

        /// public static final [US_ASCII](https://developer.android.com/reference/org/apache/http/protocol/HTTP.html#US_ASCII)
        pub const US_ASCII : &'static str = "US-ASCII";

        /// public static final [UTF_16](https://developer.android.com/reference/org/apache/http/protocol/HTTP.html#UTF_16)
        pub const UTF_16 : &'static str = "UTF-16";

        /// public static final [UTF_8](https://developer.android.com/reference/org/apache/http/protocol/HTTP.html#UTF_8)
        pub const UTF_8 : &'static str = "UTF-8";
    }
}