Examples of send()


Examples of rabbit.html.HtmlBlock.send()

  HtmlBlock currentBlock = null;
  try {
      currentBlock = parser.parse ();
      for (HtmlFilter hf : filters)
    hf.filterHtml (currentBlock);
      currentBlock.send (out);
  } catch (HtmlParseException e) {
      getLogger ().logInfo ("Bad HTML: " + e.toString ());
      out.write (arr);
      currentBlock = null;
  }
View Full Code Here

Examples of ratpack.http.Response.send()

    LOGGER.error(msg);

    Response response = requestConstants.response.status(500);
    if (getLaunchConfig().isDevelopment()) {
      response.send(msg);
    } else {
      response.send();
    }
  }
View Full Code Here

Examples of rocks.xmpp.core.session.TestXmppSession.send()

                Assert.assertNull(e.getMessage().getExtension(Request.class));
            }
        });

        Message message = new Message(JULIET);
        xmppSession1.send(message);
    }

    /**
     * A sender could request receipts on any non-error content message
     */
 
View Full Code Here

Examples of rocks.xmpp.core.session.XmppSession.send()

                Assert.assertNull(e.getMessage().getExtension(Request.class));
            }
        });

        Message message = new Message(JULIET);
        xmppSession1.send(message);
    }

    /**
     * A sender could request receipts on any non-error content message
     */
 
View Full Code Here

Examples of service.BusinessService.send()

          if (TTL == -1) {TTL = 120;} // 5 days expiration by default
          Timestamp timeToLive = null;
          Calendar today = GregorianCalendar.getInstance();
          today.add(Calendar.HOUR_OF_DAY, TTL);
          timeToLive = new Timestamp(today.getTime().getTime());
          String messageId = service.send(messageKey, fromMail, toMail, question, answer, timeToLive, version);
          response.getWriter().write(messageId);
          return;
        }
      }
      throw new ServletException("Access Denied");
View Full Code Here

Examples of service.DefaultBusinessServiceImpl.send()

          if (TTL == -1) {TTL = 120;} // 5 days expiration by default
          Timestamp timeToLive = null;
          Calendar today = GregorianCalendar.getInstance();
          today.add(Calendar.HOUR_OF_DAY, TTL);
          timeToLive = new Timestamp(today.getTime().getTime());
          String messageId = service.send(messageKey, fromMail, toMail, question, answer, timeToLive, version);
          response.getWriter().write(messageId);
          return;
        }
      }
      throw new ServletException("Access Denied");
View Full Code Here

Examples of sos.net.SOSMail.send()

                }
               
                sosMail.setSOSLogger(this.getLogger());
                this.getLogger().info("sending mail: \n" + sosMail.dumpMessageAsString());
               
                if (!sosMail.send()){
                  this.getLogger().warn("mail server is unavailable, mail for recipient [" + to + "] is queued in local directory [" + sosMail.getQueueDir() + "]:" + sosMail.getLastError());
                }

                    if ( cleanupAttachment ) {
                        for(int i=0; i<attachments.length; i++) {
View Full Code Here

Examples of sos.net.SOSMailOrder.send()

                if (this.isLogOnly()) {
                    message = "mail was NOT sent but stored to file: " + mailFile.getAbsolutePath();
                    if (this.getLogger() != null) this.getLogger().info(message);
                    message = (message.length() > 250 ? message.substring(message.length()-250) : message);
                    message = message.replaceAll("'", "''");
                } else mailOrder.send() ;

                if (this.getLogger() != null) this.getLogger().info("mail was " + (this.isLogOnly() ? "processed" : "sent") + " for order " + mailOrderId + " to: " + mailOrder.getRecipientsAsString());
               

                if (this.getLogger() != null) this.getLogger().debug3("mail was sent with headers: " + mailOrder.dumpHeaders());
View Full Code Here

Examples of sos.spooler.Web_service_response.send()

            } else {
                // .. or send an individual response (use order.params().xml() or order.xml_payload() to access order data)
                response.set_string_content( "<response state=\"success\">" + order.params().xml() + "</response>" );
            }

            response.send();
            spooler_log.info( "web service response successfully processed for order \"" + order.id() + "\"" );

            if (!super.spooler_process_after(rc)) return false;
           
            return rc;
View Full Code Here

Examples of sun.security.krb5.internal.TCPClient.send()

                TCPClient kdcClient = new TCPClient(kdc, port);
                try {
                    /*
                     * Send the data to the kdc.
                     */
                    kdcClient.send(obuf);
                    /*
                     * And get a response.
                     */
                    ibuf = kdcClient.receive();
                } finally {
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.