public ConnManager create(final ConnectionEndpoint endpoint) {
if (endpoint == null) {
throw new NullPointerException();
}
return new ConnManager() {
public OutboundRequestIterator newRequest(
OutboundRequestHandle handle)
{
if (handle == null) {
throw new NullPointerException();