Class RESTfulReply

java.lang.Object
com.iizix.ws.engine.RESTfulReply

public class RESTfulReply extends Object
The class holding the reply from a RESTful request.
Author:
Christopher Mindus
  • Method Details

    • processReply

      public IReplyContent processReply(List<IReplyContent> replyContents) throws IOException
      Processes the URL connection to read the data for the request.
      Parameters:
      replyContents - The available reply content parsers.
      Returns:
      The reply content that processed the reply.
      Throws:
      IOException - For I/O errors.
    • formatHTTPReply

      public String formatHTTPReply()
      Formats the URLConnection HTTP headers reply into a String.
      Returns:
      The formatted HTML reply string.