Package | Description |
---|---|
org.apache.shale.remoting |
This package contains interfaces and APIs to support access for remoting
(client side components that need to perform server side activities and/or
retrieve information on a background thread).
|
org.apache.shale.remoting.impl |
This package contains default implementations for the APIs specified
by Shale remoting support.
|
Modifier and Type | Field and Description |
---|---|
static Mechanism |
Mechanism.CLASS_RESOURCE
Mechanism indicating that the processor should serve a static
resource from the classpath of this web application. |
static Mechanism |
Mechanism.DYNAMIC_RESOURCE
Mechanism indicating that the processor should dynamically
calculate the content type, and contents, of the response to be
created. |
static Mechanism |
Mechanism.OTHER_RESOURCE
Mechanism indicating that an unspecified mechanism will be
used to provide the content for the response. |
static Mechanism |
Mechanism.WEBAPP_RESOURCE
Mechanism indicating that the processor should serve a static
resource from the web application archive of this web application. |
Modifier and Type | Method and Description |
---|---|
Mechanism |
Mapping.getMechanism()
Return a description of the mechanism used to return the response
from this processor.
|
Modifier and Type | Method and Description |
---|---|
void |
XhtmlHelper.linkJavascript(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
javax.faces.context.ResponseWriter writer,
Mechanism mechanism,
String resourceId)
Render a link to a JavaScript resource at the specified resource
identifier.
|
void |
XhtmlHelper.linkJavascript(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
javax.faces.context.ResponseWriter writer,
Mechanism mechanism,
String resourceId,
String contentType)
Render a link to a JavaScript resource at the specified resource
identifier.
|
void |
XhtmlHelper.linkStylesheet(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
javax.faces.context.ResponseWriter writer,
Mechanism mechanism,
String resourceId)
Render a link to a CSS stylesheet at the specified resource
identifier.
|
String |
XhtmlHelper.mapResourceId(javax.faces.context.FacesContext context,
Mechanism mechanism,
String resourceId)
Map the specified resource identifier to a request URL, taking into
account the mappings for the specified mechanism and the servlet mapping
for the JavaServer Faces controller servlet.
|
void |
Mapping.setMechanism(Mechanism mechanism)
Set the mechanism used by this mapping.
|
Modifier and Type | Method and Description |
---|---|
Mechanism |
MappingImpl.getMechanism()
Return a description of the mechanism used to return the response
from this processor.
|
Modifier and Type | Method and Description |
---|---|
void |
MappingImpl.setMechanism(Mechanism mechanism)
Set the mechanism used by this mapping.
|
Constructor and Description |
---|
MappingImpl(Mechanism mechanism,
String pattern,
Processor processor)
Construct a fully configured instance.
|
Copyright © 2004-2013 Apache Software Foundation. All Rights Reserved.