程序包 org.springframework.http.server
Contains an abstraction over server-side HTTP. This package contains the
ServerHttpRequest
and ServerHttpResponse
, as well as a Servlet-based implementation of these interfaces.接口概要 接口 说明 PathContainer Structured representation of a URI path parsed viaPathContainer.parsePath(String)
into a sequence ofPathContainer.Separator
andPathContainer.PathSegment
elements.PathContainer.Element A path element, either separator or path segment.PathContainer.PathSegment Path segment element.PathContainer.Separator Path separator element.RequestPath Represents the complete path for a request.ServerHttpAsyncRequestControl A control that can put the processing of an HTTP request in asynchronous mode during which the response remains open until explicitly closed.ServerHttpRequest Represents a server-side HTTP request.ServerHttpResponse Represents a server-side HTTP response.类概要 类 说明 PathContainer.Options Options to customize parsing based on the type of input path.ServletServerHttpAsyncRequestControl AServerHttpAsyncRequestControl
to use on Servlet containers (Servlet 3.0+).ServletServerHttpRequest ServerHttpRequest
implementation that is based on aHttpServletRequest
.ServletServerHttpResponse ServerHttpResponse
implementation that is based on aHttpServletResponse
.