Class StringResponse


  • public class StringResponse
    extends HttpResponse
    Author:
    bratseth
    • Constructor Detail

      • StringResponse

        public StringResponse​(java.lang.String message)
    • Method Detail

      • render

        public void render​(java.io.OutputStream stream)
                    throws java.io.IOException
        Description copied from class: HttpResponse
        Marshal this response to the network layer. The caller is responsible for flushing and closing outputStream.
        Specified by:
        render in class HttpResponse
        Throws:
        java.io.IOException