类 DefaultServerHttpRequestBuilder.MutatedServerHttpRequest
java.lang.Object
cn.taketoday.http.server.reactive.AbstractServerHttpRequest
cn.taketoday.http.server.reactive.DefaultServerHttpRequestBuilder.MutatedServerHttpRequest
- 所有已实现的接口:
HttpMessage,HttpRequest,ReactiveHttpInputMessage,ServerHttpRequest
private static class DefaultServerHttpRequestBuilder.MutatedServerHttpRequest
extends AbstractServerHttpRequest
-
嵌套类概要
从接口继承的嵌套类/接口 cn.taketoday.http.server.reactive.ServerHttpRequest
ServerHttpRequest.Builder -
字段概要
字段修饰符和类型字段说明private final reactor.core.publisher.Flux<cn.taketoday.core.io.buffer.DataBuffer>private final Stringprivate final ServerHttpRequestprivate final InetSocketAddressprivate final SslInfo -
构造器概要
构造器构造器说明MutatedServerHttpRequest(URI uri, String contextPath, String methodValue, SslInfo sslInfo, InetSocketAddress remoteAddress, HttpHeaders headers, reactor.core.publisher.Flux<cn.taketoday.core.io.buffer.DataBuffer> body, ServerHttpRequest originalRequest) -
方法概要
修饰符和类型方法说明reactor.core.publisher.Flux<cn.taketoday.core.io.buffer.DataBuffer>getBody()Return the body of the message as aPublisher.getId()Return an id that represents the underlying connection, if available, or the request for the purpose of correlating log messages.Return the local address the request was accepted on, if available.Return the HTTP method of the request as a String value.<T> TReturn the underlying server response.Return the remote address where this request is connected to, if available.protected cn.taketoday.util.MultiValueMap<String,HttpCookie> Obtain the cookies from the underlying "native" request and adapt those to anHttpCookiemap.protected SslInfoObtain SSL session information from the underlying "native" request.从类继承的方法 cn.taketoday.http.server.reactive.AbstractServerHttpRequest
getCookies, getHeaders, getLogPrefix, getMethod, getPath, getQueryParams, getSslInfo, getURI, initId, initLogPrefix, initQueryParams从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 cn.taketoday.http.server.reactive.ServerHttpRequest
mutate
-
字段详细资料
-
methodValue
-
body
private final reactor.core.publisher.Flux<cn.taketoday.core.io.buffer.DataBuffer> body -
originalRequest
-
sslInfo
-
remoteAddress
-
-
构造器详细资料
-
MutatedServerHttpRequest
public MutatedServerHttpRequest(URI uri, @Nullable String contextPath, String methodValue, @Nullable SslInfo sslInfo, @Nullable InetSocketAddress remoteAddress, HttpHeaders headers, reactor.core.publisher.Flux<cn.taketoday.core.io.buffer.DataBuffer> body, ServerHttpRequest originalRequest)
-
-
方法详细资料
-
getMethodValue
从接口复制的说明:HttpRequestReturn the HTTP method of the request as a String value.- 返回:
- the HTTP method as a plain String
- 另请参阅:
-
initCookies
从类复制的说明:AbstractServerHttpRequestObtain the cookies from the underlying "native" request and adapt those to anHttpCookiemap. The return value is turned into an immutable map and cached.Note that this method is invoked lazily on access to
AbstractServerHttpRequest.getCookies(). Sub-classes should synchronize cookie initialization if the underlying "native" request does not provide thread-safe access to cookie data.- 指定者:
initCookies在类中AbstractServerHttpRequest
-
getLocalAddress
从接口复制的说明:ServerHttpRequestReturn the local address the request was accepted on, if available. -
getRemoteAddress
从接口复制的说明:ServerHttpRequestReturn the remote address where this request is connected to, if available. -
initSslInfo
从类复制的说明:AbstractServerHttpRequestObtain SSL session information from the underlying "native" request.- 指定者:
initSslInfo在类中AbstractServerHttpRequest- 返回:
- the session information, or
nullif none available
-
getBody
public reactor.core.publisher.Flux<cn.taketoday.core.io.buffer.DataBuffer> getBody()从接口复制的说明:ReactiveHttpInputMessageReturn the body of the message as aPublisher.- 返回:
- the body content publisher
-
getNativeRequest
public <T> T getNativeRequest()从类复制的说明:AbstractServerHttpRequestReturn the underlying server response. -
getId
从接口复制的说明:ServerHttpRequestReturn an id that represents the underlying connection, if available, or the request for the purpose of correlating log messages.- 指定者:
getId在接口中ServerHttpRequest- 覆盖:
getId在类中AbstractServerHttpRequest
-