Class HttpRequestHead
java.lang.Object
io.vertx.reactivex.core.http.HttpRequestHead
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
- Direct Known Subclasses:
HttpServerRequest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetHeader(CharSequence headerName) Return the first header value with the specified nameReturn the first header value with the specified nameinthashCode()headers()method()static HttpRequestHeadpath()Returns the path component of the HTTP request URI.query()toString()uri()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
HttpRequestHead
-
HttpRequestHead
-
-
Method Details
-
toString
-
equals
-
hashCode
-
getDelegate
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
method
- Returns:
- the HTTP method for the request.
-
uri
- Returns:
- the URI of the request. This is usually a relative URI
-
path
Returns the path component of the HTTP request URI.This is the raw, non-normalized path as received from the client. It may contain duplicated separators or traversal segments such as
"..".For security-sensitive logic (for example access control, routing or filesystem checks), applications should prefer using a normalized path provided by the framework instead of relying on this raw value.
- Returns:
- the raw path component of the request URI
-
query
- Returns:
- the query part of the uri. For example
someparam=32&someotherparam=x
-
headers
- Returns:
- the headers
-
getHeader
-
getHeader
Return the first header value with the specified name- Parameters:
headerName- the header name- Returns:
- the header value
-
newInstance
-