Package com.googlecode.jsonwebservice.attachment

Examples of com.googlecode.jsonwebservice.attachment.HtmlStreamOutput


    endpointInterface = "com.googlecode.jsonwebservice.attachment.ChartPort")
public class ChartPortImpl implements ChartPort {

  @Override
  public HtmlStreamOutput getHTMLStream(TestInput arg0) {
    HtmlStreamOutput html = new HtmlStreamOutput();
    html.setOutputFormates("text/html");
    try {
      // Also look at
      //StreamingDataHandler
      html.setHtml(new DataHandler(new URLDataSource(new URL("http://code.google.com/p/jsonwebservice/wiki/GettingStarted"))));
    } catch (MalformedURLException e) {
      e.printStackTrace();
    }
    return html;
  }
View Full Code Here

TOP

Related Classes of com.googlecode.jsonwebservice.attachment.HtmlStreamOutput

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.