Class ReceiveRequestModel

java.lang.Object
org.citrusframework.model.testcase.http.ReceiveRequestModel

public class ReceiveRequestModel 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="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>
         <choice>
           <element name="GET" type="{http://www.citrusframework.org/schema/http/testcase}ServerRequestType"/>
           <element name="POST" type="{http://www.citrusframework.org/schema/http/testcase}ServerRequestType"/>
           <element name="PUT" type="{http://www.citrusframework.org/schema/http/testcase}ServerRequestType"/>
           <element name="DELETE" type="{http://www.citrusframework.org/schema/http/testcase}ServerRequestType"/>
           <element name="HEAD" type="{http://www.citrusframework.org/schema/http/testcase}ServerRequestType"/>
           <element name="OPTIONS" type="{http://www.citrusframework.org/schema/http/testcase}ServerRequestType"/>
           <element name="TRACE" type="{http://www.citrusframework.org/schema/http/testcase}ServerRequestType"/>
           <element name="PATCH" type="{http://www.citrusframework.org/schema/http/testcase}ServerRequestType"/>
         </choice>
         <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="server" use="required" 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>