次の方法で共有


HttpAuthHandler Class

Definition

Represents a request for HTTP authentication.

[Android.Runtime.Register("android/webkit/HttpAuthHandler", DoNotGenerateAcw=true)]
public class HttpAuthHandler : Android.OS.Handler
[<Android.Runtime.Register("android/webkit/HttpAuthHandler", DoNotGenerateAcw=true)>]
type HttpAuthHandler = class
    inherit Handler
Inheritance
HttpAuthHandler
Attributes

Remarks

Represents a request for HTTP authentication. Instances of this class are created by the WebView and passed to WebViewClient#onReceivedHttpAuthRequest. The host application must call either #proceed or #cancel to set the WebView's response to the request.

Java documentation for android.webkit.HttpAuthHandler.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

HttpAuthHandler(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

Properties

Class

Returns the runtime class of this Object.

(Inherited from Object)
Handle

The handle to the underlying Android instance.

(Inherited from Object)
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
Looper (Inherited from Handler)
PeerReference (Inherited from Object)
ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Methods

Cancel()

Instructs the WebView to cancel the authentication request.

Clone()

Creates and returns a copy of this object.

(Inherited from Object)
DispatchMessage(Message)

Handle system messages here.

(Inherited from Handler)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Dump(IPrinter, String) (Inherited from Handler)
DumpAsync(IPrinter, String) (Inherited from Handler)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
GetMessageName(Message)

Returns a string representing the name of the specified message.

(Inherited from Handler)
HandleMessage(Message)

Subclasses must implement this to receive messages.

(Inherited from Handler)
HasCallbacks(IRunnable)

Check if there are any pending posts of messages with callback r in the message queue.

(Inherited from Handler)
HasMessages(Int32, Object)

Check if there are any pending posts of messages with code 'what' and whose obj is 'object' in the message queue.

(Inherited from Handler)
HasMessages(Int32)

Check if there are any pending posts of messages with code 'what' in the message queue.

(Inherited from Handler)
JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
ObtainMessage()

Returns a new android.os.Message Message from the global message pool.

(Inherited from Handler)
ObtainMessage(Int32, Int32, Int32, Object)

Same as #obtainMessage(), except that it also sets the what, obj, arg1,and arg2 values on the returned Message.

(Inherited from Handler)
ObtainMessage(Int32, Int32, Int32)

Same as #obtainMessage(), except that it also sets the what, arg1 and arg2 members of the returned Message.

(Inherited from Handler)
ObtainMessage(Int32, Object)

Same as #obtainMessage(), except that it also sets the what and obj members of the returned Message.

(Inherited from Handler)
ObtainMessage(Int32)

Same as #obtainMessage(), except that it also sets the what member of the returned Message.

(Inherited from Handler)
Post(Action) (Inherited from Handler)
Post(IRunnable)

Causes the Runnable r to be added to the message queue.

(Inherited from Handler)
PostAtFrontOfQueue(Action) (Inherited from Handler)
PostAtFrontOfQueue(IRunnable)

Posts a message to an object that implements Runnable.

(Inherited from Handler)
PostAtTime(Action, Int64) (Inherited from Handler)
PostAtTime(Action, Object, Int64) (Inherited from Handler)
PostAtTime(IRunnable, Int64)

Causes the Runnable r to be added to the message queue, to be run at a specific time given by <var>uptimeMillis</var>.

(Inherited from Handler)
PostAtTime(IRunnable, Object, Int64)

Causes the Runnable r to be added to the message queue, to be run at a specific time given by <var>uptimeMillis</var>.

(Inherited from Handler)
PostDelayed(Action, Int64) (Inherited from Handler)
PostDelayed(IRunnable, Int64)

Causes the Runnable r to be added to the message queue, to be run after the specified amount of time elapses.

(Inherited from Handler)
PostDelayed(IRunnable, Object, Int64)

Causes the Runnable r to be added to the message queue, to be run after the specified amount of time elapses.

(Inherited from Handler)
Proceed(String, String)

Instructs the WebView to proceed with the authentication with the given credentials.

RemoveCallbacks(Action, Object) (Inherited from Handler)
RemoveCallbacks(Action) (Inherited from Handler)
RemoveCallbacks(IRunnable, Object)

Remove any pending posts of Runnable <var>r</var> with Object <var>token</var> that are in the message queue.

(Inherited from Handler)
RemoveCallbacks(IRunnable)

Remove any pending posts of Runnable r that are in the message queue.

(Inherited from Handler)
RemoveCallbacksAndMessages(Object)

Remove any pending posts of callbacks and sent messages whose <var>obj</var> is <var>token</var>.

(Inherited from Handler)
RemoveMessages(Int32, Object)

Remove any pending posts of messages with code 'what' and whose obj is 'object' that are in the message queue.

(Inherited from Handler)
RemoveMessages(Int32)

Remove any pending posts of messages with code 'what' that are in the message queue.

(Inherited from Handler)
SendEmptyMessage(Int32)

Sends a Message containing only the what value.

(Inherited from Handler)
SendEmptyMessageAtTime(Int32, Int64)

Sends a Message containing only the what value, to be delivered at a specific time.

(Inherited from Handler)
SendEmptyMessageDelayed(Int32, Int64)

Sends a Message containing only the what value, to be delivered after the specified amount of time elapses.

(Inherited from Handler)
SendMessage(Message)

Pushes a message onto the end of the message queue after all pending messages before the current time.

(Inherited from Handler)
SendMessageAtFrontOfQueue(Message)

Enqueue a message at the front of the message queue, to be processed on the next iteration of the message loop.

(Inherited from Handler)
SendMessageAtTime(Message, Int64)

Enqueue a message into the message queue after all pending messages before the absolute time (in milliseconds) <var>uptimeMillis</var>.

(Inherited from Handler)
SendMessageDelayed(Message, Int64)

Enqueue a message into the message queue after all pending messages before (current time + delayMillis).

(Inherited from Handler)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
UseHttpAuthUsernamePassword()

Gets whether the credentials stored for the current host (i.

Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to