net.dpml.http
Interface ConnectorContext

All Known Subinterfaces:
SelectChannelConnector.Context, SslSocketConnector.Context

public interface ConnectorContext

Common connector context contract.

Version:
0.2.0
Author:
Digital Product Meta Library

Method Summary
 int getAcceptors(int size)
          Return the number of initial acceptors.
 int getAcceptQueueSize(int size)
          Return the accept queue size.
 int getConfidentialPort(int port)
          Return the confidential port.
 String getConfidentialScheme(String scheme)
          Return the confidential scheme (http or https).
 int getHeaderBufferSize(int size)
          Return the connector header buffer size.
 String getHost(String host)
          Return the connector host name.
 int getIntegralPort(int port)
          Return the integral port.
 String getIntegralScheme(String scheme)
          Return the integral scheme (http or https).
 int getMaxIdleTime(int time)
          Return the maximum idle time in milliseconds.
 int getPort()
          Return the connector port.
 int getRequestBufferSize(int size)
          Return the request buffer size.
 int getResponseBufferSize(int size)
          Return the response buffer size.
 int getSoLingerTime(int time)
          Return the soLingerTime parameter value.
 

Method Detail

getHost

String getHost(String host)
Return the connector host name.

Parameters:
host - implementation defined default value
Returns:
the supplied value unless overriden in the deployment configuration

getPort

int getPort()
Return the connector port.

Returns:
the assigned connector port

getHeaderBufferSize

int getHeaderBufferSize(int size)
Return the connector header buffer size.

Parameters:
size - implementation defined default value
Returns:
the supplied value unless overriden in the deployment configuration

getMaxIdleTime

int getMaxIdleTime(int time)
Return the maximum idle time in milliseconds.

Parameters:
time - implementation defined default value
Returns:
the supplied value unless overriden in the deployment configuration

getRequestBufferSize

int getRequestBufferSize(int size)
Return the request buffer size.

Parameters:
size - implementation defined default value
Returns:
the supplied value unless overriden in the deployment configuration

getResponseBufferSize

int getResponseBufferSize(int size)
Return the response buffer size.

Parameters:
size - implementation defined default value
Returns:
the supplied value unless overriden in the deployment configuration

getAcceptQueueSize

int getAcceptQueueSize(int size)
Return the accept queue size.

Parameters:
size - implementation defined default value
Returns:
the supplied value unless overriden in the deployment configuration

getAcceptors

int getAcceptors(int size)
Return the number of initial acceptors.

Parameters:
size - implementation defined default value
Returns:
the supplied value unless overriden in the deployment configuration

getSoLingerTime

int getSoLingerTime(int time)
Return the soLingerTime parameter value.

Parameters:
time - implementation defined default value
Returns:
the supplied value unless overriden in the deployment configuration

getConfidentialPort

int getConfidentialPort(int port)
Return the confidential port.

Parameters:
port - implementation defined default value
Returns:
the supplied value unless overriden in the deployment configuration

getConfidentialScheme

String getConfidentialScheme(String scheme)
Return the confidential scheme (http or https).

Parameters:
scheme - implementation defined default value
Returns:
the supplied value unless overriden in the deployment configuration

getIntegralPort

int getIntegralPort(int port)
Return the integral port.

Parameters:
port - implementation defined default value
Returns:
the supplied value unless overriden in the deployment configuration

getIntegralScheme

String getIntegralScheme(String scheme)
Return the integral scheme (http or https).

Parameters:
scheme - implementation defined default value
Returns:
the supplied value unless overriden in the deployment configuration