Examples of LangCommand


Examples of com.alexnevsky.hotel.commands.general.LangCommand

   */
  private RequestHelper() {
    // general commands
    this.commandCatalog.put(AttributesManager.COMMAND_LOGIN, new LoginCommand());
    this.commandCatalog.put(AttributesManager.COMMAND_LOGOUT, new LogoutCommand());
    this.commandCatalog.put(AttributesManager.COMMAND_LANG, new LangCommand());

    // customer commands
    this.commandCatalog.put(AttributesManager.COMMAND_BOOKING_ROOM, new BookingRoomCommand());
    this.commandCatalog.put(AttributesManager.COMMAND_PROCESS_FORM, new ProcessFormCommand());
    this.commandCatalog.put(AttributesManager.COMMAND_SHOW_MY_ORDERS, new ShowMyOrdersCommand());
View Full Code Here

Examples of com.alexnevsky.hotel.commands.general.LangCommand

          + "Process incoming request with following command: " + command + ". RemoteAddr: "
          + request.getRemoteAddr());

    } else { // not auth user. if lang command available for everybody
      if (action != null && action.equalsIgnoreCase(AttributesManager.ATTRIBUTE_LANG)) {
        command = new LangCommand();

        logger.info("Not auth user change language: '" + command + "'" + ". RemoteAddr: "
            + request.getRemoteAddr());

      } else { // not lang command. login command: default command for not auth user
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.