| Package | Description |
|---|---|
| com.linecorp.armeria.internal.common |
Various classes used internally.
|
| com.linecorp.armeria.server |
Server core.
|
| Modifier and Type | Method and Description |
|---|---|
static RequestHeaders |
ArmeriaHttpUtil.toArmeria(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.HttpRequest in,
ServerConfig cfg)
Converts the headers of the given Netty HTTP/1.x request into Armeria HTTP/2 headers.
|
static RequestHeaders |
ArmeriaHttpUtil.toArmeriaRequestHeaders(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http2.Http2Headers headers,
boolean endOfStream,
String scheme,
ServerConfig cfg)
Converts the specified Netty HTTP/2 into Armeria HTTP/2
RequestHeaders. |
| Modifier and Type | Method and Description |
|---|---|
ServerConfig |
Server.config()
Returns the configuration of this
Server. |
Copyright © 2020 LeanCloud. All rights reserved.