Package de.marcusschiesser.dbpendler.server.bahnwrapper.handler

Examples of de.marcusschiesser.dbpendler.server.bahnwrapper.handler.ConnectionValidationHandler


    }
     
    response = session.postMethod(bookingDataURL,
      bookingDataParam);
    inputStream = HTTPUtils.stringToStream(response);
    ConnectionValidationHandler handler = new ConnectionValidationHandler();
    reader.setContentHandler(handler);
    reader.parse(new InputSource(inputStream));
    // TODO: check also whether the time is correct
    if(!handler.isValid(connection)) {
      String msg = "The parser seems to have an error. The input connection does not fit to the parsed connection returned from the server. Please either report or fix this problem.";
      ExceptionUtils.throwError(msg);
      log.severe(msg);
    }
View Full Code Here

TOP

Related Classes of de.marcusschiesser.dbpendler.server.bahnwrapper.handler.ConnectionValidationHandler

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.