|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.twenty11.skysail.server.restlet.DocumentedInfo
de.twenty11.skysail.server.restlet.ResponseInfo
public class ResponseInfo
| Constructor Summary | |
|---|---|
ResponseInfo()
Constructor. |
|
ResponseInfo(DocumentationInfo documentation)
Constructor with a single documentation element. |
|
ResponseInfo(List<DocumentationInfo> documentations)
Constructor with a list of documentation elements. |
|
ResponseInfo(String documentation)
Constructor with a single documentation element. |
|
| Method Summary | |
|---|---|
List<ParameterInfo> |
getParameters()
Returns the list of parameters. |
List<RepresentationInfo> |
getRepresentations()
Returns the list of representations |
List<org.restlet.data.Status> |
getStatuses()
Returns the list of statuses associated with this response representation. |
void |
setParameters(List<ParameterInfo> parameters)
Sets the list of parameters. |
void |
setRepresentations(List<RepresentationInfo> representations)
Sets the list of representations |
void |
setStatuses(List<org.restlet.data.Status> statuses)
Sets the list of statuses associated with this response representation. |
String |
toString()
|
void |
updateNamespaces(Map<String,String> namespaces)
Completes the given map of namespaces with the namespaces used in the documentation elements. |
| Methods inherited from class de.twenty11.skysail.server.restlet.DocumentedInfo |
|---|
getDocumentations, resolveNamespaces, setDocumentation, setDocumentation, setDocumentations |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ResponseInfo()
public ResponseInfo(DocumentationInfo documentation)
documentation - A single documentation element.public ResponseInfo(List<DocumentationInfo> documentations)
documentations - The list of documentation elements.public ResponseInfo(String documentation)
documentation - A single documentation element.| Method Detail |
|---|
public String toString()
toString in class Objectpublic List<ParameterInfo> getParameters()
public List<RepresentationInfo> getRepresentations()
public List<org.restlet.data.Status> getStatuses()
public void setParameters(List<ParameterInfo> parameters)
parameters - The list of parameters.public void setRepresentations(List<RepresentationInfo> representations)
representations - The list of representationspublic void setStatuses(List<org.restlet.data.Status> statuses)
statuses - The list of statuses associated with this response
representation.public void updateNamespaces(Map<String,String> namespaces)
DocumentedInfo
updateNamespaces in class DocumentedInfonamespaces - The given map of namespaces to complete.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||