// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "org-apache-http-message-LineFormatter"))]
__jni_bindgen! {
/// public interface [LineFormatter](https://developer.android.com/reference/org/apache/http/message/LineFormatter.html)
///
/// Required feature: "org-apache-http-message-LineFormatter"
#[deprecated] public interface LineFormatter ("org/apache/http/message/LineFormatter") extends crate::java::lang::Object {
/// [appendProtocolVersion](https://developer.android.com/reference/org/apache/http/message/LineFormatter.html#appendProtocolVersion(org.apache.http.util.CharArrayBuffer,%20org.apache.http.ProtocolVersion))
///
/// Required features: "org-apache-http-ProtocolVersion", "org-apache-http-util-CharArrayBuffer"
#[cfg(any(feature = "all", all(feature = "org-apache-http-ProtocolVersion", feature = "org-apache-http-util-CharArrayBuffer")))]
pub fn appendProtocolVersion<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::util::CharArrayBuffer>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::ProtocolVersion>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::apache::http::util::CharArrayBuffer>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/message/LineFormatter", java.flags == PUBLIC | ABSTRACT, .name == "appendProtocolVersion", .descriptor == "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/ProtocolVersion;)Lorg/apache/http/util/CharArrayBuffer;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/apache/http/message/LineFormatter\0", "appendProtocolVersion\0", "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/ProtocolVersion;)Lorg/apache/http/util/CharArrayBuffer;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [formatRequestLine](https://developer.android.com/reference/org/apache/http/message/LineFormatter.html#formatRequestLine(org.apache.http.util.CharArrayBuffer,%20org.apache.http.RequestLine))
///
/// Required features: "org-apache-http-RequestLine", "org-apache-http-util-CharArrayBuffer"
#[cfg(any(feature = "all", all(feature = "org-apache-http-RequestLine", feature = "org-apache-http-util-CharArrayBuffer")))]
pub fn formatRequestLine<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::util::CharArrayBuffer>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::RequestLine>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::apache::http::util::CharArrayBuffer>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/message/LineFormatter", java.flags == PUBLIC | ABSTRACT, .name == "formatRequestLine", .descriptor == "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/RequestLine;)Lorg/apache/http/util/CharArrayBuffer;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/apache/http/message/LineFormatter\0", "formatRequestLine\0", "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/RequestLine;)Lorg/apache/http/util/CharArrayBuffer;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [formatStatusLine](https://developer.android.com/reference/org/apache/http/message/LineFormatter.html#formatStatusLine(org.apache.http.util.CharArrayBuffer,%20org.apache.http.StatusLine))
///
/// Required features: "org-apache-http-StatusLine", "org-apache-http-util-CharArrayBuffer"
#[cfg(any(feature = "all", all(feature = "org-apache-http-StatusLine", feature = "org-apache-http-util-CharArrayBuffer")))]
pub fn formatStatusLine<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::util::CharArrayBuffer>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::StatusLine>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::apache::http::util::CharArrayBuffer>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/message/LineFormatter", java.flags == PUBLIC | ABSTRACT, .name == "formatStatusLine", .descriptor == "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/StatusLine;)Lorg/apache/http/util/CharArrayBuffer;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/apache/http/message/LineFormatter\0", "formatStatusLine\0", "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/StatusLine;)Lorg/apache/http/util/CharArrayBuffer;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [formatHeader](https://developer.android.com/reference/org/apache/http/message/LineFormatter.html#formatHeader(org.apache.http.util.CharArrayBuffer,%20org.apache.http.Header))
///
/// Required features: "org-apache-http-Header", "org-apache-http-util-CharArrayBuffer"
#[cfg(any(feature = "all", all(feature = "org-apache-http-Header", feature = "org-apache-http-util-CharArrayBuffer")))]
pub fn formatHeader<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::util::CharArrayBuffer>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::Header>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::apache::http::util::CharArrayBuffer>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/message/LineFormatter", java.flags == PUBLIC | ABSTRACT, .name == "formatHeader", .descriptor == "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/Header;)Lorg/apache/http/util/CharArrayBuffer;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/apache/http/message/LineFormatter\0", "formatHeader\0", "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/Header;)Lorg/apache/http/util/CharArrayBuffer;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
}
}