Package io.guise.framework.platform.web
Class HTTPServletGuiseRequest
java.lang.Object
io.guise.framework.platform.web.HTTPServletGuiseRequest
- All Implemented Interfaces:
io.clogr.Clogged
Information about the Guise request of an HTTP servlet.
- Author:
- Garret Wilson
-
Constructor Summary
ConstructorDescriptionHTTPServletGuiseRequest
(javax.servlet.http.HttpServletRequest request, GuiseContainer guiseContainer, GuiseApplication guiseApplication) Creates an HTTP request. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.clogr.Clogged
getLogger
-
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
- Returns:
- The requested plain depict 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
- Returns:
- The bookmark represented by the request, or
null
if no bookmark is contained in the request.
-
getReferrerURI
- Returns:
- The plain URI of the referring location, or
null
if there is no referrer.
-
toString
-