Class ParamHTTP
- All Implemented Interfaces:
org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
Java class for ParamHTTP complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="ParamHTTP">
<complexContent>
<extension base="{http://www.ivoa.net/xml/VOResource/v1.0}Interface">
<sequence>
<element name="queryType" type="{http://www.ivoa.net/xml/VODataService/v1.1}HTTPQueryType" maxOccurs="2" minOccurs="0"/>
<element name="resultType" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
<element name="param" type="{http://www.ivoa.net/xml/VODataService/v1.1}InputParam" maxOccurs="unbounded" minOccurs="0"/>
<element name="testQuery" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<InputParam>A description of a input parameter that can be provided as a name=value argument to the service.protected List<HTTPQueryType>The service may indicate support for both GET and POST by providing 2 queryType elements, one with GET and one with POST.protected StringThe MIME media type of a document returned in the HTTP response.protected StringWhen the interface supports GET, then the full query URL is formed by the concatenation of the base URL (given by the accessURL) and the value given by this testQuery element.Fields inherited from class org.javastro.ivoa.entities.resource.ServiceInterface
accessURLs, mirrorURLs, role, securityMethod, testQueryString, version -
Constructor Summary
ConstructorsConstructorDescriptionDefault no-arg constructorParamHTTP(List<AccessURL> accessURLs, List<MirrorURL> mirrorURLs, SecurityMethod securityMethod, String testQueryString, String version, String role, List<HTTPQueryType> queryTypes, String resultType, List<InputParam> params, String testQuery) Fully-initialising value constructor -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) booleanA description of a input parameter that can be provided as a name=value argument to the service.The service may indicate support for both GET and POST by providing 2 queryType elements, one with GET and one with POST.The MIME media type of a document returned in the HTTP response.When the interface supports GET, then the full query URL is formed by the concatenation of the base URL (given by the accessURL) and the value given by this testQuery element.inthashCode()voidvoidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) voidsetResultType(String value) Sets the value of the resultType property.voidsetTestQuery(String value) Sets the value of the testQuery property.toString()withAccessURLs(Collection<AccessURL> values) withAccessURLs(AccessURL... values) withMirrorURLs(Collection<MirrorURL> values) withMirrorURLs(MirrorURL... values) withParams(Collection<InputParam> values) withParams(InputParam... values) withQueryTypes(Collection<HTTPQueryType> values) withQueryTypes(HTTPQueryType... values) withResultType(String value) withSecurityMethod(SecurityMethod value) withTestQuery(String value) withTestQueryString(String value) withVersion(String value) Methods inherited from class org.javastro.ivoa.entities.resource.ServiceInterface
getAccessURLs, getMirrorURLs, getRole, getSecurityMethod, getTestQueryString, getVersion, setRole, setSecurityMethod, setTestQueryString, setVersion
-
Field Details
-
queryTypes
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected List<HTTPQueryType> queryTypesThe service may indicate support for both GET and POST by providing 2 queryType elements, one with GET and one with POST. Since the IVOA standard DALI requires standard services to support both GET and POST, this piece of metadata is not useful in the description of standard DAL services and does not need to be given for those. -
resultType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected String resultTypeThe MIME media type of a document returned in the HTTP response. -
params
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected List<InputParam> paramsA description of a input parameter that can be provided as a name=value argument to the service. -
testQuery
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected String testQueryWhen the interface supports GET, then the full query URL is formed by the concatenation of the base URL (given by the accessURL) and the value given by this testQuery element.
-
-
Constructor Details
-
ParamHTTP
public ParamHTTP()Default no-arg constructor -
ParamHTTP
public ParamHTTP(List<AccessURL> accessURLs, List<MirrorURL> mirrorURLs, SecurityMethod securityMethod, String testQueryString, String version, String role, List<HTTPQueryType> queryTypes, String resultType, List<InputParam> params, String testQuery) Fully-initialising value constructor
-
-
Method Details
-
getQueryTypes
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public List<HTTPQueryType> getQueryTypes()The service may indicate support for both GET and POST by providing 2 queryType elements, one with GET and one with POST. Since the IVOA standard DALI requires standard services to support both GET and POST, this piece of metadata is not useful in the description of standard DAL services and does not need to be given for those. Gets the value of the queryTypes property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the queryTypes property.For example, to add a new item, do as follows:
getQueryTypes().add(newItem);
Objects of the following type(s) are allowed in the list
HTTPQueryType- Returns:
- The value of the queryTypes property.
-
getResultType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public String getResultType()The MIME media type of a document returned in the HTTP response.- Returns:
- possible object is
String
-
setResultType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setResultType(String value) Sets the value of the resultType property.- Parameters:
value- allowed object isString- See Also:
-
getParams
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public List<InputParam> getParams()A description of a input parameter that can be provided as a name=value argument to the service. Gets the value of the params property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the params property.For example, to add a new item, do as follows:
getParams().add(newItem);
Objects of the following type(s) are allowed in the list
InputParam- Returns:
- The value of the params property.
-
getTestQuery
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public String getTestQuery()When the interface supports GET, then the full query URL is formed by the concatenation of the base URL (given by the accessURL) and the value given by this testQuery element.- Returns:
- possible object is
String
-
setTestQuery
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setTestQuery(String value) Sets the value of the testQuery property.- Parameters:
value- allowed object isString- See Also:
-
equals
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public boolean equals(Object object) - Overrides:
equalsin classServiceInterface
-
hashCode
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public int hashCode()- Overrides:
hashCodein classServiceInterface
-
toString
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public String toString()- Overrides:
toStringin classServiceInterface
-
append
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb.lang.ToString- Overrides:
appendin classServiceInterface
-
appendFields
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb.lang.ToString- Overrides:
appendFieldsin classServiceInterface
-
withQueryTypes
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public ParamHTTP withQueryTypes(HTTPQueryType... values) -
withQueryTypes
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public ParamHTTP withQueryTypes(Collection<HTTPQueryType> values) -
withResultType
-
withParams
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public ParamHTTP withParams(InputParam... values) -
withParams
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public ParamHTTP withParams(Collection<InputParam> values) -
withTestQuery
-
withAccessURLs
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public ParamHTTP withAccessURLs(AccessURL... values) - Overrides:
withAccessURLsin classServiceInterface
-
withAccessURLs
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public ParamHTTP withAccessURLs(Collection<AccessURL> values) - Overrides:
withAccessURLsin classServiceInterface
-
withMirrorURLs
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public ParamHTTP withMirrorURLs(MirrorURL... values) - Overrides:
withMirrorURLsin classServiceInterface
-
withMirrorURLs
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public ParamHTTP withMirrorURLs(Collection<MirrorURL> values) - Overrides:
withMirrorURLsin classServiceInterface
-
withSecurityMethod
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public ParamHTTP withSecurityMethod(SecurityMethod value) - Overrides:
withSecurityMethodin classServiceInterface
-
withTestQueryString
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public ParamHTTP withTestQueryString(String value) - Overrides:
withTestQueryStringin classServiceInterface
-
withVersion
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public ParamHTTP withVersion(String value) - Overrides:
withVersionin classServiceInterface
-
withRole
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public ParamHTTP withRole(String value) - Overrides:
withRolein classServiceInterface
-
mergeFrom
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void mergeFrom(Object left, Object right) - Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
mergeFromin classServiceInterface
-
mergeFrom
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void mergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) - Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
mergeFromin classServiceInterface
-
createNewInstance
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Object createNewInstance()- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.MergeFrom
-