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:
-
Field Summary
Fields inherited from interface com.globalmentor.net.Resource
URI_PROPERTY_NAME
-
Constructor Summary
ConstructorDescriptionDestinationResource
(URI referenceURI, io.urf.model.UrfResourceDescription resourceDescription, HTTPServletGuiseContainer guiseContainer, GuiseApplication guiseApplication, GuiseSession guiseSession, ResourceReadDestination resourceDestination, com.globalmentor.net.URIPath navigationPath, Bookmark bookmark, URI referrerURI) Constructs a resource with a reference URI and resource description, along with the Guise container, application, session, and resource destination. -
Method Summary
Methods inherited from class io.guise.framework.platform.web.GuiseHTTPServlet.AbstractDescriptionResource
getContentLength, getContentType, getLastModified, getResourceDescription, getURI
-
Constructor Details
-
DestinationResource
public DestinationResource(URI referenceURI, io.urf.model.UrfResourceDescription resourceDescription, HTTPServletGuiseContainer guiseContainer, GuiseApplication guiseApplication, GuiseSession guiseSession, ResourceReadDestination resourceDestination, com.globalmentor.net.URIPath navigationPath, Bookmark bookmark, 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:
NullPointerException
- if the reference URI, resource description, Guise container, Guise application, Guise session, resource destination, navigation path, and/or bookmark isnull
.
-
-
Method Details
-
getInputStream
- Throws:
IOException
-