Examples of send()


Examples of org.apache.sshd.common.scp.ScpHelper.send()

        FileSystemFactory factory = clientSession.getFactoryManager().getFileSystemFactory();
        FileSystemView fs = factory.createFileSystemView(clientSession);
        ScpHelper helper = new ScpHelper(channel.getInvertedOut(), channel.getInvertedIn(), fs);

        helper.send(Arrays.asList(local),
                    options.contains(Option.Recursive),
                    options.contains(Option.PreserveAttributes));

        channel.close(false);
    }
View Full Code Here

Examples of org.apache.synapse.endpoints.Endpoint.send()

            Endpoint epr = synCtx.getConfiguration().getEndpoint(endpointRef);
            if (epr != null) {
                if (log.isDebugEnabled()) {
                    log.debug("Sending using the endpoint named : " + endpointRef);
                }
                epr.send(synCtx);
            } else {
                handleException("Couldn't find the endpoint named : " + endpointRef);
            }
        }
View Full Code Here

Examples of org.apache.tomcat.lite.http.HttpChannel.send()

        // Any data
        serverHttp.setDataReceivedCallback(copy);
        copy.handleReceived(serverHttp);

        httpClient.send();


        //serverHttp.handleReceived(serverHttp.getSink());
        //httpClient.flush(); // send any data still there
View Full Code Here

Examples of org.apache.tomcat.lite.http.HttpRequest.send()

    public static BBuffer get(String url) throws IOException {

        BBuffer out = BBuffer.allocate();

        HttpRequest aclient = HttpClient.newClient().request(url);
        aclient.send();
        aclient.readAll(out,
                //Long.MAX_VALUE);//
                2000000);
        aclient.release(); // return connection to pool
        return out;
View Full Code Here

Examples of org.apache.tools.ant.taskdefs.email.Mailer.send()

        mailer.setToList(toList);
        mailer.setCcList(new Vector());
        mailer.setBccList(new Vector());
        mailer.setFiles(new Vector());
        mailer.setSubject(subject);
        mailer.send();
    }
    private Vector vectorizeEmailAddresses(String listString) {
        Vector emailList = new Vector();
        StringTokenizer tokens = new StringTokenizer(listString, ",");
        while (tokens.hasMoreTokens()) {
View Full Code Here

Examples of org.apache.turbine.util.mail.SimpleEmail.send()

            SimpleEmail se = new SimpleEmail();
            se.setFrom(fromEmail, fromName);
            se.addTo(toEmail, toName);
            se.setSubject(subject);
            se.setMsg(body);
            se.send();
        }
        catch (Exception e)
        {
            // Log the error.
            Log.error ("WebMacroEmail error: ", e);
View Full Code Here

Examples of org.apache.turbine.util.velocity.VelocityHtmlEmail.send()

      ve.setFrom(TurbineResources.getString("mail.smtp.from"), TurbineResources.getString("mail.smtp.from.name"));
      ve.setSubject(emailEntry.getSubject());
//      ve.setTextMsg(emailEntry.getBody());
      context.put("emailbody", emailEntry.getBody());
      ve.setTextTemplate("screens/SendEmail.vm");
      ve.send();

      return true;
     
    }else{
      data.setMessage("Sorry, the email address is unknown!");
View Full Code Here

Examples of org.apache.wicket.Component.send()

            IRequestParameters parameters = request.getRequestParameters();
            Component component = getComponent();

            try {
                JsonNode jsonNode = Json.parse(parameters.getParameterValue("datum").toString());
                component.send(component.getPage(), Broadcast.BREADTH, new TypeaheadEvent(type, jsonNode));
            } catch (IllegalStateException ise) {
                LOG.warn("Unable to get page for sending typeahead event");
            } catch (Json.ParseException pe) {
                LOG.warn("Unable to parse selected typeahead datum");
            }
View Full Code Here

Examples of org.apache.wicket.Page.send()

          Page page = (Page) pageManager.getPage(pageId);
          WebSocketRequestHandler requestHandler = new WebSocketRequestHandler(page, connection);

          WebSocketPayload payload = createEventPayload(message, requestHandler);

          page.send(application, Broadcast.BREADTH, payload);

          if (!(message instanceof ConnectedMessage || message instanceof ClosedMessage))
          {
            requestHandler.respond(requestCycle);
          }
View Full Code Here

Examples of org.apache.ws.security.common.CustomHandler.send()

       
        final java.util.List<Integer> actions = new java.util.ArrayList<Integer>();
        actions.add(WSConstants.SIGN);
        final Document doc = SOAPUtil.toSOAPPart(SOAPUtil.SAMPLE_SOAP_MSG);
        CustomHandler handler = new CustomHandler();
        handler.send(
            action,
            doc,
            reqData,
            actions,
            true
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.