- java.lang.Object
-
- org.redkale.net.Request<HttpContext>
-
- org.redkale.net.http.HttpRequest
-
- org.redkale.mq.spi.HttpMessageRequest
-
public class HttpMessageRequest extends HttpRequest
详情见: https://redkale.org- 从以下版本开始:
- 2.1.0
- 作者:
- zhangjx
-
-
字段概要
字段 修饰符和类型 字段 说明 protected MessageRecord
message
-
从类继承的字段 org.redkale.net.http.HttpRequest
actionid, boundary, chunked, chunkedCR, chunkedCurrOffset, chunkedHalfLenBytes, chunkedLength, contentEncoding, contentLength, contentType, cookie, cookies, currentUserid, currentUserSupplier, CURRUSERID_NIL, EMPTY_BYTES, getmethod, HEAD_ACCEPT, HEAD_CONNECTION, HEAD_CONTENT_ENCODING, HEAD_CONTENT_LENGTH, HEAD_CONTENT_TYPE, HEAD_COOKIE, HEAD_EXPECT, HEAD_HOST, HEAD_TRANSFER_ENCODING, HEAD_UPGRADE, HEAD_USER_AGENT, headerHalfLen, headerLength, headers, host, HTTP_1_1, HTTP_2_0, locale, MAX_CHUNK_HEADER_SIZE, method, METHOD_GET, METHOD_HEAD, METHOD_OPTIONS, METHOD_POST, METHOD_PUT, moduleid, newSessionid, params, protocol, queryBytes, READ_STATE_BODY, READ_STATE_END, READ_STATE_HEADER, READ_STATE_ROUTE, readState, remoteAddr, reqConvert, reqConvertType, requestPath, respConvert, respConvertType, rpc, SESSIONID_NAME
-
从类继承的字段 org.redkale.net.Request
annotations, attributes, channel, context, createTime, jsonConvert, keepAlive, pipelineCompleted, pipelineCount, pipelineIndex, protobufConvert, readCompleted, traceid
-
-
构造器概要
构造器 构造器 说明 HttpMessageRequest(HttpContext context)
HttpMessageRequest(HttpContext context, MessageRecord message)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Convert
getRespConvert()
protected void
prepare()
protected HttpMessageRequest
prepare(MessageRecord message)
protected void
recycle()
HttpMessageRequest
setRequestPath(String path)
-
从类继承的方法 org.redkale.net.http.HttpRequest
addHeader, array, changeSessionid, changeSessionid, createSimpleRequest, currentIntUserid, currentLongUserid, currentStringUserid, currentUser, currentUserid, getActionid, getBody, getBody, getBodyJson, getBodyJson, getBodyUTF8, getBooleanHeader, getBooleanParameter, getContentLength, getContentType, getCookie, getCookie, getCookies, getDirectBody, getDoubleHeader, getDoubleParameter, getFlipper, getFlipper, getFlipper, getFlipper, getFlipper, getFloatHeader, getFloatParameter, getHeader, getHeader, getHeaderNames, getHeaders, getHost, getIntHeader, getIntHeader, getIntParameter, getIntParameter, getJsonHeader, getJsonHeader, getJsonParameter, getJsonParameter, getLocale, getLongHeader, getLongHeader, getLongParameter, getLongParameter, getMethod, getModuleid, getMultiContext, getParameter, getParameter, getParameterNames, getParameters, getParametersToString, getParametersToString, getPathLastParam, getPathLastParam, getPathLastParam, getPathLastParam, getPathLastParam, getPathLastParam, getPathLastParam, getPathLastParam, getPathLastParam, getPathParam, getPathParam, getPathParam, getPathParam, getPathParam, getPathParam, getPathParam, getPathParam, getPathParam, getPathParams, getProtocol, getQueryBytes, getRemoteAddr, getRemoteAddress, getRequestid, getRequestPath, getRespConvertType, getSessionid, getShortHeader, getShortHeader, getShortHeader, getShortHeader, getShortParameter, getShortParameter, getShortParameter, initWebRequest, invalidateSession, isChunked, isExpect, isMultipart, isWebSocket, multiParts, pipelineHeaderLength, readHeader, readMethodUriLine, removeHeader, removeParameter, setAnnotations, setCurrentUserid, setCurrentUserSupplier, setHeader, setKeepAlive, setLocale, setMethod, setParameter, setRemoteAddr, skipBodyParse, toDecodeString, toString, unzipEncoding, updateBody
-
从类继承的方法 org.redkale.net.Request
getAnnotation, getAnnotations, getAnnotationsByType, getAttribute, getAttributes, getContext, getCreatetime, getCreateTime, getSubobject, getSubobjectIfAbsent, getSubobjects, getTraceid, isKeepAlive, newInputStream, pipeline, removeAttribute, removeSubobject, setAttribute, setSubobject, traceid
-
-
-
-
字段详细资料
-
message
protected MessageRecord message
-
-
构造器详细资料
-
HttpMessageRequest
public HttpMessageRequest(HttpContext context)
-
HttpMessageRequest
public HttpMessageRequest(HttpContext context, MessageRecord message)
-
-
方法详细资料
-
prepare
protected HttpMessageRequest prepare(MessageRecord message)
-
setRequestPath
public HttpMessageRequest setRequestPath(String path)
- 覆盖:
setRequestPath
在类中HttpRequest
-
getRespConvert
public Convert getRespConvert()
- 覆盖:
getRespConvert
在类中HttpRequest
-
prepare
protected void prepare()
- 覆盖:
prepare
在类中HttpRequest
-
recycle
protected void recycle()
- 覆盖:
recycle
在类中HttpRequest
-
-