Class ReceiveResponseModel
- java.lang.Object
-
- com.consol.citrus.model.testcase.http.ReceiveResponseModel
-
public class ReceiveResponseModel extends Object
Java-Klasse für anonymous complex type.
Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.citrusframework.org/schema/http/testcase}description" minOccurs="0"/> <element name="selector" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice> <element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="element" maxOccurs="unbounded"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> </choice> </restriction> </complexContent> </complexType> </element> <element name="headers" minOccurs="0"> <complexType> <complexContent> <extension base="{http://www.citrusframework.org/schema/http/testcase}ResponseHeadersType"> <attribute name="ignore-case" type="{http://www.w3.org/2001/XMLSchema}string" /> </extension> </complexContent> </complexType> </element> <element name="body" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <choice minOccurs="0"> <element name="payload"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <any processContents='skip' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="data" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="resource"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="file" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="charset" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> </choice> <element name="validate" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="script" minOccurs="0"> <complexType> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>string"> <attribute name="type" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="groovy"/> </restriction> </simpleType> </attribute> <attribute name="file" type="{http://www.w3.org/2001/XMLSchema}string" /> </extension> </simpleContent> </complexType> </element> <element name="xpath" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="expression" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="result-type"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="node"/> <enumeration value="node-set"/> <enumeration value="boolean"/> <enumeration value="string"/> <enumeration value="number"/> </restriction> </simpleType> </attribute> </restriction> </complexContent> </complexType> </element> <element name="json-path" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="expression" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> <element name="namespace" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="prefix" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> </sequence> <attribute name="path" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="result-type"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="node"/> <enumeration value="node-set"/> <enumeration value="boolean"/> <enumeration value="string"/> <enumeration value="number"/> </restriction> </simpleType> </attribute> </restriction> </complexContent> </complexType> </element> </sequence> <attribute name="schema-validation" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="schema" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="schema-repository" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="validator" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="data-dictionary" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" default="xml" /> </restriction> </complexContent> </complexType> </element> <element name="extract" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="header" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="variable" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> <element name="body" maxOccurs="unbounded" minOccurs="0"> <complexType> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>string"> <attribute name="path" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="variable" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="result-type"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="node"/> <enumeration value="node-set"/> <enumeration value="boolean"/> <enumeration value="string"/> <enumeration value="number"/> </restriction> </simpleType> </attribute> </extension> </simpleContent> </complexType> </element> </sequence> </restriction> </complexContent> </complexType> </element> </sequence> <attribute name="client" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="uri" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="timeout" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="actor" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReceiveResponseModel.Body
Java-Klasse für anonymous complex type.static class
ReceiveResponseModel.Extract
Java-Klasse für anonymous complex type.static class
ReceiveResponseModel.Headers
Java-Klasse für anonymous complex type.static class
ReceiveResponseModel.Selector
Java-Klasse für anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected String
actor
protected ReceiveResponseModel.Body
body
protected String
client
protected String
description
protected ReceiveResponseModel.Extract
extract
protected ReceiveResponseModel.Headers
headers
protected ReceiveResponseModel.Selector
selector
protected String
timeout
protected String
uri
-
Constructor Summary
Constructors Constructor Description ReceiveResponseModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getActor()
Ruft den Wert der actor-Eigenschaft ab.ReceiveResponseModel.Body
getBody()
Ruft den Wert der body-Eigenschaft ab.String
getClient()
Ruft den Wert der client-Eigenschaft ab.String
getDescription()
Ruft den Wert der description-Eigenschaft ab.ReceiveResponseModel.Extract
getExtract()
Ruft den Wert der extract-Eigenschaft ab.ReceiveResponseModel.Headers
getHeaders()
Ruft den Wert der headers-Eigenschaft ab.ReceiveResponseModel.Selector
getSelector()
Ruft den Wert der selector-Eigenschaft ab.String
getTimeout()
Ruft den Wert der timeout-Eigenschaft ab.String
getUri()
Ruft den Wert der uri-Eigenschaft ab.void
setActor(String value)
Legt den Wert der actor-Eigenschaft fest.void
setBody(ReceiveResponseModel.Body value)
Legt den Wert der body-Eigenschaft fest.void
setClient(String value)
Legt den Wert der client-Eigenschaft fest.void
setDescription(String value)
Legt den Wert der description-Eigenschaft fest.void
setExtract(ReceiveResponseModel.Extract value)
Legt den Wert der extract-Eigenschaft fest.void
setHeaders(ReceiveResponseModel.Headers value)
Legt den Wert der headers-Eigenschaft fest.void
setSelector(ReceiveResponseModel.Selector value)
Legt den Wert der selector-Eigenschaft fest.void
setTimeout(String value)
Legt den Wert der timeout-Eigenschaft fest.void
setUri(String value)
Legt den Wert der uri-Eigenschaft fest.
-
-
-
Field Detail
-
description
protected String description
-
selector
protected ReceiveResponseModel.Selector selector
-
headers
protected ReceiveResponseModel.Headers headers
-
body
protected ReceiveResponseModel.Body body
-
extract
protected ReceiveResponseModel.Extract extract
-
client
protected String client
-
uri
protected String uri
-
timeout
protected String timeout
-
actor
protected String actor
-
-
Method Detail
-
getDescription
public String getDescription()
Ruft den Wert der description-Eigenschaft ab.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Legt den Wert der description-Eigenschaft fest.- Parameters:
value
- allowed object isString
-
getSelector
public ReceiveResponseModel.Selector getSelector()
Ruft den Wert der selector-Eigenschaft ab.- Returns:
- possible object is
ReceiveResponseModel.Selector
-
setSelector
public void setSelector(ReceiveResponseModel.Selector value)
Legt den Wert der selector-Eigenschaft fest.- Parameters:
value
- allowed object isReceiveResponseModel.Selector
-
getHeaders
public ReceiveResponseModel.Headers getHeaders()
Ruft den Wert der headers-Eigenschaft ab.- Returns:
- possible object is
ReceiveResponseModel.Headers
-
setHeaders
public void setHeaders(ReceiveResponseModel.Headers value)
Legt den Wert der headers-Eigenschaft fest.- Parameters:
value
- allowed object isReceiveResponseModel.Headers
-
getBody
public ReceiveResponseModel.Body getBody()
Ruft den Wert der body-Eigenschaft ab.- Returns:
- possible object is
ReceiveResponseModel.Body
-
setBody
public void setBody(ReceiveResponseModel.Body value)
Legt den Wert der body-Eigenschaft fest.- Parameters:
value
- allowed object isReceiveResponseModel.Body
-
getExtract
public ReceiveResponseModel.Extract getExtract()
Ruft den Wert der extract-Eigenschaft ab.- Returns:
- possible object is
ReceiveResponseModel.Extract
-
setExtract
public void setExtract(ReceiveResponseModel.Extract value)
Legt den Wert der extract-Eigenschaft fest.- Parameters:
value
- allowed object isReceiveResponseModel.Extract
-
getClient
public String getClient()
Ruft den Wert der client-Eigenschaft ab.- Returns:
- possible object is
String
-
setClient
public void setClient(String value)
Legt den Wert der client-Eigenschaft fest.- Parameters:
value
- allowed object isString
-
getUri
public String getUri()
Ruft den Wert der uri-Eigenschaft ab.- Returns:
- possible object is
String
-
setUri
public void setUri(String value)
Legt den Wert der uri-Eigenschaft fest.- Parameters:
value
- allowed object isString
-
getTimeout
public String getTimeout()
Ruft den Wert der timeout-Eigenschaft ab.- Returns:
- possible object is
String
-
setTimeout
public void setTimeout(String value)
Legt den Wert der timeout-Eigenschaft fest.- Parameters:
value
- allowed object isString
-
getActor
public String getActor()
Ruft den Wert der actor-Eigenschaft ab.- Returns:
- possible object is
String
-
-