static IntPtr n_InvokeResponseParser_Lorg_jboss_aerogear_android_pipe_ResponseParser_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Org.Jboss.Aerogear.Android.Pipe.Rest.RestfulPipeConfiguration __this = global::Java.Lang.Object.GetObject <global::Org.Jboss.Aerogear.Android.Pipe.Rest.RestfulPipeConfiguration> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Org.Jboss.Aerogear.Android.Pipe.IResponseParser p0 = (global::Org.Jboss.Aerogear.Android.Pipe.IResponseParser)global::Java.Lang.Object.GetObject <global::Org.Jboss.Aerogear.Android.Pipe.IResponseParser> (native_p0, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.InvokeResponseParser(p0));

            return(__ret);
        }
        static IntPtr n_HandleResponse_Lorg_jboss_aerogear_android_pipe_http_HeaderAndBody_Ljava_lang_Class_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
        {
            global::Org.Jboss.Aerogear.Android.Pipe.IResponseParser    __this = global::Java.Lang.Object.GetObject <global::Org.Jboss.Aerogear.Android.Pipe.IResponseParser> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Org.Jboss.Aerogear.Android.Pipe.Http.HeaderAndBody p0     = global::Java.Lang.Object.GetObject <global::Org.Jboss.Aerogear.Android.Pipe.Http.HeaderAndBody> (native_p0, JniHandleOwnership.DoNotTransfer);
            global::Java.Lang.Class p1 = global::Java.Lang.Object.GetObject <global::Java.Lang.Class> (native_p1, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = global::Android.Runtime.JavaList.ToLocalJniHandle(__this.HandleResponse(p0, p1));

            return(__ret);
        }
 static IntPtr n_GetMarshallingConfig(IntPtr jnienv, IntPtr native__this)
 {
     global::Org.Jboss.Aerogear.Android.Pipe.IResponseParser __this = global::Java.Lang.Object.GetObject <global::Org.Jboss.Aerogear.Android.Pipe.IResponseParser> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.ToLocalJniHandle(__this.MarshallingConfig));
 }
        public virtual unsafe global::Org.Jboss.Aerogear.Android.Pipe.Rest.RestfulPipeConfiguration InvokeResponseParser(global::Org.Jboss.Aerogear.Android.Pipe.IResponseParser p0)
        {
            if (id_responseParser_Lorg_jboss_aerogear_android_pipe_ResponseParser_ == IntPtr.Zero)
            {
                id_responseParser_Lorg_jboss_aerogear_android_pipe_ResponseParser_ = JNIEnv.GetMethodID(class_ref, "responseParser", "(Lorg/jboss/aerogear/android/pipe/ResponseParser;)Lorg/jboss/aerogear/android/pipe/rest/RestfulPipeConfiguration;");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                global::Org.Jboss.Aerogear.Android.Pipe.Rest.RestfulPipeConfiguration __ret;
                if (((object)this).GetType() == ThresholdType)
                {
                    __ret = global::Java.Lang.Object.GetObject <global::Org.Jboss.Aerogear.Android.Pipe.Rest.RestfulPipeConfiguration> (JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_responseParser_Lorg_jboss_aerogear_android_pipe_ResponseParser_, __args), JniHandleOwnership.TransferLocalRef);
                }
                else
                {
                    __ret = global::Java.Lang.Object.GetObject <global::Org.Jboss.Aerogear.Android.Pipe.Rest.RestfulPipeConfiguration> (JNIEnv.CallNonvirtualObjectMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "responseParser", "(Lorg/jboss/aerogear/android/pipe/ResponseParser;)Lorg/jboss/aerogear/android/pipe/rest/RestfulPipeConfiguration;"), __args), JniHandleOwnership.TransferLocalRef);
                }
                return(__ret);
            } finally {
            }
        }