Package com.iizix.ws.engine
Class RESTfulReply
- java.lang.Object
- com.iizix.ws.engine.RESTfulReply
public class RESTfulReply extends java.lang.Object
The class holding the reply from a RESTful request.- Author:
- Christopher Mindus
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
formatHTTPReply()
Formats the URLConnection HTTP headers reply into a String.IReplyContent
processReply(java.util.List<IReplyContent> replyContents)
Processes the URL connection to read the data for the request.
Method Detail
processReply
public IReplyContent processReply(java.util.List<IReplyContent> replyContents) throws java.io.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:
java.io.IOException
- For I/O errors.
formatHTTPReply
public java.lang.String formatHTTPReply()
Formats the URLConnection HTTP headers reply into a String.- Returns:
- The formatted HTML reply string.