Class ResponseHeadersType

  • Direct Known Subclasses:
    ReceiveResponseModel.Headers

    public class ResponseHeadersType
    extends Object

    Java-Klasse für ResponseHeadersType complex type.

    Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.

     <complexType name="ResponseHeadersType">
       <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" type="{http://www.w3.org/2001/XMLSchema}string" />
                     <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
                   </restriction>
                 </complexContent>
               </complexType>
             </element>
             <element name="cookie" 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="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                     <attribute name="max-age" type="{http://www.w3.org/2001/XMLSchema}int" />
                     <attribute name="path" type="{http://www.w3.org/2001/XMLSchema}string" />
                     <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}int" />
                     <attribute name="domain" type="{http://www.w3.org/2001/XMLSchema}string" />
                     <attribute name="comment" type="{http://www.w3.org/2001/XMLSchema}string" />
                     <attribute name="secure" type="{http://www.w3.org/2001/XMLSchema}boolean" />
                   </restriction>
                 </complexContent>
               </complexType>
             </element>
           </sequence>
           <attribute name="status" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="reason-phrase" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • ResponseHeadersType

        public ResponseHeadersType()
    • Method Detail

      • getHeaders

        public List<ResponseHeadersType.Header> 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 JAXB 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 ResponseHeadersType.Header

      • getCookies

        public List<ResponseHeadersType.Cookie> getCookies()
        Gets the value of the cookies 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 set method for the cookies property.

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

            getCookies().add(newItem);
         

        Objects of the following type(s) are allowed in the list ResponseHeadersType.Cookie

      • getStatus

        public String getStatus()
        Ruft den Wert der status-Eigenschaft ab.
        Returns:
        possible object is String
      • setStatus

        public void setStatus​(String value)
        Legt den Wert der status-Eigenschaft fest.
        Parameters:
        value - allowed object is String
      • getReasonPhrase

        public String getReasonPhrase()
        Ruft den Wert der reasonPhrase-Eigenschaft ab.
        Returns:
        possible object is String
      • setReasonPhrase

        public void setReasonPhrase​(String value)
        Legt den Wert der reasonPhrase-Eigenschaft fest.
        Parameters:
        value - allowed object is String
      • getVersion

        public String getVersion()
        Ruft den Wert der version-Eigenschaft ab.
        Returns:
        possible object is String
      • setVersion

        public void setVersion​(String value)
        Legt den Wert der version-Eigenschaft fest.
        Parameters:
        value - allowed object is String