Package org.infoglue.deliver.util.ioqueue

Examples of org.infoglue.deliver.util.ioqueue.HttpUniqueRequestQueueBean


  private void queueBean(CachingIOResultHandler resultHandler)
  {
    if(logger.isInfoEnabled())
      logger.info("Calling url in background...");
    HttpUniqueRequestQueueBean bean = new HttpUniqueRequestQueueBean();
    bean.setEncoding(this.charEncoding);
    bean.setFetcher(helper);
    bean.setHandler(resultHandler);
    bean.setRequestParameters(requestParameters);
    bean.setRequestProperties(requestProperties);
    bean.setTimeout(timeout);
    bean.setUrlAddress(url);
    try
    {
      bean.setSerializedParameters(helper.toEncodedString(requestParameters, this.charEncoding));     
    }
    catch (Exception e)
    {
      e.printStackTrace();
    }
View Full Code Here

TOP

Related Classes of org.infoglue.deliver.util.ioqueue.HttpUniqueRequestQueueBean

Copyright © 2018 www.massapicom. 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.