Class Response

    • Method Detail

      • write

        public abstract void write​(byte[] array,
                                   int offset,
                                   int length)
        Writes the buffer to output.
        array - the data.
        offset - the start offset in the data.
        length - the number of bytes to write.
        IllegalStateException - if write(CharSequence) has already been called on this instance
      • close

        public void close()
        Closes the response
      • encodeURL

        public abstract String encodeURL​(CharSequence url)
        Encodes the specified URL by including the session ID in it, or, if encoding is not needed, returns the URL unchanged.
        url -
        encoded URL
      • reset

        public void reset()
        Called when the Response needs to reset itself. Subclasses can empty there buffer or build up state.
      • getContainerResponse

        public abstract Object getContainerResponse()
        Provides access to the low-level container response object that implementaion of this Response delegate to. This allows users to access features provided by the container response but not by generalized Wicket Response objects.
        low-level container response object, or null if none