类的使用
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中的方法 修饰符和类型 方法 说明 ContentDispositionContentDisposition.Builder. build()Build the content disposition.static ContentDispositionContentDisposition. empty()Return an empty content disposition.ContentDispositionHttpHeaders. getContentDisposition()Return a parsed representation of the Content-Disposition header.static ContentDispositionContentDisposition. parse(String contentDisposition)Parse a Content-Disposition header value as defined in RFC 2183.参数类型为ContentDisposition的org.springframework.http中的方法 修饰符和类型 方法 说明 voidHttpHeaders. setContentDisposition(ContentDisposition contentDisposition)Set the Content-Disposition header.org.springframework.test.web.reactive.server中ContentDisposition的使用
参数类型为ContentDisposition的org.springframework.test.web.reactive.server中的方法 修饰符和类型 方法 说明 WebTestClient.ResponseSpecHeaderAssertions. contentDisposition(ContentDisposition contentDisposition)Expect a "Content-Disposition" header with the given value.