程序包的使用
cn.taketoday.web.handler.function
程序包
说明
Provides the types that make up Infra functional web framework.
Classes supporting the
cn.taketoday.web.servlet.function package.-
类说明Abstract base class for
ServerResponseimplementations.Asynchronous subtype ofServerResponsethat exposes the future response.Interface implemented by predicates that can change the parser.DefaultEntityResponseimplementation for synchronous bodies.Entity-specific subtype ofServerResponsethat exposes entity data.Defines a builder forEntityResponse.Base class forServerResponseimplementations with error handling.Represents a function that filters a handler function.Represents a function that handles a request.Rendering-specific subtype ofServerResponsethat exposes model and template data.Defines a builder forRenderingResponse.Defines a builder forRenderingResponse.Represents a function that evaluates on a givenServerRequest.Extension ofRequestPredicatethat can modify theServerRequest.Receives notifications from the logical structure of request predicates.Represents a function that routes to a handler function.Represents a discoverable builder for router functions.Receives notifications from the logical structure of router functions.Represents a server-side HTTP request, as handled by aHandlerFunction.Defines a builder for a request.Represents the headers of the HTTP request.Represents a typed server-side HTTP response, as returned by a handler function or filter function.Defines a builder that adds a body to the response.Defines the context used during theServerResponse.writeTo(RequestContext, Context).Defines a builder that adds headers to the response.Defines the contract forServerResponse.HeadersBuilder.build(WriteFunction).Defines a builder for a body that sends server-sent events. -
类说明Represents a function that routes to a handler function.Represents a typed server-side HTTP response, as returned by a handler function or filter function.