/** * Returns a hint the size of the underlying buffers used by the platform for * outgoing network I/O. This value is a suggestion to the kernel from the * application about the size of buffers to use for the data to be sent over * the socket. * * @return the hint size of the send buffer */ public int getSendBufferSize() { return getIntParameter(SO_SNDBUF, -1); }
/** * Returns a hint the size of the underlying buffers used by the platform * for incoming network I/O. This value is a suggestion to the kernel from * the application about the size of buffers to use for the data to be received * over the socket. * * @return the hint size of the send buffer */ public int getReceiveBufferSize() { return getIntParameter(SO_RCVBUF, -1); }
/** * Returns linger-on-close timeout. Value <tt>0</tt> implies that the option is * disabled. Value <tt>-1</tt> implies that the JRE default is used. * * @return the linger-on-close timeout */ public int getLinger() { return getIntParameter(SO_LINGER, -1); }
/** * Returns the timeout until a connection is etablished. A value of zero * means the timeout is not used. The default value is zero. * * @return timeout in milliseconds. */ public int getConnectionTimeout() { return getIntParameter(CONNECTION_TIMEOUT, 0); }
/** * Returns the default socket timeout (<tt>SO_TIMEOUT</tt>) in milliseconds which is the * timeout for waiting for data. A timeout value of zero is interpreted as an infinite * timeout. This value is used when no socket timeout is set in the * {@link HttpMethodParams HTTP method parameters}. * * @return timeout in milliseconds */ public int getSoTimeout() { return getIntParameter(SO_TIMEOUT, 0); }
/** * Returns the timeout until a connection is etablished. A value of zero * means the timeout is not used. The default value is zero. * * @return timeout in milliseconds. */ public int getConnectionTimeout() { return getIntParameter(CONNECTION_TIMEOUT, 0); }
/** * Returns linger-on-close timeout. Value <tt>0</tt> implies that the option is * disabled. Value <tt>-1</tt> implies that the JRE default is used. * * @return the linger-on-close timeout */ public int getLinger() { return getIntParameter(SO_LINGER, -1); }
/** * Returns linger-on-close timeout. Value <tt>0</tt> implies that the option is * disabled. Value <tt>-1</tt> implies that the JRE default is used. * * @return the linger-on-close timeout */ public int getLinger() { return getIntParameter(SO_LINGER, -1); }
/** * Returns a hint the size of the underlying buffers used by the platform * for incoming network I/O. This value is a suggestion to the kernel from * the application about the size of buffers to use for the data to be received * over the socket. * * @return the hint size of the send buffer */ public int getReceiveBufferSize() { return getIntParameter(SO_RCVBUF, -1); }
/** * Returns the timeout until a connection is etablished. A value of zero * means the timeout is not used. The default value is zero. * * @return timeout in milliseconds. */ public int getConnectionTimeout() { return getIntParameter(CONNECTION_TIMEOUT, 0); }
/** * Returns a hint the size of the underlying buffers used by the platform for * outgoing network I/O. This value is a suggestion to the kernel from the * application about the size of buffers to use for the data to be sent over * the socket. * * @return the hint size of the send buffer */ public int getSendBufferSize() { return getIntParameter(SO_SNDBUF, -1); }
/** * Returns a hint the size of the underlying buffers used by the platform * for incoming network I/O. This value is a suggestion to the kernel from * the application about the size of buffers to use for the data to be received * over the socket. * * @return the hint size of the send buffer */ public int getReceiveBufferSize() { return getIntParameter(SO_RCVBUF, -1); }
/** * Returns a hint the size of the underlying buffers used by the platform * for incoming network I/O. This value is a suggestion to the kernel from * the application about the size of buffers to use for the data to be received * over the socket. * * @return the hint size of the send buffer */ public int getReceiveBufferSize() { return getIntParameter(SO_RCVBUF, -1); }
/** * Returns the default socket timeout (<tt>SO_TIMEOUT</tt>) in milliseconds which is the * timeout for waiting for data. A timeout value of zero is interpreted as an infinite * timeout. This value is used when no socket timeout is set in the * {@link HttpMethodParams HTTP method parameters}. * * @return timeout in milliseconds */ public int getSoTimeout() { return getIntParameter(SO_TIMEOUT, 0); }
/** * Returns a hint the size of the underlying buffers used by the platform for * outgoing network I/O. This value is a suggestion to the kernel from the * application about the size of buffers to use for the data to be sent over * the socket. * * @return the hint size of the send buffer */ public int getSendBufferSize() { return getIntParameter(SO_SNDBUF, -1); }
/** * Returns the default socket timeout (<tt>SO_TIMEOUT</tt>) in milliseconds which is the * timeout for waiting for data. A timeout value of zero is interpreted as an infinite * timeout. This value is used when no socket timeout is set in the * {@link HttpMethodParams HTTP method parameters}. * * @return timeout in milliseconds */ public int getSoTimeout() { return getIntParameter(SO_TIMEOUT, 0); }
/** * Returns the default socket timeout (<tt>SO_TIMEOUT</tt>) in milliseconds which is the * timeout for waiting for data. A timeout value of zero is interpreted as an infinite * timeout. This value is used when no socket timeout is set in the * {@link HttpMethodParams HTTP method parameters}. * * @return timeout in milliseconds */ public int getSoTimeout() { return getIntParameter(SO_TIMEOUT, 0); }
/** * Returns a hint the size of the underlying buffers used by the platform for * outgoing network I/O. This value is a suggestion to the kernel from the * application about the size of buffers to use for the data to be sent over * the socket. * * @return the hint size of the send buffer */ public int getSendBufferSize() { return getIntParameter(SO_SNDBUF, -1); }
/** * Returns linger-on-close timeout. Value <tt>0</tt> implies that the option is * disabled. Value <tt>-1</tt> implies that the JRE default is used. * * @return the linger-on-close timeout */ public int getLinger() { return getIntParameter(SO_LINGER, -1); }
/** * Returns linger-on-close timeout. Value <tt>0</tt> implies that the option is * disabled. Value <tt>-1</tt> implies that the JRE default is used. * * @return the linger-on-close timeout */ public int getLinger() { return getIntParameter(SO_LINGER, -1); }