public class RequestInfo extends DocumentedInfo
| Constructor and Description |
|---|
RequestInfo()
Constructor.
|
RequestInfo(DocumentationInfo documentation)
Constructor with a single documentation element.
|
RequestInfo(List<DocumentationInfo> documentations)
Constructor with a list of documentation elements.
|
RequestInfo(String documentation)
Constructor with a single documentation element.
|
| Modifier and Type | Method and Description |
|---|---|
List<ParameterInfo> |
getParameters()
Returns the list of parameters.
|
List<RepresentationInfo> |
getRepresentations()
Returns the list of supported input representations.
|
void |
setParameters(List<ParameterInfo> parameters)
Sets the list of parameters.
|
String |
toString()
List of supported input representations.
|
void |
updateNamespaces(Map<String,String> namespaces)
Completes the given map of namespaces with the namespaces used in the
documentation elements.
|
getDocumentations, resolveNamespaces, setDocumentation, setDocumentation, setDocumentationspublic RequestInfo()
public RequestInfo(DocumentationInfo documentation)
documentation - A single documentation element.public RequestInfo(List<DocumentationInfo> documentations)
documentations - The list of documentation elements.public RequestInfo(String documentation)
documentation - A single documentation element.public String toString()
public List<ParameterInfo> getParameters()
public List<RepresentationInfo> getRepresentations()
public void setParameters(List<ParameterInfo> parameters)
parameters - The list of parameters.public void updateNamespaces(Map<String,String> namespaces)
DocumentedInfoupdateNamespaces in class DocumentedInfonamespaces - The given map of namespaces to complete.Copyright © 2011-2013. All Rights Reserved.