Class XmlPartialPageUpdate

    • Constructor Detail

      • XmlPartialPageUpdate

        public XmlPartialPageUpdate​(Page page)
    • Method Detail

      • setContentType

        public void setContentType​(org.apache.wicket.request.http.WebResponse response,
                                   String encoding)
        Description copied from class: PartialPageUpdate
        Sets the Content-Type header to indicate the type of the response.
        Specified by:
        setContentType in class PartialPageUpdate
        Parameters:
        response - the current we response
        encoding - the encoding to use
      • writeHeader

        protected void writeHeader​(org.apache.wicket.request.Response response,
                                   String encoding)
        Description copied from class: PartialPageUpdate
        Writes the head part of the response. For example XML preamble
        Specified by:
        writeHeader in class PartialPageUpdate
        Parameters:
        response - the response to write to
        encoding - the encoding for the response
      • writeComponent

        protected void writeComponent​(org.apache.wicket.request.Response response,
                                      String markupId,
                                      Component component,
                                      String encoding)
        TODO remove in Wicket 10
        Overrides:
        writeComponent in class PartialPageUpdate
        Parameters:
        response - the response to write to
        markupId - the markup id to use for the component replacement
        component - the component which markup will be used as replacement
        encoding - the encoding for the response
      • writeComponent

        protected void writeComponent​(org.apache.wicket.request.Response response,
                                      String markupId,
                                      CharSequence contents)
        Description copied from class: PartialPageUpdate
        Writes a component to the response.

        TODO make abstract in Wicket 10

        Overrides:
        writeComponent in class PartialPageUpdate
        Parameters:
        response - the response to write to
        contents - the contents
      • writeFooter

        protected void writeFooter​(org.apache.wicket.request.Response response,
                                   String encoding)
        Specified by:
        writeFooter in class PartialPageUpdate
        Parameters:
        response - the response to write to
        encoding - the encoding for the response
      • writeHeaderContribution

        protected void writeHeaderContribution​(org.apache.wicket.request.Response response,
                                               CharSequence contents)
        Description copied from class: PartialPageUpdate
        Writes a header contribution to the response.
        Specified by:
        writeHeaderContribution in class PartialPageUpdate
        Parameters:
        response - the response to write to
        contents - the contents