Package | Description |
---|---|
io.restassured.http | |
io.restassured.internal | |
io.restassured.specification |
Modifier and Type | Method and Description |
---|---|
Header |
Headers.get(String headerName)
Get a single header with the supplied name.
|
Modifier and Type | Method and Description |
---|---|
List<Header> |
Headers.asList() |
List<Header> |
Headers.getList(String headerName)
Get all headers with the supplied name.
|
Iterator<Header> |
Headers.iterator() |
protected List<Header> |
Headers.list() |
Modifier and Type | Method and Description |
---|---|
boolean |
Header.hasSameNameAs(Header header) |
static Headers |
Headers.headers(Header header,
Header... additionalHeaders)
An alternative way to create a Headers object from the constructor.
|
static Headers |
Headers.headers(Header header,
Header... additionalHeaders)
An alternative way to create a Headers object from the constructor.
|
Constructor and Description |
---|
Headers(Header... headers) |
Constructor and Description |
---|
Headers(List<Header> headers) |
Modifier and Type | Method and Description |
---|---|
RequestSpecification |
RequestSpecificationImpl.header(Header header) |
Modifier and Type | Method and Description |
---|---|
RequestSpecification |
RequestSpecification.header(Header header)
Specify a
Header to send with the request. |
Copyright © 2010–2017. All rights reserved.