类 XWebUtil
- java.lang.Object
-
- xyz.xiezc.ioc.starter.starter.web.common.XWebUtil
-
public class XWebUtil extends Object
-
-
构造器概要
构造器 构造器 说明 XWebUtil()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static StringfileExt(String fname)static io.netty.handler.codec.http.FullHttpResponsegetErrorResponse(XWebException xWebException)static io.netty.handler.codec.http.FullHttpResponsegetErrorResponse(XWebException xWebException, HttpRequest httpRequest)static StringmimeType(String fileName)
-
-
-
方法详细资料
-
getErrorResponse
public static io.netty.handler.codec.http.FullHttpResponse getErrorResponse(XWebException xWebException)
-
getErrorResponse
public static io.netty.handler.codec.http.FullHttpResponse getErrorResponse(XWebException xWebException, HttpRequest httpRequest)
-
-