Android
Documentation
What is Android?
Getting Started
Installing the SDK
Upgrading the SDK
Developing/Debugging
Hello Android
Anatomy of an App
Notepad Tutorial
Development Tools
Application Model
Application Life Cycle
Developing Applications
Implementing a UI
Building Blocks
Data Storage and Retrieval
Security Model
Resources and i18n
Developer Toolbox
Design Philosophy
Building Custom Components
Optional APIs
Reference Information
Package Index
Class Index
Class Hierarchy
List of Views
List of Intents
List of Permissions
List of Resource Types
Android IDL
Glossary
Index
FAQs
General
Common Tasks
Troubleshooting
Open Source Licensing
Application Framework
Security
Goodies
org.apache.http
public interface
org.apache.http.HttpInetConnection
org.apache.http.HttpInetConnection
HttpConnection
An HTTP connection over the Internet Protocol (IP).
Known Indirect Subclasses
ManagedClientConnection
,
OperatedClientConnection
ManagedClientConnection
A client-side connection with advanced connection logic.
OperatedClientConnection
A client-side connection that relies on outside logic to connect sockets to the appropriate hosts.
Summary
Public Methods
InetAddress
getLocalAddress
()
int
getLocalPort
()
InetAddress
getRemoteAddress
()
int
getRemotePort
()
Methods inherited from interface
org.apache.http.HttpConnection
close
,
getMetrics
,
getSocketTimeout
,
isOpen
,
isStale
,
setSocketTimeout
,
shutdown
void
close
()
Closes this connection gracefully.
HttpConnectionMetrics
getMetrics
()
Returns a collection of connection metrcis
int
getSocketTimeout
()
Returns the socket timeout value.
boolean
isOpen
()
Checks if this connection is open.
boolean
isStale
()
Checks whether this connection has gone down.
void
setSocketTimeout
(int timeout)
Sets the socket timeout value.
void
shutdown
()
Force-closes this connection.
Details
Public Methods
public
InetAddress
getLocalAddress()
public int getLocalPort()
public
InetAddress
getRemoteAddress()
public int getRemotePort()
Copyright 2007
Google Inc.
Build 0.9_r1-98467 - 14 Aug 2008 18:56