Class RequestHeadersType
- Direct Known Subclasses:
ServerRequestType.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" /> </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 Stringprotected Stringprotected List<RequestHeadersType.Cookie>protected List<RequestHeadersType.Header>protected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRuft den Wert der accept-Eigenschaft ab.Ruft den Wert der contentType-Eigenschaft ab.Gets the value of the cookies property.Gets the value of the headers property.Ruft den Wert der version-Eigenschaft ab.voidLegt den Wert der accept-Eigenschaft fest.voidsetContentType(String value) Legt den Wert der contentType-Eigenschaft fest.voidsetVersion(String value) Legt den Wert der version-Eigenschaft fest.
-
Field Details
-
headers
-
cookies
-
contentType
-
accept
-
version
-
-
Constructor Details
-
RequestHeadersType
public RequestHeadersType()
-
-
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
RequestHeadersType.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
RequestHeadersType.Cookie- Returns:
- The value of the cookies property.
-
getContentType
Ruft den Wert der contentType-Eigenschaft ab.- Returns:
- possible object is
String
-
setContentType
Legt den Wert der contentType-Eigenschaft fest.- Parameters:
value- allowed object isString
-
getAccept
Ruft den Wert der accept-Eigenschaft ab.- Returns:
- possible object is
String
-
setAccept
Legt den Wert der accept-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
-