Package it.hakvoort.neuroclient.reply

Examples of it.hakvoort.neuroclient.reply.DefaultReply


    }
  }

  public void parseDefault(String line) {
    if (line.startsWith("200")) {
      reply = new DefaultReply(ResponseCode.OK);
    } else if (line.startsWith("400")) {
      reply = new DefaultReply(ResponseCode.ERROR);
    } else {
      System.err.println(String.format("Expected '200 OK' or '400 ERROR', but got: %s", line));
      reply = null;
    }
View Full Code Here

TOP

Related Classes of it.hakvoort.neuroclient.reply.DefaultReply

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.