Interface ILinkedDataFragmentWriter

    • Method Detail

      • writeNotFound

        void writeNotFound​(javax.servlet.ServletOutputStream outputStream,
                           javax.servlet.http.HttpServletRequest request)
                    throws Exception
        Writes a 404 Not Found error
        Parameters:
        outputStream - The response stream to write to
        request - Request that is unable to answer
        Throws:
        Exception - Error that occurs while serializing
      • writeError

        void writeError​(javax.servlet.ServletOutputStream outputStream,
                        Exception ex)
                 throws Exception
        Writes a 5XX error
        Parameters:
        outputStream - The response stream to write to
        ex - Exception that occurred
        Throws:
        Exception - Error that occurs while serializing