Package com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.DevModeRequest

Examples of com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.DevModeRequest.RequestType


      throw new IllegalArgumentException(
          "Unknown Service Type: This request processor cannot handle requests of type "
              + request.getServiceType().name());
    }

    RequestType requestType = request.getDevModeRequest().getRequestType();
    if (requestType != null) {
      switch (requestType) {
        case CAPABILITY_EXCHANGE:
          return processCapabilityExchange();

        case RESTART_WEB_SERVER:
          return processRestartServer();

        default: {
          break;
        }
      }
    }

    throw new IllegalArgumentException(
        "Unknown DevModeService Request: The DevModeService cannot handle requests of type "
            + requestType == null ? "(unknown)" : requestType.name());
  }
View Full Code Here

TOP

Related Classes of com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.DevModeRequest.RequestType

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.