Package net.targetr.rc.util
Class AppMarkdown2HtmlResponse
java.lang.Object
net.targetr.wtm3.net.http.HttpResponse
net.targetr.wtm3.net.http.response.HttpByteArrayResponse
net.targetr.rc.util.AppMarkdown2HtmlResponse
Generates an HTML response by converting a Markdown file.
-
Field Summary
Fields inherited from class net.targetr.wtm3.net.http.HttpResponse
bytesWritten, code, headerLength, headers, info, version, writeErrorHandler -
Constructor Summary
ConstructorsConstructorDescriptionAppMarkdown2HtmlResponse(HttpRequest httpReq, String app, String roomId, ResponseCache cache) Constructs a new Markdown2HtmlResponse. -
Method Summary
Methods inherited from class net.targetr.wtm3.net.http.response.HttpByteArrayResponse
setAllowGzip, writeMethods inherited from class net.targetr.wtm3.net.http.HttpResponse
getBodyInputStream, getContentLength, parseResponse, toString
-
Constructor Details
-
AppMarkdown2HtmlResponse
public AppMarkdown2HtmlResponse(HttpRequest httpReq, String app, String roomId, ResponseCache cache) throws IOException Constructs a new Markdown2HtmlResponse.- Parameters:
httpReq- The HTTP request.app- The target application.roomId- The ID of the room.cache- The response cache.- Throws:
IOException- If an I/O error occurs while creating the HTML response.
-