Class ParamHTTP
- All Implemented Interfaces:
com.kscs.util.jaxb.Copyable,com.kscs.util.jaxb.PartialCopyable,Cloneable,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>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classclassstatic classstatic classstatic classParamHTTP.Selector<TRoot extends com.kscs.util.jaxb.Selector<TRoot,?>, TParent> -
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
__cachedModifier__, 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) static ParamHTTP.Builder<Void>builder()clone()copyExcept(com.kscs.util.jaxb.PropertyTree _propertyTree) static ParamHTTP.Builder<Void>copyExcept(ParamHTTP _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static ParamHTTP.Builder<Void>copyExcept(ServiceInterface _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static <_B> ParamHTTP.Builder<_B>static <_B> ParamHTTP.Builder<_B>copyOf(ParamHTTP _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) static <_B> ParamHTTP.Builder<_B>copyOf(ServiceInterface _other) static <_B> ParamHTTP.Builder<_B>copyOf(ServiceInterface _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) copyOnly(com.kscs.util.jaxb.PropertyTree _propertyTree) static ParamHTTP.Builder<Void>static ParamHTTP.Builder<Void>copyOnly(ServiceInterface _other, com.kscs.util.jaxb.PropertyTree _propertyTree) <_B> voidcopyTo(ParamHTTP.Builder<_B> _other) Copies all state of this object to a builder.<_B> voidcopyTo(ParamHTTP.Builder<_B> _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) Copies all state of this object to a builder.createCopy(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) 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) modifier()<_B> ParamHTTP.Builder<_B>newCopyBuilder(_B _parentBuilder) <_B> ParamHTTP.Builder<_B>newCopyBuilder(_B _parentBuilder, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) newCopyBuilder(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) voidsetResultType(String value) Sets the value of the resultType property.voidsetTestQuery(String value) Sets the value of the testQuery property.toString()visit(com.kscs.util.jaxb.PropertyVisitor _visitor_) Methods inherited from class org.javastro.ivoa.entities.resource.ServiceInterface
copyTo, copyTo, 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="2025-08-12T08:31:32+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="2025-08-12T08:31:32+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="2025-08-12T08:31:32+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="2025-08-12T08:31:32+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="2025-08-12T08:31:32+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="2025-08-12T08:31:32+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="2025-08-12T08:31:32+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="2025-08-12T08:31:32+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="2025-08-12T08:31:32+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="2025-08-12T08:31:32+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="2025-08-12T08:31:32+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="2025-08-12T08:31:32+01:00") public int hashCode()- Overrides:
hashCodein classServiceInterface
-
toString
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public String toString()- Overrides:
toStringin classServiceInterface
-
append
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+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="2025-08-12T08:31:32+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
-
mergeFrom
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+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="2025-08-12T08:31:32+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="2025-08-12T08:31:32+01:00") public Object createNewInstance()- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.MergeFrom
-
clone
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public ParamHTTP clone()- Overrides:
clonein classServiceInterface
-
createCopy
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public ParamHTTP createCopy()- Specified by:
createCopyin interfacecom.kscs.util.jaxb.Copyable- Overrides:
createCopyin classServiceInterface
-
createCopy
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public ParamHTTP createCopy(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) - Specified by:
createCopyin interfacecom.kscs.util.jaxb.PartialCopyable- Overrides:
createCopyin classServiceInterface
-
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public ParamHTTP copyExcept(com.kscs.util.jaxb.PropertyTree _propertyTree) - Specified by:
copyExceptin interfacecom.kscs.util.jaxb.PartialCopyable- Overrides:
copyExceptin classServiceInterface
-
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public ParamHTTP copyOnly(com.kscs.util.jaxb.PropertyTree _propertyTree) - Specified by:
copyOnlyin interfacecom.kscs.util.jaxb.PartialCopyable- Overrides:
copyOnlyin classServiceInterface
-
modifier
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public ParamHTTP.Modifier modifier()- Overrides:
modifierin classServiceInterface
-
copyTo
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public <_B> void copyTo(ParamHTTP.Builder<_B> _other) Copies all state of this object to a builder. This method is used by the copyOf method and should not be called directly by client code.- Parameters:
_other- A builder instance to which the state of this object will be copied.
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public <_B> ParamHTTP.Builder<_B> newCopyBuilder(_B _parentBuilder) - Specified by:
newCopyBuilderin classServiceInterface
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public ParamHTTP.Builder<Void> newCopyBuilder()- Specified by:
newCopyBuilderin classServiceInterface
-
builder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static ParamHTTP.Builder<Void> builder() -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static <_B> ParamHTTP.Builder<_B> copyOf(ServiceInterface _other) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static <_B> ParamHTTP.Builder<_B> copyOf(ParamHTTP _other) -
copyTo
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public <_B> void copyTo(ParamHTTP.Builder<_B> _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) Copies all state of this object to a builder. This method is used by the copyOf method and should not be called directly by client code.- Parameters:
_other- A builder instance to which the state of this object will be copied.
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public <_B> ParamHTTP.Builder<_B> newCopyBuilder(_B _parentBuilder, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) - Specified by:
newCopyBuilderin classServiceInterface
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public ParamHTTP.Builder<Void> newCopyBuilder(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) - Specified by:
newCopyBuilderin classServiceInterface
-
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static <_B> ParamHTTP.Builder<_B> copyOf(ServiceInterface _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static <_B> ParamHTTP.Builder<_B> copyOf(ParamHTTP _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static ParamHTTP.Builder<Void> copyExcept(ServiceInterface _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static ParamHTTP.Builder<Void> copyExcept(ParamHTTP _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static ParamHTTP.Builder<Void> copyOnly(ServiceInterface _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static ParamHTTP.Builder<Void> copyOnly(ParamHTTP _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
visit
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public ParamHTTP visit(com.kscs.util.jaxb.PropertyVisitor _visitor_) - Overrides:
visitin classServiceInterface
-