Class SendResponseModel

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

public class SendResponseModel 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="headers" type="{http://www.citrusframework.org/schema/http/testcase}ResponseHeadersType" minOccurs="0"/>
         <element name="body" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <choice>
                     <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>
                 </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="name" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" default="xml" />
                 <attribute name="data-dictionary" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
       <attribute name="server" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="actor" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • SendResponseModel

      public SendResponseModel()
  • Method Details

    • 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 is String
    • getHeaders

      public ResponseHeadersType getHeaders()
      Ruft den Wert der headers-Eigenschaft ab.
      Returns:
      possible object is ResponseHeadersType
    • setHeaders

      public void setHeaders(ResponseHeadersType value)
      Legt den Wert der headers-Eigenschaft fest.
      Parameters:
      value - allowed object is ResponseHeadersType
    • getBody

      public SendResponseModel.Body getBody()
      Ruft den Wert der body-Eigenschaft ab.
      Returns:
      possible object is SendResponseModel.Body
    • setBody

      public void setBody(SendResponseModel.Body value)
      Legt den Wert der body-Eigenschaft fest.
      Parameters:
      value - allowed object is SendResponseModel.Body
    • getServer

      public String getServer()
      Ruft den Wert der server-Eigenschaft ab.
      Returns:
      possible object is String
    • setServer

      public void setServer(String value)
      Legt den Wert der server-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • getActor

      public String getActor()
      Ruft den Wert der actor-Eigenschaft ab.
      Returns:
      possible object is String
    • setActor

      public void setActor(String value)
      Legt den Wert der actor-Eigenschaft fest.
      Parameters:
      value - allowed object is String