Package freenet.clients.http.updateableelements

Examples of freenet.clients.http.updateableelements.BaseUpdateableElement


    String elementId = req.getParam("elementId");
    elementId = elementId.replace(" ", "+");// This is needed, because BASE64 has '+', but it is a HTML escape for ' '
    if (logMINOR) {
      Logger.minor(this, "Getting data for element:" + elementId);
    }
    BaseUpdateableElement node = ((SimpleToadletServer) ctx.getContainer()).pushDataManager.getRenderedElement(requestId, elementId);
    if (logMINOR) {
      Logger.minor(this, "Data got element:" + node.generateChildren());
    }
    writeHTMLReply(ctx, 200, "OK", UpdaterConstants.SUCCESS + ":" + Base64.encodeStandard(node.getUpdaterType().getBytes("UTF-8")) + ":" + Base64.encodeStandard(node.generateChildren().getBytes("UTF-8")));
  }
View Full Code Here

TOP

Related Classes of freenet.clients.http.updateableelements.BaseUpdateableElement

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.