Examples of handleRequest()


Examples of ch.ethz.inf.vs.californium.server.resources.Resource.handleRequest()

      // Get the executor and let it process the request
      Executor executor = resource.getExecutor();
      if (executor != null) {
        executor.execute(new Runnable() {
          public void run() {
            resource.handleRequest(exchange);
          } });
      } else {
        resource.handleRequest(exchange);
      }
    } else {
View Full Code Here

Examples of com.alibaba.citrus.webx.handler.RequestHandlerContext.handleRequest()

        if (internalRequestHandlerContext == null) {
            return false;
        }

        // 如果是一个内部请求,则执行内部请求
        internalRequestHandlerContext.handleRequest();

        return true;
    }

    /**
 
View Full Code Here

Examples of com.bbn.openmap.image.wms.WmsRequestHandler.handleRequest()

        Debug.message("wms", "OgcWmsServlet.doGet");
        WmsRequestHandler wmsRequestHandler = createRequestHandler(request);

        Properties properties = parsePropertiesFromRequest(request);
        HttpResponse httpResponse = new HttpResponse(response);
        wmsRequestHandler.handleRequest(properties, httpResponse);
    }

}
View Full Code Here

Examples of com.cloud.bridge.service.core.ec2.EC2Engine.handleRequest()

          EC2request.setFilterSet( sfs );
        }

      // -> execute the request
    EC2Engine engine = ServiceProvider.getInstance().getEC2Engine();
      DescribeSnapshotsResponse EC2response = EC2SoapServiceImpl.toDescribeSnapshotsResponse( engine.handleRequest( EC2request ));
      serializeResponse(response, EC2response);
    }

   
    private void describeVolumes( HttpServletRequest request, HttpServletResponse response )
View Full Code Here

Examples of com.cloud.bridge.service.core.s3.S3Engine.handleRequest()

                return;
            }

            // -> PutObject S3 Bucket Policy would be done in the engine.handleRequest() call
            UserContext.current().initContext( AWSAccessKey, info.getSecretKey(), AWSAccessKey, "S3 DIME request", request );
            putResponse = engine.handleRequest( putRequest );

            xml.append( "<?xml version=\"1.0\" encoding=\"utf-8\"?>" );
            xml.append( "<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:tns=\"http://s3.amazonaws.com/doc/2006-03-01/\">" );
            xml.append( "<soap:Body>" );
            xml.append( "<tns:PutObjectResponse>" );
View Full Code Here

Examples of com.cloudbees.vietnam4j.ProxiedWebApplication.handleRequest()

        }

        ps.setAttribute("jenkins.user", newUser);


        webApp.handleRequest(req, rsp);
    }

    private String mapToId(UserDTO o) {
        return o==null ? "\u0000" : o.id;
    }
View Full Code Here

Examples of com.esri.gpt.server.assertion.handler.AsnRequestHandler.handleRequest()

    // execute the assertion operation
    try {
      asnFactory = AsnFactory.newFactory(context);
      asnHandler = asnFactory.makeRequestHandler(request,context);
      asnResponse = asnHandler.getAssertionContext().getOperationResponse();
      asnHandler.handleRequest(request,response);
      sResponse = Val.chkStr(asnResponse.getResponseString());
      mimeType = asnResponse.getMimeType();
    } catch (NotAuthorizedException e) {
      throw e;
    } catch (Exception e) {
View Full Code Here

Examples of com.google.cloud.genomics.api.client.commands.BaseCommand.handleRequest()

        return;
      }

      File dataStoreFile = new File(System.getProperty("user.home"), ".store/genomics_java_client");
      command.setDataStoreFactory(new ReadableFileDataStoreFactory(dataStoreFile));
      command.handleRequest(genomicsFactory.fromClientSecretsFile(clientSecrets));

    } catch (IllegalArgumentException | ParameterException e) {
      cmdLine.printHelp(e.getMessage() + "\n", System.out);
    } catch (GoogleJsonResponseException e) {
      System.out.println("API request failed: " + BaseCommand.getErrorMessage(e));
View Full Code Here

Examples of com.kurento.kmf.jsonrpcconnector.JsonRpcHandler.handleRequest()

      }

      JsonRpcHandler nonGenHandler = handler;

      TransactionImpl tx = new TransactionImpl(session, request, rs);
      nonGenHandler.handleRequest(tx, nonGenRequest);

      if (!tx.isAsync() && request.getId() != null) {

        boolean notResponded = tx.setRespondedIfNot();
View Full Code Here

Examples of com.linkedin.r2.transport.common.RestRequestHandler.handleRequest()

      return;
    }

    try
    {
      handler.handleRequest(req, requestContext, new TransportCallbackAdapter<RestResponse>(callback));
    }
    catch (Exception e)
    {
      final Exception ex = RestException.forError(RestStatus.INTERNAL_SERVER_ERROR, e);
      callback.onResponse(TransportResponseImpl.<RestResponse>error(ex));
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.