Class ResponseHeadersType
- Direct Known Subclasses:
ReceiveResponseModel.Headers
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class<p>Java-Klasse für anonymous complex type.</p> <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.</p> <pre>{@code <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="domain" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="secure" type="{http://www.w3.org/2001/XMLSchema}boolean" /> </restriction> </complexContent> </complexType> }</pre>static class<p>Java-Klasse für anonymous complex type.</p> <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.</p> <pre>{@code <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> }</pre> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<ResponseHeadersType.Cookie>protected List<ResponseHeadersType.Header>protected Stringprotected Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the cookies property.Gets the value of the headers property.Ruft den Wert der reasonPhrase-Eigenschaft ab.Ruft den Wert der status-Eigenschaft ab.Ruft den Wert der version-Eigenschaft ab.voidsetReasonPhrase(String value) Legt den Wert der reasonPhrase-Eigenschaft fest.voidLegt den Wert der status-Eigenschaft fest.voidsetVersion(String value) Legt den Wert der version-Eigenschaft fest.
-
Field Details
-
headers
-
cookies
-
status
-
reasonPhrase
-
version
-
-
Constructor Details
-
ResponseHeadersType
public ResponseHeadersType()
-
-
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
setmethod 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- Returns:
- The value of the headers property.
-
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 Jakarta XML Binding object. This is why there is not a
setmethod 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- Returns:
- The value of the cookies property.
-
getStatus
Ruft den Wert der status-Eigenschaft ab.- Returns:
- possible object is
String
-
setStatus
Legt den Wert der status-Eigenschaft fest.- Parameters:
value- allowed object isString
-
getReasonPhrase
Ruft den Wert der reasonPhrase-Eigenschaft ab.- Returns:
- possible object is
String
-
setReasonPhrase
Legt den Wert der reasonPhrase-Eigenschaft fest.- Parameters:
value- allowed object isString
-
getVersion
Ruft den Wert der version-Eigenschaft ab.- Returns:
- possible object is
String
-
setVersion
Legt den Wert der version-Eigenschaft fest.- Parameters:
value- allowed object isString
-