Other Tools

// GENERATED CODE
// Generated by the Java program at /build/annotationProcessors at compile time
// from annotations on Java methods. To update, change the annotations on the
// corresponding Java methods and rerun the build. Manually updating this file
// will cause your build to fail.
#ifndef MOZ_PREPROCESSOR
#include "mozilla/java/WebResponseWrappers.h"
#include "mozilla/jni/Accessors.h"
#endif
namespace mozilla {
namespace java {
const char WebResponse::name[] =
"org/mozilla/geckoview/WebResponse";
constexpr char WebResponse::New_t::name[];
constexpr char WebResponse::New_t::signature[];
auto WebResponse::New(mozilla::jni::Object::Param a0) -> WebResponse::LocalRef
{
return mozilla::jni::Constructor<New_t>::Call(WebResponse::Context(), nullptr, a0);
}
constexpr char WebResponse::SetReadTimeoutMillis_t::name[];
constexpr char WebResponse::SetReadTimeoutMillis_t::signature[];
auto WebResponse::SetReadTimeoutMillis(int64_t a0) const -> void
{
return mozilla::jni::Method<SetReadTimeoutMillis_t>::Call(WebResponse::mCtx, nullptr, a0);
}
constexpr char WebResponse::Body_t::name[];
constexpr char WebResponse::Body_t::signature[];
auto WebResponse::Body() const -> mozilla::jni::Object::LocalRef
{
return mozilla::jni::Field<Body_t>::Get(WebResponse::mCtx, nullptr);
}
constexpr char WebResponse::Certificate_t::name[];
constexpr char WebResponse::Certificate_t::signature[];
auto WebResponse::Certificate() const -> mozilla::jni::Object::LocalRef
{
return mozilla::jni::Field<Certificate_t>::Get(WebResponse::mCtx, nullptr);
}
constexpr char WebResponse::IsSecure_t::name[];
constexpr char WebResponse::IsSecure_t::signature[];
auto WebResponse::IsSecure() const -> bool
{
return mozilla::jni::Field<IsSecure_t>::Get(WebResponse::mCtx, nullptr);
}
constexpr char WebResponse::Redirected_t::name[];
constexpr char WebResponse::Redirected_t::signature[];
auto WebResponse::Redirected() const -> bool
{
return mozilla::jni::Field<Redirected_t>::Get(WebResponse::mCtx, nullptr);
}
constexpr char WebResponse::StatusCode_t::name[];
constexpr char WebResponse::StatusCode_t::signature[];
auto WebResponse::StatusCode() const -> int32_t
{
return mozilla::jni::Field<StatusCode_t>::Get(WebResponse::mCtx, nullptr);
}
const char WebResponse::Builder::name[] =
"org/mozilla/geckoview/WebResponse$Builder";
constexpr char WebResponse::Builder::New_t::name[];
constexpr char WebResponse::Builder::New_t::signature[];
auto WebResponse::Builder::New(mozilla::jni::String::Param a0) -> Builder::LocalRef
{
return mozilla::jni::Constructor<New_t>::Call(Builder::Context(), nullptr, a0);
}
constexpr char WebResponse::Builder::AddHeader2_t::name[];
constexpr char WebResponse::Builder::AddHeader2_t::signature[];
auto WebResponse::Builder::AddHeader(mozilla::jni::String::Param a0, mozilla::jni::String::Param a1) const -> Builder::LocalRef
{
return mozilla::jni::Method<AddHeader2_t>::Call(Builder::mCtx, nullptr, a0, a1);
}
constexpr char WebResponse::Builder::Body_t::name[];
constexpr char WebResponse::Builder::Body_t::signature[];
auto WebResponse::Builder::Body(mozilla::jni::Object::Param a0) const -> Builder::LocalRef
{
return mozilla::jni::Method<Body_t>::Call(Builder::mCtx, nullptr, a0);
}
constexpr char WebResponse::Builder::Build_t::name[];
constexpr char WebResponse::Builder::Build_t::signature[];
auto WebResponse::Builder::Build() const -> WebResponse::LocalRef
{
return mozilla::jni::Method<Build_t>::Call(Builder::mCtx, nullptr);
}
constexpr char WebResponse::Builder::Certificate_t::name[];
constexpr char WebResponse::Builder::Certificate_t::signature[];
auto WebResponse::Builder::Certificate(mozilla::jni::Object::Param a0) const -> Builder::LocalRef
{
return mozilla::jni::Method<Certificate_t>::Call(Builder::mCtx, nullptr, a0);
}
constexpr char WebResponse::Builder::CertificateBytes_t::name[];
constexpr char WebResponse::Builder::CertificateBytes_t::signature[];
auto WebResponse::Builder::CertificateBytes(mozilla::jni::ByteArray::Param a0) const -> nsresult
{
nsresult rv = NS_OK;
mozilla::jni::Method<CertificateBytes_t>::Call(Builder::mCtx, &rv, a0);
return rv;
}
constexpr char WebResponse::Builder::Header2_t::name[];
constexpr char WebResponse::Builder::Header2_t::signature[];
auto WebResponse::Builder::Header(mozilla::jni::String::Param a0, mozilla::jni::String::Param a1) const -> Builder::LocalRef
{
return mozilla::jni::Method<Header2_t>::Call(Builder::mCtx, nullptr, a0, a1);
}
constexpr char WebResponse::Builder::IsSecure_t::name[];
constexpr char WebResponse::Builder::IsSecure_t::signature[];
auto WebResponse::Builder::IsSecure(bool a0) const -> Builder::LocalRef
{
return mozilla::jni::Method<IsSecure_t>::Call(Builder::mCtx, nullptr, a0);
}
constexpr char WebResponse::Builder::Redirected_t::name[];
constexpr char WebResponse::Builder::Redirected_t::signature[];
auto WebResponse::Builder::Redirected(bool a0) const -> Builder::LocalRef
{
return mozilla::jni::Method<Redirected_t>::Call(Builder::mCtx, nullptr, a0);
}
constexpr char WebResponse::Builder::StatusCode_t::name[];
constexpr char WebResponse::Builder::StatusCode_t::signature[];
auto WebResponse::Builder::StatusCode(int32_t a0) const -> Builder::LocalRef
{
return mozilla::jni::Method<StatusCode_t>::Call(Builder::mCtx, nullptr, a0);
}
constexpr char WebResponse::Builder::Uri2_t::name[];
constexpr char WebResponse::Builder::Uri2_t::signature[];
auto WebResponse::Builder::Uri(mozilla::jni::String::Param a0) const -> Builder::LocalRef
{
return mozilla::jni::Method<Uri2_t>::Call(Builder::mCtx, nullptr, a0);
}
constexpr char WebResponse::Builder::MBody_t::name[];
constexpr char WebResponse::Builder::MBody_t::signature[];
auto WebResponse::Builder::MBody() const -> mozilla::jni::Object::LocalRef
{
return mozilla::jni::Field<MBody_t>::Get(Builder::mCtx, nullptr);
}
auto WebResponse::Builder::MBody(mozilla::jni::Object::Param a0) const -> void
{
return mozilla::jni::Field<MBody_t>::Set(Builder::mCtx, nullptr, a0);
}
constexpr char WebResponse::Builder::MCertificate_t::name[];
constexpr char WebResponse::Builder::MCertificate_t::signature[];
auto WebResponse::Builder::MCertificate() const -> mozilla::jni::Object::LocalRef
{
return mozilla::jni::Field<MCertificate_t>::Get(Builder::mCtx, nullptr);
}
auto WebResponse::Builder::MCertificate(mozilla::jni::Object::Param a0) const -> void
{
return mozilla::jni::Field<MCertificate_t>::Set(Builder::mCtx, nullptr, a0);
}
constexpr char WebResponse::Builder::MIsSecure_t::name[];
constexpr char WebResponse::Builder::MIsSecure_t::signature[];
auto WebResponse::Builder::MIsSecure() const -> bool
{
return mozilla::jni::Field<MIsSecure_t>::Get(Builder::mCtx, nullptr);
}
auto WebResponse::Builder::MIsSecure(bool a0) const -> void
{
return mozilla::jni::Field<MIsSecure_t>::Set(Builder::mCtx, nullptr, a0);
}
constexpr char WebResponse::Builder::MRedirected_t::name[];
constexpr char WebResponse::Builder::MRedirected_t::signature[];
auto WebResponse::Builder::MRedirected() const -> bool
{
return mozilla::jni::Field<MRedirected_t>::Get(Builder::mCtx, nullptr);
}
auto WebResponse::Builder::MRedirected(bool a0) const -> void
{
return mozilla::jni::Field<MRedirected_t>::Set(Builder::mCtx, nullptr, a0);
}
constexpr char WebResponse::Builder::MStatusCode_t::name[];
constexpr char WebResponse::Builder::MStatusCode_t::signature[];
auto WebResponse::Builder::MStatusCode() const -> int32_t
{
return mozilla::jni::Field<MStatusCode_t>::Get(Builder::mCtx, nullptr);
}
auto WebResponse::Builder::MStatusCode(int32_t a0) const -> void
{
return mozilla::jni::Field<MStatusCode_t>::Set(Builder::mCtx, nullptr, a0);
}
} /* java */
} /* mozilla */