public class HttpMessageInfo extends Object
Constructor and Description |
---|
HttpMessageInfo(io.netty.handler.codec.http.HttpRequest originalRequest,
io.netty.channel.ChannelHandlerContext channelHandlerContext,
boolean isHttps,
String url,
String originalUrl) |
Modifier and Type | Method and Description |
---|---|
io.netty.channel.ChannelHandlerContext |
getChannelHandlerContext()
The
ChannelHandlerContext for this request's client connection. |
io.netty.handler.codec.http.HttpRequest |
getOriginalRequest()
The original request from the client.
|
String |
getOriginalUrl()
Returns the full, absolute URL of the original request from the client for both HTTP and HTTPS URLs.
|
String |
getUrl()
Returns the full, absolute URL of this request from the client for both HTTP and HTTPS URLs.
|
boolean |
isHttps()
Returns true if this is an HTTPS message.
|
public io.netty.handler.codec.http.HttpRequest getOriginalRequest()
public io.netty.channel.ChannelHandlerContext getChannelHandlerContext()
ChannelHandlerContext
for this request's client connection.public boolean isHttps()
public String getOriginalUrl()
public String getUrl()
Copyright © 2016. All Rights Reserved.