Examples of request()


Examples of com.google.gwt.requestfactory.shared.messages.MessageFactory.request()

    List<OperationMessage> operations = makePayloadOperations();
    List<InvocationMessage> invocationMessages = makePayloadInvocations();

    // Create the outer envelope message
    AutoBean<RequestMessage> bean = f.request();
    RequestMessage requestMessage = bean.as();
    if (!invocationMessages.isEmpty()) {
      requestMessage.setInvocations(invocationMessages);
    }
    if (!operations.isEmpty()) {
View Full Code Here

Examples of com.google.web.bindery.requestfactory.shared.messages.MessageFactory.request()

      List<OperationMessage> operations = makePayloadOperations();
      List<InvocationMessage> invocationMessages = makePayloadInvocations();

      // Create the outer envelope message
      AutoBean<RequestMessage> bean = f.request();
      RequestMessage requestMessage = bean.as();
      requestMessage.setRequestFactory(getRequestFactory().getFactoryTypeToken());
      if (!invocationMessages.isEmpty()) {
        requestMessage.setInvocations(invocationMessages);
      }
View Full Code Here

Examples of com.highcharts.export.server.Server.request()

  public String requestServer(String params) throws SVGConverterException, TimeoutException, NoSuchElementException, PoolException {
    Server server = null;

    try {
      server = (Server) serverPool.borrowObject();
      String response = server.request(params);

      return response;
    } catch (SocketTimeoutException ste) {
      throw new TimeoutException(ste.getMessage());
    } catch (TimeoutException te) {
View Full Code Here

Examples of com.jetdrone.vertx.yoke.test.YokeTester.request()

            int some200 = 0;
            int some503 = 0;

            @Override
            public void handle(Long event) {
                tester.request("GET", "/", new Handler<Response>() {
                    @Override
                    public void handle(Response response) {
                        if (response.getStatusCode() == 200) {
                            some200++;
                        }
View Full Code Here

Examples of com.sissi.protocol.message.Message.request()

   */
  @Override
  public Map<String, Object> write(Element element) {
    Map<String, Object> entity = super.write(element);
    Message message = Message.class.cast(element);
    entity.put(Dictionary.FIELD_ACK, !message.request());
    entity.put(Dictionary.FIELD_THREAD, message.thread());
    entity.put(Dictionary.FIELD_BODY, message.content() ? message.getBody().getText() : null);
    return entity;
  }

View Full Code Here

Examples of com.sonian.elasticsearch.http.jetty.HttpClient.request()

    public void testSuccess() throws Exception {
        publishAuth("server1", "foo", "MD5:37b51d194a7513e45b56f6524f2d51f2", "pray:readwrite:love"); // password bar
        HttpClient http = httpClient("server1", "foo", "bar");
        String data;
        data = jsonBuilder().startObject().field("blip", 1).endObject().string();
        HttpClientResponse resp = http.request("PUT", "/foo/bar/1", data.getBytes());
        assertThat(resp.errorCode(), equalTo(201));
    }

    @Test
    public void testFail()  throws Exception {
View Full Code Here

Examples of com.sun.jdi.event.BreakpointEvent.request()

              BreakpointEvent be=(BreakpointEvent) event;
             
              //if(be.location().lineNumber()!=9)
              //{
             
              if(be.request().getProperty(((BreakpointEvent) event).thread().name())!=null)
                {
                be.request().putProperty(((BreakpointEvent) event).thread().name(), null);
                }
              else
                {
View Full Code Here

Examples of com.sun.jdi.event.ClassPrepareEvent.request()

                }
                else if ( event instanceof ClassPrepareEvent )
                {
                    ClassPrepareEvent prepareEvent = (ClassPrepareEvent) event;
                    handler.onClassPrepare( suspension, prepareEvent.virtualMachine(), prepareEvent.thread(),
                                            (ClassPrepareRequest) prepareEvent.request(),
                                            prepareEvent.referenceType() );
                }
                else if ( event instanceof ClassUnloadEvent )
                {
                    ClassUnloadEvent unloadEvent = (ClassUnloadEvent) event;
View Full Code Here

Examples of com.sun.jdi.event.ClassUnloadEvent.request()

                }
                else if ( event instanceof ClassUnloadEvent )
                {
                    ClassUnloadEvent unloadEvent = (ClassUnloadEvent) event;
                    handler.onClassUnload( suspension, unloadEvent.virtualMachine(),
                                           (ClassUnloadRequest) unloadEvent.request(),
                                           unloadEvent.className(), unloadEvent.classSignature() );
                }
                else if ( event instanceof ThreadStartEvent )
                {
                    ThreadStartEvent threadStartEvent = (ThreadStartEvent) event;
View Full Code Here

Examples of com.sun.jdi.event.Event.request()

            else if(event instanceof MethodEntryEvent)
              {
              //TODO si se esta filtrando por hilos?
              //System.out.println("*->" + event + "(" + event.hashCode() + ")" + " -> " + event.request().getProperty("where") + " filter thread: " + event.request().getProperty("threadName"));
              //deshabilita method entry
              event.request().disable();
             
              //deshabilita method exit
              MethodExitRequest mxr = null;
              for(MethodExitRequest mx : vm.eventRequestManager().methodExitRequests())
                {
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.