类的使用
cn.taketoday.http.server.PathContainer
使用PathContainer的程序包
程序包
说明
Contains an abstraction over server-side HTTP.
Web Handler
Common MVC logic for matching incoming requests based on conditions.
Standard controller implementations for the MVC framework use like Framework
Dedicated support for matching HTTP request paths.
-
cn.taketoday.http.server中PathContainer的使用
修饰符和类型类说明(专用程序包) final classDefault implementation ofPathContainer.(专用程序包) classDefault implementation ofRequestPath.classSpecialization ofPathContainerthat sub-divides the path into aRequestPath.contextPath()and the remainingRequestPath.pathWithinApplication().修饰符和类型字段说明private final PathContainerDefaultRequestPath.contextPathprivate static final PathContainerDefaultPathContainer.EMPTY_PATHprivate final PathContainerDefaultRequestPath.fullPathprivate final PathContainerDefaultRequestPath.pathWithinApplication修饰符和类型方法说明DefaultRequestPath.contextPath()abstract PathContainerRequestPath.contextPath()Returns the portion of the URL path that represents the application.(专用程序包) static PathContainerDefaultPathContainer.createFromUrlPath(String path, PathContainer.Options options) private static PathContainerDefaultRequestPath.extractPathWithinApplication(PathContainer fullPath, PathContainer contextPath) private static PathContainerDefaultRequestPath.initContextPath(PathContainer path, String contextPath) static PathContainerstatic PathContainerPathContainer.parsePath(String path, PathContainer.Options options) Parse the path value into a sequence ofSeparatorandPathSegmentelements.DefaultRequestPath.pathWithinApplication()abstract PathContainerRequestPath.pathWithinApplication()The portion of the request path after the context path which is typically used for request mapping within the application .(专用程序包) static PathContainerDefaultPathContainer.subPath(PathContainer container, int fromIndex, int toIndex) PathContainer.subPath(int index) Extract a sub-path from the given offset into the elements list.PathContainer.subPath(int startIndex, int endIndex) Extract a sub-path from the given start offset into the element list (inclusive) and to the end offset (exclusive).参数类型为PathContainer的cn.taketoday.http.server中的方法修饰符和类型方法说明private static PathContainerDefaultRequestPath.extractPathWithinApplication(PathContainer fullPath, PathContainer contextPath) private static PathContainerDefaultRequestPath.initContextPath(PathContainer path, String contextPath) (专用程序包) static PathContainerDefaultPathContainer.subPath(PathContainer container, int fromIndex, int toIndex) -
cn.taketoday.web中PathContainer的使用
声明为PathContainer的cn.taketoday.web中的字段修饰符和类型字段说明private final PathContainerHandlerMatchingMetadata.lookupPathprotected PathContainerRequestContext.lookupPathprotected PathContainerRequestContext.pathWithinApplicationprivate PathContainerHandlerMatchingMetadata.pathWithinMapping修饰符和类型方法说明DecoratingRequestContext.getLookupPath()HandlerMatchingMetadata.getLookupPath()RequestContext.getLookupPath()HandlerMatchingMetadata.getPathWithinMapping()参数类型为PathContainer的cn.taketoday.web中的构造器限定符构造器说明HandlerMatchingMetadata(Object handler, String directLookupPath, PathContainer lookupPath, PathPattern bestMatchingPattern, PathPatternParser patternParser) -
cn.taketoday.web.handler中PathContainer的使用
参数类型为PathContainer的cn.taketoday.web.handler中的方法修饰符和类型方法说明private booleanMappedInterceptor.doMatch(MappedInterceptor.CompiledPattern adapter, PathContainer path) booleanMappedInterceptor.matches(PathContainer lookupPath) Check whether this interceptor is mapped to the request. -
cn.taketoday.web.handler.condition中PathContainer的使用
修饰符和类型方法说明private SortedSet<PathPattern>PathPatternsRequestCondition.getMatchingPatterns(PathContainer lookupPath) -
cn.taketoday.web.handler.mvc中PathContainer的使用
修饰符和类型方法说明protected CacheControlWebContentInterceptor.lookupCacheControl(PathContainer path) Find aCacheControlinstance for the given parsedpath.protected IntegerWebContentInterceptor.lookupCacheSeconds(PathContainer path) Find a cacheSeconds value for the given parsedpath. -
cn.taketoday.web.servlet中PathContainer的使用
修饰符和类型类说明private static final classSimple wrapper around the defaultRequestPathimplementation that supports a servletPath as an additional prefix to be omitted fromServletRequestContext.ServletRequestPath.pathWithinApplication().修饰符和类型方法说明ServletRequestContext.ServletRequestPath.contextPath()ServletRequestContext.ServletRequestPath.pathWithinApplication() -
cn.taketoday.web.util.pattern中PathContainer的使用
修饰符和类型字段说明final PathContainerPathPattern.MatchingContext.candidateprivate static final PathContainerPathPattern.EMPTY_PATHprivate final PathContainerPathPatternRouteMatcher.PathContainerRoute.pathContainerpathContainer记录组件的字段。private final PathContainerPathPattern.PathRemainingMatchInfo.pathMatchedprivate final PathContainerPathPattern.PathRemainingMatchInfo.pathRemaining修饰符和类型方法说明PathPattern.extractPathWithinPattern(PathContainer path) Determine the pattern-mapped part for the given path.private PathContainerPathPatternRouteMatcher.getPathContainer(cn.taketoday.util.RouteMatcher.Route route) PathPattern.PathRemainingMatchInfo.getPathMatched()Return the part of a path that was matched by a pattern.PathPattern.PathRemainingMatchInfo.getPathRemaining()Return the part of a path that was not matched by a pattern.PathPatternRouteMatcher.PathContainerRoute.pathContainer()返回pathContainer记录组件的值。修饰符和类型方法说明PathPattern.extractPathWithinPattern(PathContainer path) Determine the pattern-mapped part for the given path.private booleanPathPattern.hasLength(PathContainer container) Return if the container is not null and has more than zero elements.PathPattern.matchAndExtract(PathContainer pathContainer) Match this pattern to the given URI path and return extracted URI template variables as well as path parameters (matrix variables).booleanPathPattern.matches(PathContainer pathContainer) Whether this pattern matches the given path.PathPattern.matchStartOfPath(PathContainer pathContainer) Match the beginning of the given path and return the remaining portion not covered by this pattern.private booleanPathPattern.pathContainerIsJustSeparator(PathContainer pathContainer) 参数类型为PathContainer的cn.taketoday.web.util.pattern中的构造器限定符构造器说明MatchingContext(PathContainer pathContainer, boolean extractVariables) privatePathContainerRoute(PathContainer pathContainer) 创建PathContainerRoute记录的实例。(专用程序包)PathRemainingMatchInfo(PathContainer pathMatched, PathContainer pathRemaining) (专用程序包)PathRemainingMatchInfo(PathContainer pathMatched, PathContainer pathRemaining, PathMatchInfo pathMatchInfo)