|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortletMimePocService
Version of the PortletPocService
that can be used in a render or
resource request of a JSR286 compatible portlet.
This service must be disposed after it has been retrieved via its home interface.
Disposable
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.ibm.portal.resolver.service.PortletPocService |
---|
PortletPocService.URI_SCOPE |
Method Summary | |
---|---|
javax.portlet.ResourceURL |
createResourceURL(Addressable aAddressable)
Creates a ResourceURL that references a POC URI. |
javax.portlet.ResourceURL |
createResourceURL(java.net.URI pocURI)
Creates a ResourceURL that references a POC URI. |
javax.portlet.ResourceURL |
createResourceURL(java.net.URI pocURI,
java.util.Map<java.lang.String,java.lang.String[]> aParams)
Creates a ResourceURL that references a POC URI. |
MimeContext |
getContext()
Returns the COR Context for the environment that matches the
service environment. |
Methods inherited from interface com.ibm.portal.resolver.service.PortletPocService |
---|
createPortletURI, createResourceBundleURI, createResourceBundleURI, decodeParameters, decodePortletURI, encodeParameters, getObjectID |
Methods inherited from interface com.ibm.portal.resolver.service.PocService |
---|
createContext, createDigestURI, createDigestURI, createURI, createURI, createURI, createXMLReader, getContextAccessor, getLookupService, getNonce, getServerContext, getURIParser, getURLFactory, getURLFactory, resolve, serveHeaders |
Methods inherited from interface com.ibm.portal.Disposable |
---|
dispose |
Method Detail |
---|
javax.portlet.ResourceURL createResourceURL(Addressable aAddressable) throws java.net.URISyntaxException
ResourceURL
that references a POC URI. When this
resource URL is actually invoked, the portlet receives a callback to the
ResourceServingPortlet.serveResource(javax.portlet.ResourceRequest, javax.portlet.ResourceResponse)
method. The resource requests can be server conveniently via the
PortletResourcePocService.serveResource(Addressable)
method.
aAddressable
- the identification of the POC, not null
java.net.URISyntaxException
javax.portlet.ResourceURL createResourceURL(java.net.URI pocURI)
ResourceURL
that references a POC URI. When this
resource URL is actually invoked, the portlet receives a callback to the
ResourceServingPortlet.serveResource(javax.portlet.ResourceRequest, javax.portlet.ResourceResponse)
method. If additional parameters are required for resource serving, use
the BaseURL.setParameters(java.util.Map)
method (or equivalents)
to set them. The resource requests can be server conveniently via the
PortletResourcePocService#serveResource(URI))
method.
pocURI
- the URI of the POC, not null
javax.portlet.ResourceURL createResourceURL(java.net.URI pocURI, java.util.Map<java.lang.String,java.lang.String[]> aParams)
ResourceURL
that references a POC URI. When this
resource URL is actually invoked, the portlet receives a callback to the
ResourceServingPortlet.serveResource(javax.portlet.ResourceRequest, javax.portlet.ResourceResponse)
method. The resource requests can be server conveniently via the
PortletResourcePocService.serveResource(URI, java.util.Map)
method.
pocURI
- the URI of the POC, not null
aParams
- the parameter map
MimeContext getContext()
PocService
Context
for the environment that matches the
service environment. This context can be used to issue custom COR
lookups.
getContext
in interface PocService
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |