Package | Description |
---|---|
org.springframework.http |
Contains a basic abstraction over client/server-side HTTP.
|
org.springframework.test.web.reactive.server |
Support for testing Spring WebFlux server endpoints via
WebTestClient . |
Modifier and Type | Method and Description |
---|---|
ContentDisposition |
ContentDisposition.Builder.build()
Build the content disposition.
|
static ContentDisposition |
ContentDisposition.empty()
Return an empty content disposition.
|
ContentDisposition |
HttpHeaders.getContentDisposition()
Return a parsed representation of the Content-Disposition header.
|
static ContentDisposition |
ContentDisposition.parse(java.lang.String contentDisposition)
Parse a Content-Disposition header value as defined in RFC 2183.
|
Modifier and Type | Method and Description |
---|---|
void |
HttpHeaders.setContentDisposition(ContentDisposition contentDisposition)
Set the Content-Disposition header.
|
Modifier and Type | Method and Description |
---|---|
WebTestClient.ResponseSpec |
HeaderAssertions.contentDisposition(ContentDisposition contentDisposition)
Expect a "Content-Disposition" header with the given value.
|