Examples of send()


Examples of org.dmlite.util.config.EmailConfig.send()

  {
    final EmailConfig emailConfig = ((DmContext) this.dbContext).getEmailConfig();
    
    try
    {
      emailConfig.send(this.message_dest, this.message_objet, this.message_corps);
      //Changement du mot de passe
      try
      {
        this.newCompte.setPassword(this.newPassword);
        this.comptes.update(this.currentCompte, this.newCompte);
View Full Code Here

Examples of org.drools.runtime.Channel.send()

      assertNotNull(channel_map);
      assertTrue(channel_map.size() == 3);
     
      Channel channel_1 = channel_map.get("channel_1");
      assertNotNull(channel_1);
      channel_1.send("test_1");
      assertEquals(1, TestChannel.count);
     
      Channel channel_2 = channel_map.get("channel_2");
      assertNotNull(channel_2);
      channel_2.send("test_2");
View Full Code Here

Examples of org.dspace.core.Email.send()

        email.addArgument(dto.getText());
        email.addRecipient(ConfigurationManager
                .getProperty("feedback.recipient"));
        email.setReplyTo(UIUtil.obtainContext(request).getCurrentUser()
                .getEmail());
        email.send();
        return new ModelAndView(getSuccessView() + dto.getRp());
    }

}
View Full Code Here

Examples of org.eclipse.jetty.client.HttpChannel.send()

        normalizeRequest(exchange.getRequest());
        // One connection maps to N channels, so for each exchange we create a new channel
        HttpChannel channel = new HttpChannelOverSPDY(getHttpDestination(), this, session);
        channels.add(channel);
        channel.associate(exchange);
        channel.send();
    }

    protected void release(HttpChannel channel)
    {
        channels.remove(channel);
View Full Code Here

Examples of org.eclipse.jetty.client.HttpClient.send()

      HttpClient httpClient = new HttpClient();
        httpClient.start();
        ContentExchange contentExchange = new ContentExchange();
        httpClient.setConnectorType(HttpClient.CONNECTOR_SELECT_CHANNEL);
        contentExchange.setURL("http://localhost:8080/message/test?readTimeout=1000&type=queue");
        httpClient.send(contentExchange);
        contentExchange.waitForDone();
        assertEquals("test", contentExchange.getResponseContent());
  }

  public void testSubscribeFirst() throws Exception {
View Full Code Here

Examples of org.eclipse.jetty.client.HttpRequest.send()

                super.onContent(response, content);
            }
        };

        // fire the request
        jettyRequest.send(listener);

        // wait for response to begin
        Response response;
        try {
            response = listener.get(httpClient.getIdleTimeout(), TimeUnit.MILLISECONDS);
View Full Code Here

Examples of org.eclipse.jetty.client.api.Connection.send()

        FuturePromise<Connection> futureConnection = new FuturePromise<>();
        destination.newConnection(futureConnection);
        Connection connection = futureConnection.get(5, TimeUnit.SECONDS);
        Request request = client.newRequest(destination.getHost(), destination.getPort()).scheme(scheme);
        FutureResponseListener listener = new FutureResponseListener(request);
        connection.send(request, listener);
        ContentResponse response = listener.get(5, TimeUnit.SECONDS);

        Assert.assertEquals(200, response.getStatus());

        // Wait some time to have the client is an idle state.
View Full Code Here

Examples of org.eclipse.jetty.client.api.Request.send()

    }

    customizeProxyRequest(proxyRequest, request);

    if (isQuery) {
      proxyRequest.send(newMetricsEmittingProxyResponseListener(request, response, inputQuery, startTime));
    } else {
      proxyRequest.send(newProxyResponseListener(request, response));
    }
  }
View Full Code Here

Examples of org.eclipse.jetty.websocket.common.test.Fuzzer.send()

        try (Fuzzer fuzzer = new Fuzzer(this); StacklessLogging logging = new StacklessLogging(Parser.class))
        {
            fuzzer.connect();
            fuzzer.setSendMode(Fuzzer.SendMode.BULK);
            fuzzer.send(send);
            fuzzer.expect(expect);
        }
    }

    /**
 
View Full Code Here

Examples of org.eclipse.jgit.transport.RefAdvertiser.send()

    adv.init(db);
    adv.setDerefTags(true);

    Map<String, Ref> refs = db.getAllRefs();
    refs.remove(Constants.HEAD);
    adv.send(refs);
    out.close();
  }
}
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.