Examples of RequestType


Examples of ca.uhn.fhir.rest.method.SearchMethodBinding.RequestType

  }

  @Override
  public boolean matches(Request theRequest) {
    Set<RequestType> allowableRequestTypes = provideAllowableRequestTypes();
    RequestType requestType = theRequest.getRequestType();
    if (!allowableRequestTypes.contains(requestType)) {
      return false;
    }
    if (!getResourceName().equals(theRequest.getResourceName())) {
      return false;
View Full Code Here

Examples of com.google.greaze.server.dispatcher.RequestType

      if (callPath.equals(CallPath.NULL_PATH)) {
        throw new WebServiceSystemException(
            ErrorReason.INVALID_CALLPATH, req.getServletPath());
      }
      String queryName = RequestType.getQueryName(req.getParameterMap());
      RequestType requestType = RequestType.getRequestType(callPath, queryName, resourcePrefix);
      if (LogConfig.INFO) log.info(String.format("%s: %s", requestType, callPath));
      switch (requestType) {
        case RESOURCE_ACCESS:
          injector.getInstance(ResourceDepotDispatcher.class).service(res);
          break;
View Full Code Here

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

Examples of com.michelboudreau.alternator.enums.RequestType

            throw new AmazonServiceException(errorMessage);
        }
  }

  private String handle20111205(HttpServletRequest request, AmazonWebServiceRequestParser parser) throws LimitExceededException, InternalServerErrorException, ResourceInUseException, ResourceNotFoundException, ConditionalCheckFailedException {
        RequestType requestType = parser.getType();
    switch (requestType) {
      // Tables
      case CREATE_TABLE:
        return new CreateTableResultMarshaller().marshall(createTable(parser.getData(CreateTableRequest.class, CreateTableRequestJsonUnmarshaller.getInstance())));
      case DESCRIBE_TABLE:
View Full Code Here

Examples of com.softwarementors.extjs.djn.router.RequestType

          if( StringUtils.isEmpty(requestEncoding)) {
            request.setCharacterEncoding(EncodingUtils.UTF8);
          }
          response.setCharacterEncoding(EncodingUtils.UTF8);

          RequestType type = getFromRequestContentType(request);
          processRequest(request, response, type);
        }
        finally {
          detachThreadLocalData();
        }
View Full Code Here

Examples of com.vaadin.server.VaadinPortlet.RequestType

     * @deprecated As of 7.0. Will likely change or be removed in a future
     *             version
     */
    @Deprecated
    protected RequestType getRequestType(VaadinRequest request) {
        RequestType type = (RequestType) request.getAttribute(RequestType.class
                .getName());
        if (type == null) {
            type = getPortlet().getRequestType((VaadinPortletRequest) request);
            request.setAttribute(RequestType.class.getName(), type);
        }
View Full Code Here

Examples of com.vaadin.server.VaadinServlet.RequestType

        return new File(realPath);
    }

    @Override
    protected boolean requestCanCreateSession(VaadinRequest request) {
        RequestType requestType = getRequestType(request);
        if (requestType == RequestType.BROWSER_DETAILS) {
            // This is the first request if you are embedding by writing the
            // embedding code yourself
            return true;
        } else if (requestType == RequestType.OTHER) {
View Full Code Here

Examples of freenet.node.NodeStats.RequestType

        typeNum++;
        if(typeNum == RequestType_values.length)
          typeNum = 0;
        for(int i=0;i<RequestType_values.length;i++) {
          SlotWaiterList list;
          RequestType type = RequestType_values[typeNum];
          if(logMINOR) Logger.minor(this, "Checking slot waiter list for "+type);
          SlotWaiter slot;
          RequestLikelyAcceptedState acceptState;
          PeerNode[] peersForSuccessfulSlot;
          synchronized(routedToLock) {
View Full Code Here

Examples of frontend.FrontEnd.RequestType

    FrontEnd frontEnd = new FrontEnd(messageSystem, addressSystem, resource);
    String[] s = new String [10] ;
    s[0] = "1";
    Map<String,String[]> mp = new HashMap<String, String[]>();
   
    RequestType result = frontEnd.checkRequest(baseRequest, uss);
    assertEquals (RequestType.UNKNOWN, result);
   
    mp.put("u_name", s);
    s [0] = "1";
    mp.put("uid_with_name", s);
View Full Code Here

Examples of logisticspipes.routing.order.IOrderInfoProvider.RequestType

  public IOrderInfoProvider readOrder() throws IOException {
    ItemIdentifierStack stack = this.readItemIdentifierStack();
    int routerId = this.readInt();
    boolean isFinished = this.readBoolean();
    boolean inProgress = this.readBoolean();
    RequestType type = this.readEnum(RequestType.class);
    List<Float> list = this.readList(new IReadListObject<Float>() {
      @Override
      public Float readObject(LPDataInputStream data) throws IOException {
        return data.readFloat();
      }});
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.