类 DefaultServerRequest.DefaultRequestHeaders
java.lang.Object
cn.taketoday.web.handler.function.DefaultServerRequest.DefaultRequestHeaders
- 所有已实现的接口:
ServerRequest.Headers
- 封闭类:
- DefaultServerRequest
static class DefaultServerRequest.DefaultRequestHeaders
extends Object
implements ServerRequest.Headers
Default implementation of
ServerRequest.Headers.-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明accept()Get the list of acceptable media types, as specified by theAcceptheader.Get the list of acceptable charsets, as specified by theAccept-Charsetheader.Get the list of acceptable languages, as specified by theAccept-Languageheader.Get the headers as an instance ofHttpHeaders.Get the length of the body in bytes, as specified by theContent-Lengthheader.Get the media type of the body, as specified by theContent-Typeheader.Get the header value(s), if any, for the header of the given name.host()Get the value of theHostheader, if available.range()Get the value of theRangeheader.toString()从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait从接口继承的方法 cn.taketoday.web.handler.function.ServerRequest.Headers
firstHeader
-
字段详细资料
-
httpHeaders
-
-
构造器详细资料
-
DefaultRequestHeaders
-
-
方法详细资料
-
accept
从接口复制的说明:ServerRequest.HeadersGet the list of acceptable media types, as specified by theAcceptheader.Returns an empty list if the acceptable media types are unspecified.
- 指定者:
accept在接口中ServerRequest.Headers
-
acceptCharset
从接口复制的说明:ServerRequest.HeadersGet the list of acceptable charsets, as specified by theAccept-Charsetheader.- 指定者:
acceptCharset在接口中ServerRequest.Headers
-
acceptLanguage
从接口复制的说明:ServerRequest.HeadersGet the list of acceptable languages, as specified by theAccept-Languageheader.- 指定者:
acceptLanguage在接口中ServerRequest.Headers
-
contentLength
从接口复制的说明:ServerRequest.HeadersGet the length of the body in bytes, as specified by theContent-Lengthheader.- 指定者:
contentLength在接口中ServerRequest.Headers
-
contentType
从接口复制的说明:ServerRequest.HeadersGet the media type of the body, as specified by theContent-Typeheader.- 指定者:
contentType在接口中ServerRequest.Headers
-
host
从接口复制的说明:ServerRequest.HeadersGet the value of theHostheader, if available.If the header value does not contain a port, the port in the returned address will be
0.- 指定者:
host在接口中ServerRequest.Headers
-
range
从接口复制的说明:ServerRequest.HeadersGet the value of theRangeheader.Returns an empty list when the range is unknown.
- 指定者:
range在接口中ServerRequest.Headers
-
header
从接口复制的说明:ServerRequest.HeadersGet the header value(s), if any, for the header of the given name.Returns an empty list if no header values are found.
- 指定者:
header在接口中ServerRequest.Headers- 参数:
headerName- the header name
-
asHttpHeaders
从接口复制的说明:ServerRequest.HeadersGet the headers as an instance ofHttpHeaders.- 指定者:
asHttpHeaders在接口中ServerRequest.Headers
-
toString
-