类 XWebUtil


  • public class XWebUtil
    extends Object
    • 构造器详细资料

      • XWebUtil

        public XWebUtil()
    • 方法详细资料

      • 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)
      • mimeType

        public static String mimeType​(String fileName)