|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.foxinmy.weixin4j.http.AbstractHttpResponse
com.foxinmy.weixin4j.http.support.netty.Netty4HttpResponse
public class Netty4HttpResponse
Netty Response::Requires Netty 4.x or higher
| Constructor Summary | |
|---|---|
Netty4HttpResponse(io.netty.channel.ChannelHandlerContext context,
io.netty.handler.codec.http.FullHttpResponse response,
byte[] content)
|
|
| Method Summary | |
|---|---|
void |
close()
释放资源 |
HttpHeaders |
getHeaders()
HTTP报头 |
HttpVersion |
getProtocol()
HTTP协议 |
HttpStatus |
getStatus()
响应状态 |
| Methods inherited from class com.foxinmy.weixin4j.http.AbstractHttpResponse |
|---|
getBody, getContent |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Netty4HttpResponse(io.netty.channel.ChannelHandlerContext context,
io.netty.handler.codec.http.FullHttpResponse response,
byte[] content)
| Method Detail |
|---|
public HttpHeaders getHeaders()
HttpMessage
public HttpVersion getProtocol()
HttpResponse
public HttpStatus getStatus()
HttpResponse
public void close()
HttpResponse
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||