|
|||||||||
| Home >> All >> com >> go >> trove >> [ net overview ] | PREV NEXT | ||||||||
A
- accept(SocketImpl) - Method in class com.go.trove.net.FilteredSocket.Impl
- accept(SocketImpl) - Method in class com.go.trove.net.LazySocket.Impl
- add(Object, Object) - Method in class com.go.trove.net.HttpHeaderMap
- Add more than one value associated with the given key.
- addExceptionListener(CheckedSocket.ExceptionListener) - Method in class com.go.trove.net.CheckedSocket
- Internally, the collection of listeners is saved in a set so that listener instances may be added multiple times without harm.
- addHeader(String, Object) - Method in class com.go.trove.net.HttpClient
- Add a header name-value pair to the request in order for multiple values to be specified.
- addListener(InetAddressListener) - Method in class com.go.trove.net.InetAddressResolver
- addSocketFactory(SocketFactory) - Method in class com.go.trove.net.DistributedSocketFactory
- append2Digit(CharToByteBuffer, int) - Static method in class com.go.trove.net.HttpHeaderMap
- append4Digit(CharToByteBuffer, int) - Static method in class com.go.trove.net.HttpHeaderMap
- appendDate(CharToByteBuffer, Date) - Static method in class com.go.trove.net.HttpHeaderMap
- appendTo(CharToByteBuffer) - Method in class com.go.trove.net.HttpHeaderMap
- applyOptions() - Method in class com.go.trove.net.LazySocket.Impl
- available() - Method in class com.go.trove.net.CheckedSocket.Input
- available() - Method in class com.go.trove.net.FilteredSocket.Impl
- available() - Method in class com.go.trove.net.HttpClient.ResponseInput
- available() - Method in class com.go.trove.net.LazySocket.Impl.In
- available() - Method in class com.go.trove.net.LazySocket.Impl
B
- BufferedSocket - class com.go.trove.net.BufferedSocket.
- A convenient class for supporting buffering on socket I/O streams.
- BufferedSocket(Socket) - Constructor for class com.go.trove.net.BufferedSocket
- BufferedSocket(Socket, int, int) - Constructor for class com.go.trove.net.BufferedSocket
- bind(InetAddress, int) - Method in class com.go.trove.net.FilteredSocket.Impl
- bind(InetAddress, int) - Method in class com.go.trove.net.LazySocket.Impl
C
- CONNECT_THREAD_MAX - Static variable in class com.go.trove.net.SocketConnector
- CheckedInterruptedIOException - exception com.go.trove.net.CheckedInterruptedIOException.
- CheckedInterruptedIOException(InterruptedIOException, Socket) - Constructor for class com.go.trove.net.CheckedInterruptedIOException
- CheckedInterruptedIOException(InterruptedIOException, Socket, String) - Constructor for class com.go.trove.net.CheckedInterruptedIOException
- CheckedSocket - class com.go.trove.net.CheckedSocket.
- A socket that tracks if any I/O exceptions have occured and ensures that plain I/O exceptions are thrown as SocketExceptions.
- CheckedSocket(Socket) - Constructor for class com.go.trove.net.CheckedSocket
- CheckedSocket.ExceptionListener - interface com.go.trove.net.CheckedSocket.ExceptionListener.
- CheckedSocket.Input - class com.go.trove.net.CheckedSocket.Input.
- CheckedSocket.Input(InputStream) - Constructor for class com.go.trove.net.CheckedSocket.Input
- CheckedSocket.Output - class com.go.trove.net.CheckedSocket.Output.
- CheckedSocket.Output(OutputStream) - Constructor for class com.go.trove.net.CheckedSocket.Output
- CheckedSocketException - exception com.go.trove.net.CheckedSocketException.
- A SocketException that prints out additional detail in the message: address and port of the socket.
- CheckedSocketException(Exception, Socket) - Constructor for class com.go.trove.net.CheckedSocketException
- CheckedSocketException(Exception, Socket, String) - Constructor for class com.go.trove.net.CheckedSocketException
- cResolveTimer - Static variable in class com.go.trove.net.InetAddressResolver
- cResolvers - Static variable in class com.go.trove.net.InetAddressResolver
- check(Socket) - Static method in class com.go.trove.net.CheckedSocket
- Returns a new CheckedSocket instance only if the given socket isn't already one.
- check() - Method in class com.go.trove.net.PooledSocketFactory.PooledSocket
- clear() - Method in class com.go.trove.net.DistributedSocketFactory
- clear() - Method in class com.go.trove.net.HttpHeaderMap
- clear() - Method in class com.go.trove.net.LazySocketFactory
- clear() - Method in class com.go.trove.net.PlainSocketFactory
- clear() - Method in class com.go.trove.net.PooledSocketFactory
- clear() - Method in interface com.go.trove.net.SocketFactory
- Closes all recycled connections, but does not prevent new connections from being created and recycled.
- close() - Method in class com.go.trove.net.BufferedSocket
- close() - Method in class com.go.trove.net.CheckedSocket.Input
- close() - Method in class com.go.trove.net.CheckedSocket.Output
- close() - Method in class com.go.trove.net.CheckedSocket
- close() - Method in class com.go.trove.net.FilteredSocket.Impl
- close() - Method in class com.go.trove.net.HttpClient.ResponseInput
- close() - Method in class com.go.trove.net.LazySocket.Impl.In
- close() - Method in class com.go.trove.net.LazySocket.Impl.Out
- close() - Method in class com.go.trove.net.LazySocket.Impl
- close() - Method in class com.go.trove.net.PooledSocketFactory.PooledSocket
- com.go.trove.net - package com.go.trove.net
- connect(String, int) - Method in class com.go.trove.net.FilteredSocket.Impl
- connect(InetAddress, int) - Method in class com.go.trove.net.FilteredSocket.Impl
- connect(String, int) - Method in class com.go.trove.net.LazySocket.Impl
- connect(InetAddress, int) - Method in class com.go.trove.net.LazySocket.Impl
- connect(long) - Method in class com.go.trove.net.SocketConnector.Connector
- connect(String, int, long) - Static method in class com.go.trove.net.SocketConnector
- connect(InetAddress, int, long) - Static method in class com.go.trove.net.SocketConnector
- connect(Object, int, long) - Static method in class com.go.trove.net.SocketConnector
- containsKey(Object) - Method in class com.go.trove.net.HttpHeaderMap
- containsValue(Object) - Method in class com.go.trove.net.HttpHeaderMap
- create(InterruptedIOException, Socket) - Static method in class com.go.trove.net.CheckedInterruptedIOException
- create(Exception, Socket) - Static method in class com.go.trove.net.CheckedSocketException
- create(Exception, Socket, String) - Static method in class com.go.trove.net.CheckedSocketException
- create(boolean) - Method in class com.go.trove.net.FilteredSocket.Impl
- create(boolean) - Method in class com.go.trove.net.LazySocket.Impl
- createMessagePrefix(Socket) - Static method in class com.go.trove.net.CheckedSocketException
- createSocket() - Method in class com.go.trove.net.DistributedSocketFactory
- createSocket(Object) - Method in class com.go.trove.net.DistributedSocketFactory
- createSocket(long) - Method in class com.go.trove.net.DistributedSocketFactory
- createSocket(Object, long) - Method in class com.go.trove.net.DistributedSocketFactory
- createSocket() - Method in class com.go.trove.net.LazySocket.Impl
- createSocket() - Method in class com.go.trove.net.LazySocketFactory
- createSocket(Object) - Method in class com.go.trove.net.LazySocketFactory
- createSocket(long) - Method in class com.go.trove.net.LazySocketFactory
- createSocket(Object, long) - Method in class com.go.trove.net.LazySocketFactory
- createSocket() - Method in class com.go.trove.net.PlainSocketFactory
- createSocket(Object) - Method in class com.go.trove.net.PlainSocketFactory
- createSocket(long) - Method in class com.go.trove.net.PlainSocketFactory
- createSocket(Object, long) - Method in class com.go.trove.net.PlainSocketFactory
- createSocket() - Method in class com.go.trove.net.PooledSocketFactory
- createSocket(Object) - Method in class com.go.trove.net.PooledSocketFactory
- createSocket(long) - Method in class com.go.trove.net.PooledSocketFactory
- createSocket(Object, long) - Method in class com.go.trove.net.PooledSocketFactory
- createSocket() - Method in interface com.go.trove.net.SocketFactory
- Must always return a new socket connection.
- createSocket(Object) - Method in interface com.go.trove.net.SocketFactory
- Returns a new socket connection.
- createSocket(long) - Method in interface com.go.trove.net.SocketFactory
- Returns a new socket connection.
- createSocket(Object, long) - Method in interface com.go.trove.net.SocketFactory
- Returns a new socket connection.
- createSocketFactory(InetAddress, int, long) - Method in class com.go.trove.net.MultiPooledSocketFactory
- Create socket factories for newly resolved addresses.
D
- DATE_PARSER_1 - Static variable in class com.go.trove.net.HttpHeaderMap
- DATE_PARSER_2 - Static variable in class com.go.trove.net.HttpHeaderMap
- DAYS - Static variable in class com.go.trove.net.HttpHeaderMap
- DistributedSocketFactory - class com.go.trove.net.DistributedSocketFactory.
- A SocketFactory implementation for distributing load among several SocketFactories.
- DistributedSocketFactory(long) - Constructor for class com.go.trove.net.DistributedSocketFactory
- DistributedSocketFactory.Resurrector - class com.go.trove.net.DistributedSocketFactory.Resurrector.
- DistributedSocketFactory.Resurrector(DistributedSocketFactory, SocketFactory) - Constructor for class com.go.trove.net.DistributedSocketFactory.Resurrector
- deadFactory(SocketFactory) - Method in class com.go.trove.net.DistributedSocketFactory
- doClose() - Method in class com.go.trove.net.PooledSocketFactory.PooledSocket
E
- entrySet() - Method in class com.go.trove.net.HttpHeaderMap
- equals(Object) - Method in class com.go.trove.net.HttpHeaderMap
- equals(Object) - Method in class com.go.trove.net.SocketConnector.Key
- error() - Method in class com.go.trove.net.FilteredSocket.Impl
- error() - Method in class com.go.trove.net.LazySocket.Impl
- exceptionOccurred(CheckedSocket, Exception, int) - Method in interface com.go.trove.net.CheckedSocket.ExceptionListener
- exceptionOccurred(Exception, int) - Method in class com.go.trove.net.CheckedSocket
F
- FilteredSocket - class com.go.trove.net.FilteredSocket.
- A Socket wrapper that passes all calls to an internal Socket.
- FilteredSocket(Socket) - Constructor for class com.go.trove.net.FilteredSocket
- FilteredSocket.Impl - class com.go.trove.net.FilteredSocket.Impl.
- FilteredSocket.Impl(Socket) - Constructor for class com.go.trove.net.FilteredSocket.Impl
- flush() - Method in class com.go.trove.net.CheckedSocket.Output
- flush() - Method in class com.go.trove.net.LazySocket.Impl.Out
G
- GMT_ZONE - Static variable in class com.go.trove.net.HttpHeaderMap
- get(Object) - Method in class com.go.trove.net.HttpHeaderMap
- Returns the first value associated with the given key.
- getAll(Object) - Method in class com.go.trove.net.HttpHeaderMap
- Returns all the values associated with the given key.
- getAvailableCount() - Method in class com.go.trove.net.DistributedSocketFactory
- getAvailableCount() - Method in class com.go.trove.net.LazySocketFactory
- getAvailableCount() - Method in class com.go.trove.net.PlainSocketFactory
- getAvailableCount() - Method in class com.go.trove.net.PooledSocketFactory
- getAvailableCount() - Method in interface com.go.trove.net.SocketFactory
- Returns the number of recycled sockets currently available.
- getCause() - Method in class com.go.trove.net.CheckedInterruptedIOException
- getCause() - Method in class com.go.trove.net.CheckedSocketException
- getDate(Object) - Method in class com.go.trove.net.HttpHeaderMap
- getDefaultTimeout() - Method in class com.go.trove.net.DistributedSocketFactory
- getDefaultTimeout() - Method in class com.go.trove.net.LazySocketFactory
- getDefaultTimeout() - Method in class com.go.trove.net.PlainSocketFactory
- getDefaultTimeout() - Method in class com.go.trove.net.PooledSocketFactory
- getDefaultTimeout() - Method in interface com.go.trove.net.SocketFactory
- Returns the default timeout for creating or getting sockets or -1 if infinite.
- getExceptionCount() - Method in class com.go.trove.net.CheckedSocket
- Returns the total number of exceptions encountered while using this socket, excluding InterruptedIOExceptions.
- getFactory(int) - Method in class com.go.trove.net.DistributedSocketFactory
- The provided index must be positive, but it can be out of the factory list bounds.
- getHeaders() - Method in class com.go.trove.net.HttpClient.Response
- getInetAddress() - Method in class com.go.trove.net.FilteredSocket.Impl
- getInetAddress() - Method in class com.go.trove.net.InetAddressAndPort
- getInetAddress() - Method in class com.go.trove.net.LazySocket.Impl
- getInetAddressAndPort() - Method in class com.go.trove.net.DistributedSocketFactory
- getInetAddressAndPort(Object) - Method in class com.go.trove.net.DistributedSocketFactory
- getInetAddressAndPort() - Method in class com.go.trove.net.LazySocketFactory
- getInetAddressAndPort(Object) - Method in class com.go.trove.net.LazySocketFactory
- getInetAddressAndPort() - Method in class com.go.trove.net.PlainSocketFactory
- getInetAddressAndPort(Object) - Method in class com.go.trove.net.PlainSocketFactory
- getInetAddressAndPort() - Method in class com.go.trove.net.PooledSocketFactory
- getInetAddressAndPort(Object) - Method in class com.go.trove.net.PooledSocketFactory
- getInetAddressAndPort() - Method in interface com.go.trove.net.SocketFactory
- Returns the InetAddress and port that this factory will most likely connect to.
- getInetAddressAndPort(Object) - Method in interface com.go.trove.net.SocketFactory
- Returns the InetAddress and port that this factory will most likely connect to.
- getInputStream() - Method in class com.go.trove.net.BufferedSocket
- getInputStream() - Method in class com.go.trove.net.CheckedSocket
- getInputStream() - Method in class com.go.trove.net.FilteredSocket.Impl
- getInputStream() - Method in interface com.go.trove.net.HttpClient.PostData
- Returns the actual data via an InputStream.
- getInputStream() - Method in class com.go.trove.net.HttpClient.Response
- Returns an InputStream supplying the body of the response.
- getInputStream() - Method in class com.go.trove.net.LazySocket.Impl
- getInputStream() - Method in class com.go.trove.net.PooledSocketFactory.PooledSocket
- getInteger(Object) - Method in class com.go.trove.net.HttpHeaderMap
- getKeepAlive() - Method in class com.go.trove.net.CheckedSocket
- getLocalPort() - Method in class com.go.trove.net.FilteredSocket.Impl
- getLocalPort() - Method in class com.go.trove.net.LazySocket.Impl
- getOption(int) - Method in class com.go.trove.net.FilteredSocket.Impl
- getOption(int) - Method in class com.go.trove.net.LazySocket.Impl
- getOutputStream() - Method in class com.go.trove.net.BufferedSocket
- getOutputStream() - Method in class com.go.trove.net.CheckedSocket
- getOutputStream() - Method in class com.go.trove.net.FilteredSocket.Impl
- getOutputStream() - Method in class com.go.trove.net.LazySocket.Impl
- getOutputStream() - Method in class com.go.trove.net.PooledSocketFactory.PooledSocket
- getOwner() - Method in class com.go.trove.net.PooledSocketFactory.PooledSocket
- getPort() - Method in class com.go.trove.net.FilteredSocket.Impl
- getPort() - Method in class com.go.trove.net.InetAddressAndPort
- getPort() - Method in class com.go.trove.net.LazySocket.Impl
- getReceiveBufferSize() - Method in class com.go.trove.net.CheckedSocket
- getReceiveBufferSize() - Method in class com.go.trove.net.PooledSocketFactory.PooledSocket
- getResolveTimer() - Static method in class com.go.trove.net.InetAddressResolver
- getResponse() - Method in class com.go.trove.net.HttpClient
- Opens a connection, passes on the current request settings, and returns the server's response.
- getResponse(HttpClient.PostData) - Method in class com.go.trove.net.HttpClient
- Opens a connection, passes on the current request settings, and returns the server's response.
- getSendBufferSize() - Method in class com.go.trove.net.CheckedSocket
- getSendBufferSize() - Method in class com.go.trove.net.PooledSocketFactory.PooledSocket
- getSoLinger() - Method in class com.go.trove.net.CheckedSocket
- getSoLinger() - Method in class com.go.trove.net.PooledSocketFactory.PooledSocket
- getSoTimeout() - Method in class com.go.trove.net.CheckedSocket
- getSoTimeout() - Method in class com.go.trove.net.PooledSocketFactory.PooledSocket
- getSocket() - Method in class com.go.trove.net.DistributedSocketFactory
- getSocket(Object) - Method in class com.go.trove.net.DistributedSocketFactory
- getSocket(long) - Method in class com.go.trove.net.DistributedSocketFactory
- getSocket(Object, long) - Method in class com.go.trove.net.DistributedSocketFactory
- getSocket(byte[], int, int) - Method in class com.go.trove.net.LazySocket.Impl
- getSocket() - Method in class com.go.trove.net.LazySocketFactory
- Returns a socket that will lazily connect.
- getSocket(Object) - Method in class com.go.trove.net.LazySocketFactory
- Returns a socket that will lazily connect.
- getSocket(long) - Method in class com.go.trove.net.LazySocketFactory
- Returns a socket that will lazily connect.
- getSocket(Object, long) - Method in class com.go.trove.net.LazySocketFactory
- Returns a socket that will lazily connect.
- getSocket() - Method in class com.go.trove.net.PlainSocketFactory
- getSocket(Object) - Method in class com.go.trove.net.PlainSocketFactory
- getSocket(long) - Method in class com.go.trove.net.PlainSocketFactory
- getSocket(Object, long) - Method in class com.go.trove.net.PlainSocketFactory
- getSocket() - Method in class com.go.trove.net.PooledSocketFactory
- getSocket(Object) - Method in class com.go.trove.net.PooledSocketFactory
- getSocket(long) - Method in class com.go.trove.net.PooledSocketFactory
- getSocket(Object, long) - Method in class com.go.trove.net.PooledSocketFactory
- getSocket() - Method in interface com.go.trove.net.SocketFactory
- Returns a new or recycled socket connection.
- getSocket(Object) - Method in interface com.go.trove.net.SocketFactory
- Returns a new or recycled socket connection.
- getSocket(long) - Method in interface com.go.trove.net.SocketFactory
- Returns a new or recycled socket connection.
- getSocket(Object, long) - Method in interface com.go.trove.net.SocketFactory
- Returns a new or recycled socket connection.
- getSource() - Method in class com.go.trove.net.CheckedInterruptedIOException
- Returns null if source socket has been reclaimed by the garbage collector.
- getSource() - Method in class com.go.trove.net.CheckedSocketException
- Returns null if source socket has been reclaimed by the garbage collector.
- getStatusCode() - Method in class com.go.trove.net.HttpClient.Response
- Resturns the server's status code, 200 for OK, 404 for not found, etc.
- getStatusMessage() - Method in class com.go.trove.net.HttpClient.Response
- Returns the server's status message accompanying the status code.
- getStream() - Method in class com.go.trove.net.LazySocket.Impl.In
- getString(Object) - Method in class com.go.trove.net.HttpHeaderMap
- getTcpNoDelay() - Method in class com.go.trove.net.CheckedSocket
- getTcpNoDelay() - Method in class com.go.trove.net.PooledSocketFactory.PooledSocket
H
- HttpClient - class com.go.trove.net.HttpClient.
- HttpClient(SocketFactory) - Constructor for class com.go.trove.net.HttpClient
- Constructs a HttpClient with a read timeout that matches the given factory's connect timeout.
- HttpClient(SocketFactory, long) - Constructor for class com.go.trove.net.HttpClient
- HttpClient.PostData - interface com.go.trove.net.HttpClient.PostData.
- A factory for supplying data to be written to server in a POST request.
- HttpClient.Response - class com.go.trove.net.HttpClient.Response.
- HttpClient.Response(CheckedSocket, String, InputStream, char[], String) - Constructor for class com.go.trove.net.HttpClient.Response
- HttpClient.ResponseInput - class com.go.trove.net.HttpClient.ResponseInput.
- HttpClient.ResponseInput(CheckedSocket, InputStream, int) - Constructor for class com.go.trove.net.HttpClient.ResponseInput
- HttpHeaderMap - class com.go.trove.net.HttpHeaderMap.
- HttpHeaderMap() - Constructor for class com.go.trove.net.HttpHeaderMap
- HttpUtils - class com.go.trove.net.HttpUtils.
- HttpUtils() - Constructor for class com.go.trove.net.HttpUtils
- handleIOException(Exception) - Method in class com.go.trove.net.CheckedSocket
- handleSocketException(Exception) - Method in class com.go.trove.net.CheckedSocket
- hashCode() - Method in class com.go.trove.net.HttpHeaderMap
- hashCode() - Method in class com.go.trove.net.SocketConnector.Key
I
- InetAddressAndPort - class com.go.trove.net.InetAddressAndPort.
- InetAddressAndPort(InetAddress, int) - Constructor for class com.go.trove.net.InetAddressAndPort
- InetAddressListener - interface com.go.trove.net.InetAddressListener.
- A listener to be used in conjunction with InetAddressResolver.
- InetAddressResolver - class com.go.trove.net.InetAddressResolver.
- Allows network host names to resolve to inet addresses via event notification.
- InetAddressResolver(String) - Constructor for class com.go.trove.net.InetAddressResolver
- InetAddressResolver.Resolver - class com.go.trove.net.InetAddressResolver.Resolver.
- InetAddressResolver.Resolver(InetAddressResolver) - Constructor for class com.go.trove.net.InetAddressResolver.Resolver
- isEmpty() - Method in class com.go.trove.net.HttpHeaderMap
K
- keySet() - Method in class com.go.trove.net.HttpHeaderMap
L
- LazySocket - class com.go.trove.net.LazySocket.
- A socket implementation that lazily establishs a connection.
- LazySocket(SocketFactory) - Constructor for class com.go.trove.net.LazySocket
- LazySocket(SocketFactory, Object) - Constructor for class com.go.trove.net.LazySocket
- LazySocket(SocketFactory, long) - Constructor for class com.go.trove.net.LazySocket
- LazySocket(SocketFactory, Object, long) - Constructor for class com.go.trove.net.LazySocket
- LazySocket(LazySocket.Impl) - Constructor for class com.go.trove.net.LazySocket
- LazySocket.Impl - class com.go.trove.net.LazySocket.Impl.
- LazySocket.Impl(SocketFactory, Object, long) - Constructor for class com.go.trove.net.LazySocket.Impl
- LazySocket.Impl.In - class com.go.trove.net.LazySocket.Impl.In.
- LazySocket.Impl.In() - Constructor for class com.go.trove.net.LazySocket.Impl.In
- LazySocket.Impl.Out - class com.go.trove.net.LazySocket.Impl.Out.
- LazySocket.Impl.Out() - Constructor for class com.go.trove.net.LazySocket.Impl.Out
- LazySocketFactory - class com.go.trove.net.LazySocketFactory.
- A socket implementation that lazily establishs a connection.
- LazySocketFactory(SocketFactory) - Constructor for class com.go.trove.net.LazySocketFactory
- LineTooLongException - exception com.go.trove.net.LineTooLongException.
- LineTooLongException(int) - Constructor for class com.go.trove.net.LineTooLongException
- listen(int) - Method in class com.go.trove.net.FilteredSocket.Impl
- listen(int) - Method in class com.go.trove.net.LazySocket.Impl
- listenFor(String, InetAddressListener) - Static method in class com.go.trove.net.InetAddressResolver
- Resolve the host name into InetAddresses and listen for changes.
M
- MONTHS - Static variable in class com.go.trove.net.HttpHeaderMap
- MultiPooledSocketFactory - class com.go.trove.net.MultiPooledSocketFactory.
- Pooled SocketFactory implementation that connects to multiple hosts that may resolve to multiple InetAddresses.
- MultiPooledSocketFactory(String[], int[], long) - Constructor for class com.go.trove.net.MultiPooledSocketFactory
- MultiPooledSocketFactory.Listener - class com.go.trove.net.MultiPooledSocketFactory.Listener.
- MultiPooledSocketFactory.Listener(int, long) - Constructor for class com.go.trove.net.MultiPooledSocketFactory.Listener
- mAddr - Variable in class com.go.trove.net.InetAddressAndPort
- mAddr - Variable in class com.go.trove.net.PlainSocketFactory
- mAddress - Variable in class com.go.trove.net.SocketConnector.Key
- mAddressedFactories - Variable in class com.go.trove.net.MultiPooledSocketFactory.Listener
- mCause - Variable in class com.go.trove.net.CheckedInterruptedIOException
- mCause - Variable in class com.go.trove.net.CheckedSocketException
- mClosed - Variable in class com.go.trove.net.LazySocket.Impl
- mClosed - Variable in class com.go.trove.net.PooledSocketFactory.PooledSocket
- mConnectors - Static variable in class com.go.trove.net.SocketConnector
- mContentLength - Variable in class com.go.trove.net.HttpClient.ResponseInput
- mDoneWaiting - Variable in class com.go.trove.net.SocketConnector.Connector
- mExceptionCount - Variable in class com.go.trove.net.CheckedSocket
- mExceptionListeners - Variable in class com.go.trove.net.CheckedSocket
- mFactories - Variable in class com.go.trove.net.DistributedSocketFactory
- mFactory - Variable in class com.go.trove.net.DistributedSocketFactory.Resurrector
- mFactory - Variable in class com.go.trove.net.HttpClient
- mFactory - Variable in class com.go.trove.net.LazySocket.Impl
- mFactory - Variable in class com.go.trove.net.LazySocketFactory
- mFactory - Variable in class com.go.trove.net.PooledSocketFactory
- mFactoryIndex - Variable in class com.go.trove.net.DistributedSocketFactory
- mHeaders - Variable in class com.go.trove.net.HttpClient.Response
- mHeaders - Variable in class com.go.trove.net.HttpClient
- mHost - Variable in class com.go.trove.net.InetAddressResolver
- mImpl - Variable in class com.go.trove.net.LazySocket
- mIn - Variable in class com.go.trove.net.BufferedSocket
- mIn - Variable in class com.go.trove.net.CheckedSocket
- mIn - Variable in class com.go.trove.net.HttpClient.Response
- mIn - Variable in class com.go.trove.net.HttpClient.ResponseInput
- mIn - Variable in class com.go.trove.net.LazySocket.Impl
- mIn - Variable in class com.go.trove.net.PooledSocketFactory.PooledSocket
- mInBufSize - Variable in class com.go.trove.net.BufferedSocket
- mKey - Variable in class com.go.trove.net.SocketConnector.Connector
- mListener - Variable in class com.go.trove.net.DistributedSocketFactory
- mListener - Variable in class com.go.trove.net.PooledSocketFactory
- mListeners - Variable in class com.go.trove.net.InetAddressResolver
- mMap - Variable in class com.go.trove.net.HttpHeaderMap
- mMessagePrefix - Variable in class com.go.trove.net.CheckedInterruptedIOException
- mMessagePrefix - Variable in class com.go.trove.net.CheckedSocketException
- mMethod - Variable in class com.go.trove.net.HttpClient
- mOptions - Variable in class com.go.trove.net.LazySocket.Impl
- mOut - Variable in class com.go.trove.net.BufferedSocket
- mOut - Variable in class com.go.trove.net.CheckedSocket
- mOut - Variable in class com.go.trove.net.LazySocket.Impl
- mOut - Variable in class com.go.trove.net.PooledSocketFactory.PooledSocket
- mOutBufSize - Variable in class com.go.trove.net.BufferedSocket
- mOwner - Variable in class com.go.trove.net.DistributedSocketFactory.Resurrector
- mOwner - Variable in class com.go.trove.net.InetAddressResolver.Resolver
- mPool - Variable in class com.go.trove.net.PooledSocketFactory
- mPort - Variable in class com.go.trove.net.InetAddressAndPort
- mPort - Variable in class com.go.trove.net.MultiPooledSocketFactory.Listener
- mPort - Variable in class com.go.trove.net.PlainSocketFactory
- mPort - Variable in class com.go.trove.net.SocketConnector.Key
- mProtocol - Variable in class com.go.trove.net.HttpClient
- mReadTimeout - Variable in class com.go.trove.net.HttpClient
- mResolutionResults - Variable in class com.go.trove.net.InetAddressResolver
- mResolvers - Variable in class com.go.trove.net.MultiPooledSocketFactory
- mResurrectors - Variable in class com.go.trove.net.DistributedSocketFactory
- mSession - Variable in class com.go.trove.net.HttpClient
- mSession - Variable in class com.go.trove.net.LazySocket.Impl
- mSocket - Variable in class com.go.trove.net.FilteredSocket.Impl
- mSocket - Variable in class com.go.trove.net.FilteredSocket
- mSocket - Variable in class com.go.trove.net.HttpClient.ResponseInput
- mSocket - Variable in class com.go.trove.net.LazySocket.Impl
- mSocketOrException - Variable in class com.go.trove.net.SocketConnector.Connector
- mSocketSources - Variable in class com.go.trove.net.DistributedSocketFactory
- mSource - Variable in class com.go.trove.net.CheckedInterruptedIOException
- mSource - Variable in class com.go.trove.net.CheckedSocketException
- mStatusCode - Variable in class com.go.trove.net.HttpClient.Response
- mStatusMessage - Variable in class com.go.trove.net.HttpClient.Response
- mStream - Variable in class com.go.trove.net.CheckedSocket.Input
- mStream - Variable in class com.go.trove.net.CheckedSocket.Output
- mStream - Variable in class com.go.trove.net.LazySocket.Impl.In
- mStream - Variable in class com.go.trove.net.LazySocket.Impl.Out
- mTimeout - Variable in class com.go.trove.net.DistributedSocketFactory
- mTimeout - Variable in class com.go.trove.net.LazySocket.Impl
- mTimeout - Variable in class com.go.trove.net.MultiPooledSocketFactory.Listener
- mTimeout - Variable in class com.go.trove.net.PlainSocketFactory
- mTimeout - Variable in class com.go.trove.net.PooledSocketFactory
- mURI - Variable in class com.go.trove.net.HttpClient
- mark(int) - Method in class com.go.trove.net.CheckedSocket.Input
- mark(int) - Method in class com.go.trove.net.LazySocket.Impl.In
- markSupported() - Method in class com.go.trove.net.CheckedSocket.Input
- markSupported() - Method in class com.go.trove.net.LazySocket.Impl.In
N
- notifyListener(InetAddressListener) - Method in class com.go.trove.net.InetAddressResolver
P
- PlainSocketFactory - class com.go.trove.net.PlainSocketFactory.
- Allows client socket connections to be established with a timeout.
- PlainSocketFactory(InetAddress, int, long) - Constructor for class com.go.trove.net.PlainSocketFactory
- PooledSocketFactory - class com.go.trove.net.PooledSocketFactory.
- Socket factory implementation that pools connections to one wrapped socket factory.
- PooledSocketFactory(SocketFactory) - Constructor for class com.go.trove.net.PooledSocketFactory
- PooledSocketFactory(SocketFactory, long) - Constructor for class com.go.trove.net.PooledSocketFactory
- PooledSocketFactory.PooledSocket - class com.go.trove.net.PooledSocketFactory.PooledSocket.
- This class does two things.
- PooledSocketFactory.PooledSocket(Socket) - Constructor for class com.go.trove.net.PooledSocketFactory.PooledSocket
- preparePost(int) - Method in class com.go.trove.net.HttpClient
- Convenience method for preparing a post to the server.
- printStackTrace() - Method in class com.go.trove.net.CheckedInterruptedIOException
- printStackTrace(PrintStream) - Method in class com.go.trove.net.CheckedInterruptedIOException
- printStackTrace(PrintWriter) - Method in class com.go.trove.net.CheckedInterruptedIOException
- printStackTrace() - Method in class com.go.trove.net.CheckedSocketException
- printStackTrace(PrintStream) - Method in class com.go.trove.net.CheckedSocketException
- printStackTrace(PrintWriter) - Method in class com.go.trove.net.CheckedSocketException
- processHeaderLine(String) - Method in class com.go.trove.net.HttpHeaderMap
- put(Object, Object) - Method in class com.go.trove.net.HttpHeaderMap
- May return a list if the key previously mapped to multiple values.
- putAll(Map) - Method in class com.go.trove.net.HttpHeaderMap
R
- RESOLVE_PERIOD - Static variable in class com.go.trove.net.InetAddressResolver
- read() - Method in class com.go.trove.net.CheckedSocket.Input
- read(byte[]) - Method in class com.go.trove.net.CheckedSocket.Input
- read(byte[], int, int) - Method in class com.go.trove.net.CheckedSocket.Input
- read() - Method in class com.go.trove.net.HttpClient.ResponseInput
- read(byte[]) - Method in class com.go.trove.net.HttpClient.ResponseInput
- read(byte[], int, int) - Method in class com.go.trove.net.HttpClient.ResponseInput
- read() - Method in class com.go.trove.net.LazySocket.Impl.In
- read(byte[]) - Method in class com.go.trove.net.LazySocket.Impl.In
- read(byte[], int, int) - Method in class com.go.trove.net.LazySocket.Impl.In
- readFrom(InputStream) - Method in class com.go.trove.net.HttpHeaderMap
- Read and parse headers from the given InputStream until a blank line is reached.
- readFrom(InputStream, byte[]) - Method in class com.go.trove.net.HttpHeaderMap
- Read and parse headers from the given InputStream until a blank line is reached.
- readFrom(InputStream, char[]) - Method in class com.go.trove.net.HttpHeaderMap
- Read and parse headers from the given InputStream until a blank line is reached.
- readLine(InputStream, byte[]) - Static method in class com.go.trove.net.HttpUtils
- Reads a line from an HTTP InputStream, using the given buffer for temporary storage.
- readLine(InputStream, byte[], int) - Static method in class com.go.trove.net.HttpUtils
- Reads a line from an HTTP InputStream, using the given buffer for temporary storage.
- readLine(InputStream, char[]) - Static method in class com.go.trove.net.HttpUtils
- Reads a line from an HTTP InputStream, using the given buffer for temporary storage.
- readLine(InputStream, char[], int) - Static method in class com.go.trove.net.HttpUtils
- Reads a line from an HTTP InputStream, using the given buffer for temporary storage.
- recycle() - Method in class com.go.trove.net.HttpClient.ResponseInput
- recycle() - Method in class com.go.trove.net.LazySocket
- Returns the internal wrapped socket or null if not connected.
- recycle() - Method in class com.go.trove.net.PooledSocketFactory.PooledSocket
- recycleSocket(CheckedSocket) - Method in class com.go.trove.net.DistributedSocketFactory
- recycleSocket(CheckedSocket) - Method in class com.go.trove.net.LazySocketFactory
- recycleSocket(CheckedSocket) - Method in class com.go.trove.net.PlainSocketFactory
- recycleSocket(CheckedSocket) - Method in class com.go.trove.net.PooledSocketFactory
- recycleSocket(CheckedSocket) - Method in interface com.go.trove.net.SocketFactory
- Recycle a socket connection that was returned from the
getSocketorcreateSocketmethods. - remove(Object) - Method in class com.go.trove.net.HttpHeaderMap
- removeExceptionListener(CheckedSocket.ExceptionListener) - Method in class com.go.trove.net.CheckedSocket
- removeSocketFactory(SocketFactory) - Method in class com.go.trove.net.DistributedSocketFactory
- reset() - Method in class com.go.trove.net.CheckedSocket.Input
- reset() - Method in class com.go.trove.net.LazySocket.Impl.In
- resolveAddresses() - Method in class com.go.trove.net.InetAddressResolver
- resolved(InetAddress[]) - Method in interface com.go.trove.net.InetAddressListener
- resolved(InetAddress[]) - Method in class com.go.trove.net.MultiPooledSocketFactory.Listener
- run() - Method in class com.go.trove.net.DistributedSocketFactory.Resurrector
- run() - Method in class com.go.trove.net.InetAddressResolver.Resolver
- run() - Method in class com.go.trove.net.SocketConnector.Connector
S
- SocketConnector - class com.go.trove.net.SocketConnector.
- Allows client socket connections to be established with a timeout.
- SocketConnector() - Constructor for class com.go.trove.net.SocketConnector
- SocketConnector.Connector - class com.go.trove.net.SocketConnector.Connector.
- SocketConnector.Connector(SocketConnector.Key) - Constructor for class com.go.trove.net.SocketConnector.Connector
- SocketConnector.Key - class com.go.trove.net.SocketConnector.Key.
- SocketConnector.Key(Object, int) - Constructor for class com.go.trove.net.SocketConnector.Key
- SocketFactory - interface com.go.trove.net.SocketFactory.
- Allows client sockets to be created or recycled.
- selectFactory(Object) - Method in class com.go.trove.net.DistributedSocketFactory
- Returns an index which is positive, but may be out of the factory list bounds.
- setHeader(String, Object) - Method in class com.go.trove.net.HttpClient
- Set a header name-value pair to the request.
- setHeaders(HttpHeaderMap) - Method in class com.go.trove.net.HttpClient
- Set all the headers for this request, replacing any existing headers.
- setKeepAlive(boolean) - Method in class com.go.trove.net.CheckedSocket
- setMethod(String) - Method in class com.go.trove.net.HttpClient
- Set the HTTP request method, which defaults to "GET".
- setOption(int, Object) - Method in class com.go.trove.net.FilteredSocket.Impl
- setOption(int, Object) - Method in class com.go.trove.net.LazySocket.Impl
- setPersistent(boolean) - Method in class com.go.trove.net.HttpClient
- Convenience method for setting the "Connection" header to "Keep-Alive" or "Close".
- setProtocol(String) - Method in class com.go.trove.net.HttpClient
- Set the HTTP protocol string, which defaults to "HTTP/1.0".
- setReceiveBufferSize(int) - Method in class com.go.trove.net.CheckedSocket
- setReceiveBufferSize(int) - Method in class com.go.trove.net.PooledSocketFactory.PooledSocket
- setSendBufferSize(int) - Method in class com.go.trove.net.CheckedSocket
- setSendBufferSize(int) - Method in class com.go.trove.net.PooledSocketFactory.PooledSocket
- setSession(Object) - Method in class com.go.trove.net.HttpClient
- Optionally specify a session for getting connections.
- setSoLinger(boolean, int) - Method in class com.go.trove.net.CheckedSocket
- setSoLinger(boolean, int) - Method in class com.go.trove.net.PooledSocketFactory.PooledSocket
- setSoTimeout(int) - Method in class com.go.trove.net.CheckedSocket
- setSoTimeout(int) - Method in class com.go.trove.net.PooledSocketFactory.PooledSocket
- setTcpNoDelay(boolean) - Method in class com.go.trove.net.CheckedSocket
- setTcpNoDelay(boolean) - Method in class com.go.trove.net.PooledSocketFactory.PooledSocket
- setURI(String) - Method in class com.go.trove.net.