Package javax.servlet

Interface ServletResponse

    • Method Detail

      • flushBuffer

        void flushBuffer()
                  throws IOException
        Flush the buffer.
        Throws:
        IOException - when an I/O error occurs.
      • getBufferSize

        int getBufferSize()
        Get the buffer size.
        Returns:
        the buffer size.
      • getCharacterEncoding

        String getCharacterEncoding()
        Get the character encoding.
        Returns:
        the character encoding.
      • getContentType

        String getContentType()
        Get the content type.
        Returns:
        the content type.
      • getLocale

        Locale getLocale()
        Get the locale.
        Returns:
        the locale.
      • isCommitted

        boolean isCommitted()
        Is committed.
        Returns:
        true if it is, false otherwise.
      • reset

        void reset()
        Reset.
      • resetBuffer

        void resetBuffer()
        Reset the buffer.
      • setBufferSize

        void setBufferSize​(int bufferSize)
        Set the buffer size.
        Parameters:
        bufferSize - the buffer size.
      • setCharacterEncoding

        void setCharacterEncoding​(String characterEncoding)
        Set the character encoding.
        Parameters:
        characterEncoding - the character encoding.
      • setContentLength

        void setContentLength​(int contentLength)
        Set the content length.
        Parameters:
        contentLength - the content length.
      • setContentLengthLong

        void setContentLengthLong​(long contentLength)
        Set the content length.
        Parameters:
        contentLength - the content length.
      • setContentType

        void setContentType​(String contentType)
        Set the content type.
        Parameters:
        contentType - the content type.
      • setLocale

        void setLocale​(Locale locale)
        Set the locale.
        Parameters:
        locale - the locale.