Interface FragmentResponse


public interface FragmentResponse
FragmentResponse is a placeholder for the results of an async include so they can be inserted later in the response
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    insertFragment(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp)
    insertFragment marks the location a fragment's response contents are supposed to be inserted without blocking
    void
    insertFragmentBlocking(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp)
    insertFragmentBlocking waits for the include to complete and inserts the response content.
  • Method Details

    • insertFragment

      void insertFragment(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp) throws javax.servlet.ServletException, IOException
      insertFragment marks the location a fragment's response contents are supposed to be inserted without blocking
      Parameters:
      req - ServletRequest
      resp - ServletResponse
      Throws:
      javax.servlet.ServletException
      IOException
    • insertFragmentBlocking

      void insertFragmentBlocking(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp) throws javax.servlet.ServletException, IOException
      insertFragmentBlocking waits for the include to complete and inserts the response content.
      Parameters:
      req - ServletRequest
      resp - ServletResponse
      Throws:
      javax.servlet.ServletException
      IOException