接口的使用
cn.taketoday.web.HttpRequestHandler
使用HttpRequestHandler的程序包
程序包
说明
Web Handler
Method handler
Standard controller implementations for the MVC framework use like Framework
Support classes for serving static resources.
-
cn.taketoday.web.config中HttpRequestHandler的使用
修饰符和类型字段说明(专用程序包) HttpRequestHandlerResourceHandlerRegistration.notFoundHandlerprivate HttpRequestHandlerResourceHandlerRegistry.notFoundHandler修饰符和类型方法说明ResourceHandlerRegistration.notFoundHandler(HttpRequestHandler notFoundHandler) Set not found handlervoidResourceHandlerRegistry.setNotFoundHandler(HttpRequestHandler notFoundHandler) Set not found handlerViewControllerRegistration.setReturnValue(HttpRequestHandler handler) -
cn.taketoday.web.handler中HttpRequestHandler的使用
修饰符和类型类说明private classclassHandler execution chain, consisting of handler object and any handler interceptors.classclassProcess Handler not found修饰符和类型方法说明voidDispatcherHandler.setNotFoundHandler(HttpRequestHandler notFoundHandler) Set not found handler -
cn.taketoday.web.handler.method中HttpRequestHandler的使用
修饰符和类型类说明classHTTP Request Annotation Handler(专用程序包) class(专用程序包) class -
cn.taketoday.web.handler.mvc中HttpRequestHandler的使用
修饰符和类型接口说明interfaceBase Controller interface, representing a component that receivesRequestContextinstances just like aHttpServletbut is able to participate in an MVC workflow.修饰符和类型类说明classConvenient superclass for controller implementations, using the Template Method design pattern.classAbstract base class forControllersthat return a view name based on the request URL.classTrivial controller that always returns a pre-configured view and optionally sets the response status code.classController implementation that forwards to a named servlet, i.e. the "servlet-name" in web.xml rather than a URL path mapping.classFramework Controller implementation that wraps a servlet instance which it manages internally.classSimpleControllerimplementation that transforms the virtual path of a URL into a view name and returns that view. -
cn.taketoday.web.resource中HttpRequestHandler的使用
修饰符和类型类说明classAnHttpRequestHandlerfor serving static files using the Servlet container's "default" Servlet.classHttpRequestHandlerthat serves static resources in an optimized way according to the guidelines of Page Speed, YSlow, etc.修饰符和类型方法说明voidResourceHttpRequestHandler.setNotFoundHandler(HttpRequestHandler notFoundHandler) Set not found handler