|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.abstracthorizon.danube.tapestry.DanubeContext
public class DanubeContext
WebContext interface implementation.
| Field Summary | |
|---|---|
protected Map<String,Object> |
attributes
Contexct attributes |
protected TapestryConnectionHandler |
handler
Reference to handler |
| Constructor Summary | |
|---|---|
DanubeContext(TapestryConnectionHandler handler)
Constructor |
|
| Method Summary | |
|---|---|
void |
describeTo(DescriptionReceiver receiver)
Does nothing |
Object |
getAttribute(String name)
Returns attribute |
List |
getAttributeNames()
Returns attribute names |
List |
getInitParameterNames()
Returns initial parameters names. |
String |
getInitParameterValue(String name)
Gets initial parameter's value |
String |
getMimeType(String resourcePath)
Returns mime type of given resource path |
URL |
getResource(String path)
Returns resource as URL. |
void |
setAttribute(String name,
Object attribute)
Sets attribute |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Map<String,Object> attributes
protected TapestryConnectionHandler handler
| Constructor Detail |
|---|
public DanubeContext(TapestryConnectionHandler handler)
handler - handler| Method Detail |
|---|
public URL getResource(String path)
getResource in interface WebContextpath - resource path. If starts with "/" then it is removed.
public String getMimeType(String resourcePath)
getMimeType in interface WebContextresourcePath - resource path
public List getAttributeNames()
getAttributeNames in interface AttributeHolderpublic Object getAttribute(String name)
getAttribute in interface AttributeHoldername - attribute name
public void setAttribute(String name,
Object attribute)
setAttribute in interface AttributeHoldername - attribte nameattribute - attribute valuepublic List getInitParameterNames()
getInitParameterNames in interface InitializationParameterHolderpublic String getInitParameterValue(String name)
getInitParameterValue in interface InitializationParameterHoldername - attribute name
public void describeTo(DescriptionReceiver receiver)
describeTo in interface Describablereceiver - receiver
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||