Example #1
0
  public void connected(NHttpServerConnection conn) {
    // we have to have these two operations in order
    sourceConfiguration.getSourceConnections().addConnection(conn);
    SourceContext.create(conn, ProtocolState.REQUEST_READY, sourceConfiguration);

    metrics.connected();
  }