|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvoicexml.DocumentDescriptor
public final class DocumentDescriptor
Attributes describing a VoiceXML document to retrieve from the
DocumentServer.
| Constructor Summary | |
|---|---|
DocumentDescriptor(URI documentUri)
Constructs a new object with the request method set to RequestMethod.GET. |
|
DocumentDescriptor(URI documentUri,
RequestMethod requestMethod)
Constructs a new object. |
|
DocumentDescriptor(URI documentUri,
RequestMethod requestMethod,
boolean force)
Constructs a new object. |
|
| Method Summary | |
|---|---|
void |
addParameter(String name,
Object value)
Adds the given parameter to the list of known parameters. |
FetchAttributes |
getAttributes()
Retrieve the fetch attributes. |
RequestMethod |
getMethod()
Retrieves the request method. |
Map<String,Object> |
getParameters()
Retrieves the known parameter. |
URI |
getUri()
Retrieves the URI of the document to fetch. |
boolean |
isForceLoad()
Checks if the document has to be retrieved although the document is in the cache. |
void |
setAttributes(FetchAttributes value)
Sets the fetch attributes. |
void |
setURI(URI value)
Sets the URI of the document. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DocumentDescriptor(URI documentUri)
RequestMethod.GET.
documentUri - the URI of the document.
public DocumentDescriptor(URI documentUri,
RequestMethod requestMethod)
documentUri - the URI of the document.requestMethod - the request method.
public DocumentDescriptor(URI documentUri,
RequestMethod requestMethod,
boolean force)
documentUri - the URI of the document.requestMethod - the request method.force - true if the document must be loaded| Method Detail |
|---|
public void setURI(URI value)
value - URI of the document.public URI getUri()
public boolean isForceLoad()
true if the document must be retrieved.public RequestMethod getMethod()
public FetchAttributes getAttributes()
public void setAttributes(FetchAttributes value)
value - the attributes to set
public void addParameter(String name,
Object value)
name - name of the parametervalue - value of the parameterpublic Map<String,Object> getParameters()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||