File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed
src/main/java/love/wangqi Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 11package love .wangqi .exception .handler ;
22
33import io .netty .channel .Channel ;
4- import io .netty .handler .codec .http .*;
4+ import io .netty .handler .codec .http .DefaultFullHttpResponse ;
5+ import io .netty .handler .codec .http .FullHttpResponse ;
6+ import io .netty .handler .codec .http .HttpResponseStatus ;
7+ import io .netty .handler .codec .http .HttpVersion ;
58import love .wangqi .config .GatewayConfig ;
69import love .wangqi .exception .GatewayException ;
710
Original file line number Diff line number Diff line change 11package love .wangqi .handler ;
22
3- import io .netty .buffer .Unpooled ;
43import io .netty .channel .Channel ;
5- import io .netty .handler .codec .http .DefaultFullHttpResponse ;
6- import io .netty .handler .codec .http .FullHttpResponse ;
7- import io .netty .handler .codec .http .HttpHeaderNames ;
8- import io .netty .handler .codec .http .HttpHeaderValues ;
94import love .wangqi .context .ContextUtil ;
105import love .wangqi .exception .GatewayException ;
116import love .wangqi .filter .FilterProcessor ;
1510import java .util .concurrent .*;
1611import java .util .concurrent .atomic .AtomicInteger ;
1712
18- import static io .netty .handler .codec .http .HttpResponseStatus .OK ;
19- import static io .netty .handler .codec .http .HttpVersion .HTTP_1_1 ;
20-
2113/**
2214 * @author: wangqi
2315 * @description:
You can’t perform that action at this time.
0 commit comments