Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public class

WaitingThreadAborter

extends Object
java.lang.Object
   ↳ org.apache.http.impl.conn.tsccm.WaitingThreadAborter

Class Overview

A simple class that can interrupt a WaitingThread .

Summary

Public Constructors
WaitingThreadAborter ()
Public Methods
void abort ()
If a waiting thread has been set, interrupts it.
void setWaitingThread ( WaitingThread waitingThread)
Sets the waiting thread.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public WaitingThreadAborter ()

Added in API level 1

Public Methods

public void abort ()

Added in API level 1

If a waiting thread has been set, interrupts it.

public void setWaitingThread ( WaitingThread waitingThread)

Added in API level 1

Sets the waiting thread. If this has already been aborted, the waiting thread is immediately interrupted.

Parameters
waitingThread The thread to interrupt when aborting.