类的使用
org.springframework.http.ContentDisposition
使用ContentDisposition的程序包 程序包 说明 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 viaWebTestClient
.org.springframework.http中ContentDisposition的使用
返回ContentDisposition的org.springframework.http中的方法 修饰符和类型 方法 说明 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(String contentDisposition)
Parse a Content-Disposition header value as defined in RFC 2183.参数类型为ContentDisposition的org.springframework.http中的方法 修饰符和类型 方法 说明 void
HttpHeaders. setContentDisposition(ContentDisposition contentDisposition)
Set the Content-Disposition header.org.springframework.test.web.reactive.server中ContentDisposition的使用
参数类型为ContentDisposition的org.springframework.test.web.reactive.server中的方法 修饰符和类型 方法 说明 WebTestClient.ResponseSpec
HeaderAssertions. contentDisposition(ContentDisposition contentDisposition)
Expect a "Content-Disposition" header with the given value.