Class HTTPServletGuiseRequest

java.lang.Object
io.guise.framework.platform.web.HTTPServletGuiseRequest
All Implemented Interfaces:
io.clogr.Clogged

public class HTTPServletGuiseRequest extends Object implements io.clogr.Clogged
Information about the Guise request of an HTTP servlet.
Author:
Garret Wilson
  • Constructor Details

    • HTTPServletGuiseRequest

      public HTTPServletGuiseRequest(javax.servlet.http.HttpServletRequest request, GuiseContainer guiseContainer, GuiseApplication guiseApplication) throws IOException
      Creates an HTTP request.
      Parameters:
      request - The HTTP request.
      guiseContainer - The Guise container.
      guiseApplication - The Guise application.
      Throws:
      IOException - if there is an error reading or writing data.
  • Method Details

    • getHTTPServletRequest

      public javax.servlet.http.HttpServletRequest getHTTPServletRequest()
      Returns:
      The HTTP servlet request.
    • getDepictURI

      public URI getDepictURI()
      Returns:
      The requested plain depict URI.
    • getNavigationPath

      public com.globalmentor.net.URIPath getNavigationPath()
      Returns:
      The requested path in its logical form (which may be different than that which appears in the request URI).
    • isRequestPathReserved

      public boolean isRequestPathReserved()
      Returns:
      Whether the request is for a Guise reserved path.
    • getRequestContentType

      public com.globalmentor.net.MediaType getRequestContentType()
      Returns:
      The content type of the request, or null if not known.
    • isAJAX

      public boolean isAJAX()
      Returns:
      Whether this is an AJAX request.
    • getBookmark

      public Bookmark getBookmark()
      Returns:
      The bookmark represented by the request, or null if no bookmark is contained in the request.
    • getReferrerURI

      public URI getReferrerURI()
      Returns:
      The plain URI of the referring location, or null if there is no referrer.
    • toString

      public String toString()
      Overrides:
      toString in class Object