|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.shale.remoting.Mechanism
public final class Mechanism
Typesafe enumeration of the legal values that may be specified for the
mechanism property of a Mapping. Note that these values
are advisory only -- the framework has no concept of what technique is
actually employed to translate the incomfing view identifier into content
to be supplied as a response.
| Field Summary | |
|---|---|
static Mechanism |
CLASS_RESOURCE
Mechanism indicating that the processor should serve a static
resource from the classpath of this web application. |
static Mechanism |
DYNAMIC_RESOURCE
Mechanism indicating that the processor should dynamically
calculate the content type, and contents, of the response to be
created. |
static Mechanism |
OTHER_RESOURCE
Mechanism indicating that an unspecified mechanism will be
used to provide the content for the response. |
static Mechanism |
WEBAPP_RESOURCE
Mechanism indicating that the processor should serve a static
resource from the web application archive of this web application. |
| Method Summary | |
|---|---|
String |
toString()
Return a string representation of this mechansim. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Mechanism CLASS_RESOURCE
Mechanism indicating that the processor should serve a static
resource from the classpath of this web application.
public static final Mechanism WEBAPP_RESOURCE
Mechanism indicating that the processor should serve a static
resource from the web application archive of this web application.
public static final Mechanism DYNAMIC_RESOURCE
Mechanism indicating that the processor should dynamically
calculate the content type, and contents, of the response to be
created.
public static final Mechanism OTHER_RESOURCE
Mechanism indicating that an unspecified mechanism will be
used to provide the content for the response.
| Method Detail |
|---|
public String toString()
Return a string representation of this mechansim.
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||