Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.http
Interface HttpInetConnection

All Superinterfaces:
  Closeable, HttpConnection

All Known Implementing Classes:
  BHttpConnectionBase, DefaultBHttpClientConnection, DefaultBHttpServerConnection, DefaultHttpClientConnection, DefaultHttpServerConnection, DefaultNHttpClientConnection, DefaultNHttpServerConnection, NHttpConnectionBase, SocketHttpClientConnection, SocketHttpServerConnection

    public interface HttpInetConnection

extends HttpConnection

An HTTP connection over the Internet Protocol (IP).

Since:
  4.0

Method Summary
`InetAddress` | `getLocalAddress()`
`int` | `getLocalPort()`
`InetAddress` | `getRemoteAddress()`
`int` | `getRemotePort()`

Methods inherited from interface org.apache.http.HttpConnection
`close, getMetrics, getSocketTimeout, isOpen, isStale, setSocketTimeout, shutdown`

Method Detail

### getLocalAddress

    InetAddress getLocalAddress()

### getLocalPort

    int getLocalPort()

### getRemoteAddress

    InetAddress getRemoteAddress()

### getRemotePort

    int getRemotePort()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.