HttpCore 4.1
Package Index
|
Class Index
org.apache.http
org.apache.http.entity
org.apache.http.impl
org.apache.http.impl.entity
org.apache.http.impl.io
org.apache.http.io
org.apache.http.message
org.apache.http.params
org.apache.http.protocol
org.apache.http.util
Interfaces
ConnectionReuseStrategy
FormattedHeader
Header
HeaderElement
HeaderElementIterator
HeaderIterator
HttpClientConnection
HttpConnection
HttpConnectionMetrics
HttpEntity
HttpEntityEnclosingRequest
HttpInetConnection
HttpMessage
HttpRequest
HttpRequestFactory
HttpRequestInterceptor
HttpResponse
HttpResponseFactory
HttpResponseInterceptor
HttpServerConnection
HttpStatus
NameValuePair
ReasonPhraseCatalog
RequestLine
StatusLine
TokenIterator
Classes
HttpHeaders
HttpHost
HttpVersion
ProtocolVersion
Exceptions
ConnectionClosedException
HttpException
MalformedChunkCodingException
MethodNotSupportedException
NoHttpResponseException
ParseException
ProtocolException
TruncatedChunkException
UnsupportedHttpVersionException
Package Index
|
Class Index
Summary:
Methods
|
Inherited Methods
|
[Expand All]
public interface
HttpInetConnection
implements
HttpConnection
org.apache.http.HttpInetConnection
Known Indirect Subclasses
DefaultHttpClientConnection
,
DefaultHttpServerConnection
,
SocketHttpClientConnection
,
SocketHttpServerConnection
DefaultHttpClientConnection
Default implementation of a client-side HTTP connection.
DefaultHttpServerConnection
Default implementation of a server-side HTTP connection.
SocketHttpClientConnection
Implementation of a client-side HTTP connection that can be bound to an arbitrary Socket for receiving data from and transmitting data to a remote server.
SocketHttpServerConnection
Implementation of a server-side HTTP connection that can be bound to a network Socket in order to receive and transmit data.
Class Overview
An HTTP connection over the Internet Protocol (IP).
Summary
Public Methods
abstract
InetAddress
getLocalAddress
()
abstract int
getLocalPort
()
abstract
InetAddress
getRemoteAddress
()
abstract int
getRemotePort
()
[Expand]
Inherited Methods
From interface
org.apache.http.HttpConnection
abstract void
close
()
Closes this connection gracefully.
abstract
HttpConnectionMetrics
getMetrics
()
Returns a collection of connection metrics.
abstract int
getSocketTimeout
()
Returns the socket timeout value.
abstract boolean
isOpen
()
Checks if this connection is open.
abstract boolean
isStale
()
Checks whether this connection has gone down.
abstract void
setSocketTimeout
(int timeout)
Sets the socket timeout value.
abstract void
shutdown
()
Force-closes this connection.
Public Methods
public abstract
InetAddress
getLocalAddress
()
public abstract int
getLocalPort
()
public abstract
InetAddress
getRemoteAddress
()
public abstract int
getRemotePort
()