// 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-BasicLineFormatter"))]
__jni_bindgen! {
/// public class [BasicLineFormatter](https://developer.android.com/reference/org/apache/http/message/BasicLineFormatter.html)
///
/// Required feature: "org-apache-http-message-BasicLineFormatter"
#[deprecated] public class BasicLineFormatter ("org/apache/http/message/BasicLineFormatter") extends crate::java::lang::Object, implements crate::org::apache::http::message::LineFormatter {
/// [BasicLineFormatter](https://developer.android.com/reference/org/apache/http/message/BasicLineFormatter.html#BasicLineFormatter())
pub fn new<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::org::apache::http::message::BasicLineFormatter>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/message/BasicLineFormatter", java.flags == PUBLIC, .name == "<init>", .descriptor == "()V"
unsafe {
let __jni_args = [];
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/apache/http/message/BasicLineFormatter\0", "<init>\0", "()V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [formatProtocolVersion](https://developer.android.com/reference/org/apache/http/message/BasicLineFormatter.html#formatProtocolVersion(org.apache.http.ProtocolVersion,%20org.apache.http.message.LineFormatter))
///
/// Required features: "java-lang-String", "org-apache-http-ProtocolVersion", "org-apache-http-message-LineFormatter"
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "org-apache-http-ProtocolVersion", feature = "org-apache-http-message-LineFormatter")))]
pub fn formatProtocolVersion<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::ProtocolVersion>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::message::LineFormatter>>) -> __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 == "org/apache/http/message/BasicLineFormatter", java.flags == PUBLIC | STATIC | FINAL, .name == "formatProtocolVersion", .descriptor == "(Lorg/apache/http/ProtocolVersion;Lorg/apache/http/message/LineFormatter;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("org/apache/http/message/BasicLineFormatter\0", "formatProtocolVersion\0", "(Lorg/apache/http/ProtocolVersion;Lorg/apache/http/message/LineFormatter;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [appendProtocolVersion](https://developer.android.com/reference/org/apache/http/message/BasicLineFormatter.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/BasicLineFormatter", java.flags == PUBLIC, .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/BasicLineFormatter\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/BasicLineFormatter.html#formatRequestLine(org.apache.http.RequestLine,%20org.apache.http.message.LineFormatter))
///
/// Required features: "java-lang-String", "org-apache-http-RequestLine", "org-apache-http-message-LineFormatter"
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "org-apache-http-RequestLine", feature = "org-apache-http-message-LineFormatter")))]
pub fn formatRequestLine_RequestLine_LineFormatter<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::RequestLine>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::message::LineFormatter>>) -> __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 == "org/apache/http/message/BasicLineFormatter", java.flags == PUBLIC | STATIC | FINAL, .name == "formatRequestLine", .descriptor == "(Lorg/apache/http/RequestLine;Lorg/apache/http/message/LineFormatter;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("org/apache/http/message/BasicLineFormatter\0", "formatRequestLine\0", "(Lorg/apache/http/RequestLine;Lorg/apache/http/message/LineFormatter;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [formatRequestLine](https://developer.android.com/reference/org/apache/http/message/BasicLineFormatter.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_CharArrayBuffer_RequestLine<'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/BasicLineFormatter", java.flags == PUBLIC, .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/BasicLineFormatter\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/BasicLineFormatter.html#formatStatusLine(org.apache.http.StatusLine,%20org.apache.http.message.LineFormatter))
///
/// Required features: "java-lang-String", "org-apache-http-StatusLine", "org-apache-http-message-LineFormatter"
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "org-apache-http-StatusLine", feature = "org-apache-http-message-LineFormatter")))]
pub fn formatStatusLine_StatusLine_LineFormatter<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::StatusLine>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::message::LineFormatter>>) -> __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 == "org/apache/http/message/BasicLineFormatter", java.flags == PUBLIC | STATIC | FINAL, .name == "formatStatusLine", .descriptor == "(Lorg/apache/http/StatusLine;Lorg/apache/http/message/LineFormatter;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("org/apache/http/message/BasicLineFormatter\0", "formatStatusLine\0", "(Lorg/apache/http/StatusLine;Lorg/apache/http/message/LineFormatter;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [formatStatusLine](https://developer.android.com/reference/org/apache/http/message/BasicLineFormatter.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_CharArrayBuffer_StatusLine<'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/BasicLineFormatter", java.flags == PUBLIC, .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/BasicLineFormatter\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/BasicLineFormatter.html#formatHeader(org.apache.http.Header,%20org.apache.http.message.LineFormatter))
///
/// Required features: "java-lang-String", "org-apache-http-Header", "org-apache-http-message-LineFormatter"
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "org-apache-http-Header", feature = "org-apache-http-message-LineFormatter")))]
pub fn formatHeader_Header_LineFormatter<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::Header>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::message::LineFormatter>>) -> __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 == "org/apache/http/message/BasicLineFormatter", java.flags == PUBLIC | STATIC | FINAL, .name == "formatHeader", .descriptor == "(Lorg/apache/http/Header;Lorg/apache/http/message/LineFormatter;)Ljava/lang/String;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("org/apache/http/message/BasicLineFormatter\0", "formatHeader\0", "(Lorg/apache/http/Header;Lorg/apache/http/message/LineFormatter;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [formatHeader](https://developer.android.com/reference/org/apache/http/message/BasicLineFormatter.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_CharArrayBuffer_Header<'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/BasicLineFormatter", java.flags == PUBLIC, .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/BasicLineFormatter\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())
}
}
/// **get** public static final [DEFAULT](https://developer.android.com/reference/org/apache/http/message/BasicLineFormatter.html#DEFAULT)
///
/// Required feature: "org-apache-http-message-BasicLineFormatter"
#[cfg(any(feature = "all", feature = "org-apache-http-message-BasicLineFormatter"))]
pub fn DEFAULT<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::apache::http::message::BasicLineFormatter>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("org/apache/http/message/BasicLineFormatter\0", "DEFAULT\0", "Lorg/apache/http/message/BasicLineFormatter;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
}
}