Package org.microproxy.http
Interface FullHttpRequest
- All Superinterfaces:
FullHttpMessage,HttpContent,HttpMessage,HttpObject,HttpRequest,LastHttpContent
- All Known Implementing Classes:
DefaultFullHttpRequest
public sealed interface FullHttpRequest
extends HttpRequest, FullHttpMessage
permits DefaultFullHttpRequest
A complete HTTP request.
-
Method Summary
Modifier and TypeMethodDescriptionsetContent(byte[] content) Replaces the body bytes of this piece.Methods inherited from interface org.microproxy.http.HttpContent
content, contentAsString, contentAsString, contentLengthMethods inherited from interface org.microproxy.http.HttpMessage
headers, protocolVersionMethods inherited from interface org.microproxy.http.HttpRequest
method, setMethod, setProtocolVersion, setUri, uriMethods inherited from interface org.microproxy.http.LastHttpContent
trailingHeaders
-
Method Details
-
setContent
Description copied from interface:HttpContentReplaces the body bytes of this piece.- Specified by:
setContentin interfaceFullHttpMessage- Specified by:
setContentin interfaceHttpContent- Specified by:
setContentin interfaceLastHttpContent- Parameters:
content- new backing array, retained without copying- Returns:
- this content object
-