Class ServiceRequest
java.lang.Object
org.summerboot.jexpress.nio.server.domain.ServiceRequest
- Author:
- Changski Tie Zheng Zhang 张铁铮, 魏泽北, 杜旺财, 杜富贵
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMatrixParam(String matrixParamName, String value) voidaddPathParam(String pathParamName, String value) io.netty.channel.ChannelHandlerContextgetFormParam(String key) getHeaderParam(String key) io.netty.handler.codec.http.HttpHeadersgetMatrixParam(String key) protected StringgetPathParam(String key) getQueryParam(String key) getQueryParam(String key, ServiceContext context, int errorCode)
-
Field Details
-
channelHandlerCtx
protected final io.netty.channel.ChannelHandlerContext channelHandlerCtx -
httpHeaders
protected final io.netty.handler.codec.http.HttpHeaders httpHeaders -
httpRequestPath
-
queryParams
-
httpPostRequestBody
-
pathParams
-
matrixParams
-
formParams
-
-
Constructor Details
-
ServiceRequest
-
-
Method Details
-
getChannelHandlerCtx
public io.netty.channel.ChannelHandlerContext getChannelHandlerCtx() -
getHttpHeaders
public io.netty.handler.codec.http.HttpHeaders getHttpHeaders() -
getHttpRequestPath
-
getHttpPostRequestBody
-
addPathParam
-
getPathParam
-
addMatrixParam
-
getMatrixParam
-
getHeaderParam
-
getQueryParams
-
getQueryParam
-
getQueryParam
-
getFormParam
-
getParam
-