Package io.guise.framework.platform.web
Class GuiseHTTPServlet.DestinationResource
- java.lang.Object
-
- io.guise.framework.platform.web.GuiseHTTPServlet.AbstractDescriptionResource
-
- io.guise.framework.platform.web.GuiseHTTPServlet.DestinationResource
-
- All Implemented Interfaces:
com.globalmentor.net.Resource
- Enclosing class:
- GuiseHTTPServlet
protected class GuiseHTTPServlet.DestinationResource extends GuiseHTTPServlet.AbstractDescriptionResource
A resource that is accessed through a Guise session's resource destination.- Author:
- Garret Wilson
- See Also:
ResourceReadDestination
-
-
Constructor Summary
Constructors Constructor Description DestinationResource(java.net.URI referenceURI, io.urf.model.UrfResourceDescription resourceDescription, HTTPServletGuiseContainer guiseContainer, GuiseApplication guiseApplication, GuiseSession guiseSession, ResourceReadDestination resourceDestination, com.globalmentor.net.URIPath navigationPath, Bookmark bookmark, java.net.URI referrerURI)
Constructs a resource with a reference URI and resource description, along with the Guise container, application, session, and resource destination.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.InputStream
getInputStream(javax.servlet.http.HttpServletRequest request)
-
Methods inherited from class io.guise.framework.platform.web.GuiseHTTPServlet.AbstractDescriptionResource
getContentLength, getContentType, getLastModified, getResourceDescription, getURI
-
-
-
-
Constructor Detail
-
DestinationResource
public DestinationResource(java.net.URI referenceURI, io.urf.model.UrfResourceDescription resourceDescription, HTTPServletGuiseContainer guiseContainer, GuiseApplication guiseApplication, GuiseSession guiseSession, ResourceReadDestination resourceDestination, com.globalmentor.net.URIPath navigationPath, Bookmark bookmark, java.net.URI referrerURI)
Constructs a resource with a reference URI and resource description, along with the Guise container, application, session, and resource destination.- Parameters:
referenceURI
- The reference URI for the new resource.resourceDescription
- The description of the resource.guiseContainer
- The Guise container.guiseApplication
- The Guise application.guiseSession
- The Guise session.resourceDestination
- The Guise session resource destination being accessed.navigationPath
- The navigation path relative to the application context path.bookmark
- The bookmark for which navigation should occur at this navigation path, ornull
if there is no bookmark involved in navigation.referrerURI
- The URI of the referring navigation panel or other entity with no query or fragment, ornull
if no referring URI is known.- Throws:
java.lang.NullPointerException
- if the reference URI, resource description, Guise container, Guise application, Guise session, resource destination, navigation path, and/or bookmark isnull
.
-
-