Class ReceiveRequestModel.Extract

java.lang.Object
org.citrusframework.model.testcase.http.ReceiveRequestModel.Extract
Enclosing class:
ReceiveRequestModel

public static class ReceiveRequestModel.Extract 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 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>
 
  • Field Details

  • Constructor Details

    • Extract

      public Extract()
  • Method Details

    • getHeaders

      Gets the value of the headers 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 Jakarta XML Binding object. This is why there is not a set method for the headers property.

      For example, to add a new item, do as follows:

          getHeaders().add(newItem);
       

      Objects of the following type(s) are allowed in the list ReceiveRequestModel.Extract.Header

      Returns:
      The value of the headers property.
    • getBodies

      Gets the value of the bodies 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 Jakarta XML Binding object. This is why there is not a set method for the bodies property.

      For example, to add a new item, do as follows:

          getBodies().add(newItem);
       

      Objects of the following type(s) are allowed in the list ReceiveRequestModel.Extract.Body

      Returns:
      The value of the bodies property.