Package net.yacy.cora.protocol

Examples of net.yacy.cora.protocol.ConnectionInfo


    private void storeConnectionInfo(final HttpUriRequest httpUriRequest) {
      final int port = httpUriRequest.getURI().getPort();
      final String thost = httpUriRequest.getURI().getHost();
      //assert thost != null : "uri = " + httpUriRequest.getURI().toString();
      ConnectionInfo.addConnection(new ConnectionInfo(
          httpUriRequest.getURI().getScheme(),
          port == 80 ? thost : thost + ":" + port,
          httpUriRequest.getMethod() + " " + httpUriRequest.getURI().getPath(),
          httpUriRequest.hashCode(),
          System.currentTimeMillis(),
View Full Code Here


    private void storeConnectionInfo(final HttpUriRequest httpUriRequest) {
      final int port = httpUriRequest.getURI().getPort();
      final String thost = httpUriRequest.getURI().getHost();
      //assert thost != null : "uri = " + httpUriRequest.getURI().toString();
      ConnectionInfo.addConnection(new ConnectionInfo(
          httpUriRequest.getURI().getScheme(),
          port == 80 ? thost : thost + ":" + port,
          httpUriRequest.getMethod() + " " + httpUriRequest.getURI().getPath(),
          httpUriRequest.hashCode(),
          System.currentTimeMillis(),
View Full Code Here

TOP

Related Classes of net.yacy.cora.protocol.ConnectionInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.