org.springframework.security.oauth2.provider.endpoint
类 FrameworkEndpointHandlerMapping

java.lang.Object
  继承者 org.springframework.context.support.ApplicationObjectSupport
      继承者 org.springframework.web.context.support.WebApplicationObjectSupport
          继承者 org.springframework.web.servlet.handler.AbstractHandlerMapping
              继承者 org.springframework.web.servlet.handler.AbstractHandlerMethodMapping<org.springframework.web.servlet.mvc.method.RequestMappingInfo>
                  继承者 org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping
                      继承者 org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
                          继承者 org.springframework.security.oauth2.provider.endpoint.FrameworkEndpointHandlerMapping
所有已实现的接口:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.core.Ordered, org.springframework.web.context.ServletContextAware, org.springframework.web.servlet.HandlerMapping

public class FrameworkEndpointHandlerMapping
extends org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping

A handler mapping for framework endpoints (those annotated with @FrameworkEndpoint).

作者:
Dave Syer

字段摘要
 
从类 org.springframework.context.support.ApplicationObjectSupport 继承的字段
logger
 
从接口 org.springframework.web.servlet.HandlerMapping 继承的字段
BEST_MATCHING_PATTERN_ATTRIBUTE, INTROSPECT_TYPE_LEVEL_MAPPING, PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE, PRODUCIBLE_MEDIA_TYPES_ATTRIBUTE, URI_TEMPLATE_VARIABLES_ATTRIBUTE
 
从接口 org.springframework.core.Ordered 继承的字段
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
 
构造方法摘要
FrameworkEndpointHandlerMapping()
           
 
方法摘要
protected  org.springframework.web.servlet.mvc.method.RequestMappingInfo getMappingForMethod(Method method, Class<?> handlerType)
           
protected  boolean isHandler(Class<?> beanType)
          Detects @FrameworkEndpoint annotations in handler beans.
 void setApprovalParameter(String approvalParameter)
          The name of the request parameter that distinguishes a call to approve an authorization.
 void setMappings(Map<String,String> patternMap)
          Custom mappings for framework endpoint paths.
 
从类 org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping 继承的方法
getCustomMethodCondition, getCustomTypeCondition, setUseSuffixPatternMatch, setUseTrailingSlashMatch, useSuffixPatternMatch, useTrailingSlashMatch
 
从类 org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping 继承的方法
getMappingComparator, getMappingPathPatterns, getMatchingMapping, handleMatch, handleNoMatch
 
从类 org.springframework.web.servlet.handler.AbstractHandlerMethodMapping 继承的方法
afterPropertiesSet, detectHandlerMethods, getHandlerInternal, getHandlerMethods, handlerMethodsInitialized, initHandlerMethods, lookupHandlerMethod, registerHandlerMethod, setDetectHandlerMethodsInAncestorContexts
 
从类 org.springframework.web.servlet.handler.AbstractHandlerMapping 继承的方法
adaptInterceptor, detectMappedInterceptors, extendInterceptors, getAdaptedInterceptors, getDefaultHandler, getHandler, getHandlerExecutionChain, getMappedInterceptors, getOrder, getPathMatcher, getUrlPathHelper, initApplicationContext, initInterceptors, setAlwaysUseFullPath, setDefaultHandler, setInterceptors, setOrder, setPathMatcher, setUrlDecode, setUrlPathHelper
 
从类 org.springframework.web.context.support.WebApplicationObjectSupport 继承的方法
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
 
从类 org.springframework.context.support.ApplicationObjectSupport 继承的方法
getApplicationContext, getMessageSourceAccessor, requiredContextClass, setApplicationContext
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

FrameworkEndpointHandlerMapping

public FrameworkEndpointHandlerMapping()
方法详细信息

setMappings

public void setMappings(Map<String,String> patternMap)
Custom mappings for framework endpoint paths. The keys in the map are the default framework endpoint path, e.g. "/oauth/authorize", and the values are the desired runtime paths.

参数:
mappings - the mappings to set

setApprovalParameter

public void setApprovalParameter(String approvalParameter)
The name of the request parameter that distinguishes a call to approve an authorization. Default is AuthorizationRequest#USER_OAUTH_APPROVAL.

参数:
approvalParameter - the approvalParameter to set

isHandler

protected boolean isHandler(Class<?> beanType)
Detects @FrameworkEndpoint annotations in handler beans.

覆盖:
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping 中的 isHandler
另请参见:
RequestMappingHandlerMapping.isHandler(java.lang.Class)

getMappingForMethod

protected org.springframework.web.servlet.mvc.method.RequestMappingInfo getMappingForMethod(Method method,
                                                                                            Class<?> handlerType)
覆盖:
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping 中的 getMappingForMethod


Copyright © 2013. All rights reserved.