net.dpml.http
Interface ConnectorContext

All Known Subinterfaces:
SelectChannelConnector.Context, SslSocketConnector.Context

public interface ConnectorContext

Common connector context contract.

Version:
0.0.2
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

public 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

public int getPort()
Return the connector port.

Returns:
the assigned connector port

getHeaderBufferSize

public 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

public 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

public 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

public 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

public 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

public 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

public 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

public 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

public 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

public 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

public 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