程序包 | 说明 |
---|---|
io.netty.example.http2.tiles | |
io.netty.handler.codec.http |
Benchmarks for
io.netty.handler.codec.http . |
io.netty.handler.codec.http.multipart |
Benchmarks for
io.netty.handler.codec.http.multipart . |
io.netty.handler.codec.http.websocketx |
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
|
io.netty.handler.codec.http.websocketx.extensions |
Encoder, decoder, handshakers to handle
WebSocket Extensions.
|
io.netty.handler.codec.http2 |
Benchmarks for
io.netty.handler.codec.http2 . |
限定符和类型 | 方法和说明 |
---|---|
protected void |
FallbackRequestHandler.channelRead0(ChannelHandlerContext ctx,
HttpRequest req) |
限定符和类型 | 接口和说明 |
---|---|
interface |
FullHttpRequest
Combine the
HttpRequest and FullHttpMessage , so the request is a complete HTTP
request. |
限定符和类型 | 类和说明 |
---|---|
class |
DefaultFullHttpRequest
Default implementation of
FullHttpRequest . |
class |
DefaultHttpRequest
The default
HttpRequest implementation. |
限定符和类型 | 方法和说明 |
---|---|
HttpRequest |
HttpRequest.setMethod(HttpMethod method)
Set the
HttpMethod of this HttpRequest . |
HttpRequest |
DefaultHttpRequest.setMethod(HttpMethod method) |
HttpRequest |
HttpRequest.setProtocolVersion(HttpVersion version) |
HttpRequest |
DefaultHttpRequest.setProtocolVersion(HttpVersion version) |
HttpRequest |
HttpRequest.setUri(java.lang.String uri)
Set the requested URI (or alternatively, path)
|
HttpRequest |
DefaultHttpRequest.setUri(java.lang.String uri) |
限定符和类型 | 方法和说明 |
---|---|
protected HttpResponse |
HttpServerExpectContinueHandler.acceptMessage(HttpRequest request)
Produces a
HttpResponse for HttpRequest s which define an expectation. |
protected void |
HttpContentEncoder.decode(ChannelHandlerContext ctx,
HttpRequest msg,
java.util.List<java.lang.Object> out) |
protected void |
HttpRequestEncoder.encodeInitialLine(ByteBuf buf,
HttpRequest request) |
protected HttpResponse |
HttpServerExpectContinueHandler.rejectResponse(HttpRequest request)
Returns the appropriate 4XX
HttpResponse for the given HttpRequest . |
java.util.Collection<java.lang.CharSequence> |
HttpClientUpgradeHandler.UpgradeCodec.setUpgradeHeaders(ChannelHandlerContext ctx,
HttpRequest upgradeRequest)
Sets any protocol-specific headers required to the upgrade request.
|
protected boolean |
HttpServerUpgradeHandler.shouldHandleUpgradeRequest(HttpRequest req)
Determines whether the specified upgrade
HttpRequest should be handled by this handler or not. |
限定符和类型 | 方法和说明 |
---|---|
HttpRequest |
HttpPostRequestEncoder.finalizeRequest()
Finalize the request by preparing the Header in the request and returns the request ready to be sent.
|
限定符和类型 | 方法和说明 |
---|---|
void |
HttpDataFactory.cleanRequestHttpData(HttpRequest request)
Remove all InterfaceHttpData from virtual File storage from clean list for the request
|
void |
DefaultHttpDataFactory.cleanRequestHttpData(HttpRequest request) |
void |
HttpDataFactory.cleanRequestHttpDatas(HttpRequest request)
已过时。
Use
HttpDataFactory.cleanRequestHttpData(HttpRequest) instead. |
void |
DefaultHttpDataFactory.cleanRequestHttpDatas(HttpRequest request) |
Attribute |
HttpDataFactory.createAttribute(HttpRequest request,
java.lang.String name) |
Attribute |
DefaultHttpDataFactory.createAttribute(HttpRequest request,
java.lang.String name) |
Attribute |
HttpDataFactory.createAttribute(HttpRequest request,
java.lang.String name,
long definedSize) |
Attribute |
DefaultHttpDataFactory.createAttribute(HttpRequest request,
java.lang.String name,
long definedSize) |
Attribute |
HttpDataFactory.createAttribute(HttpRequest request,
java.lang.String name,
java.lang.String value) |
Attribute |
DefaultHttpDataFactory.createAttribute(HttpRequest request,
java.lang.String name,
java.lang.String value) |
FileUpload |
HttpDataFactory.createFileUpload(HttpRequest request,
java.lang.String name,
java.lang.String filename,
java.lang.String contentType,
java.lang.String contentTransferEncoding,
java.nio.charset.Charset charset,
long size) |
FileUpload |
DefaultHttpDataFactory.createFileUpload(HttpRequest request,
java.lang.String name,
java.lang.String filename,
java.lang.String contentType,
java.lang.String contentTransferEncoding,
java.nio.charset.Charset charset,
long size) |
static boolean |
HttpPostRequestDecoder.isMultipart(HttpRequest request)
Check if the given request is a multipart request
|
void |
HttpDataFactory.removeHttpDataFromClean(HttpRequest request,
InterfaceHttpData data)
Remove the given InterfaceHttpData from clean list (will not delete the file, except if the file
is still a temporary one as setup at construction)
|
void |
DefaultHttpDataFactory.removeHttpDataFromClean(HttpRequest request,
InterfaceHttpData data) |
限定符和类型 | 方法和说明 |
---|---|
HttpRequest |
WebSocketServerHandshakeException.request()
Returns a
request if exception occurs during request validation otherwise null . |
限定符和类型 | 方法和说明 |
---|---|
ChannelFuture |
WebSocketServerHandshaker.handshake(Channel channel,
HttpRequest req)
Performs the opening handshake.
|
ChannelFuture |
WebSocketServerHandshaker.handshake(Channel channel,
HttpRequest req,
HttpHeaders responseHeaders,
ChannelPromise promise)
Performs the opening handshake
When call this method you MUST NOT retain the
HttpRequest which is passed in. |
WebSocketServerHandshaker |
WebSocketServerHandshakerFactory.newHandshaker(HttpRequest req)
Instances a new handshaker
|
构造器和说明 |
---|
WebSocketServerHandshakeException(java.lang.String message,
HttpRequest httpRequest) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
WebSocketServerExtensionHandler.onHttpRequestChannelRead(ChannelHandlerContext ctx,
HttpRequest request)
This is a method exposed to perform fail-fast checks of user-defined http types.
|
限定符和类型 | 方法和说明 |
---|---|
static HttpRequest |
HttpConversionUtil.toHttpRequest(int streamId,
Http2Headers http2Headers,
boolean validateHttpHeaders)
Create a new object to contain the request data.
|
限定符和类型 | 方法和说明 |
---|---|
java.util.Collection<java.lang.CharSequence> |
Http2ClientUpgradeCodec.setUpgradeHeaders(ChannelHandlerContext ctx,
HttpRequest upgradeRequest) |