クラス RepositoryRestHandlerAdapter
java.lang.ObjectSE
org.springframework.context.support.ApplicationObjectSupport
org.springframework.web.context.support.WebApplicationObjectSupport
org.springframework.web.servlet.support.WebContentGenerator
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
org.springframework.data.rest.webmvc.RepositoryRestHandlerAdapter
- 実装済みのインターフェース一覧:
Aware、BeanFactoryAware、InitializingBean、ApplicationContextAware、Ordered、ServletContextAware、HandlerAdapter
REST エクスポーターコントローラーで使用されるコントローラーメソッドパラメーターの引数リゾルバーをいくつか追加する
RequestMappingHandlerAdapter 実装。また、Spring Data REST が提供するコントローラークラスでハンドラーメソッドのみを検索して、ユーザーが Spring MVC コンテキストで構成した可能性のある他のハンドラーアダプターからこのハンドラーアダプターを分離できるようにします。- 作成者:
- Jon Brisbin, Oliver Gierke
フィールド概要
クラス org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter から継承されたフィールド
INIT_BINDER_METHODS, MODEL_ATTRIBUTE_METHODSクラス org.springframework.web.servlet.support.WebContentGenerator から継承されたフィールド
HEADER_CACHE_CONTROL, METHOD_GET, METHOD_HEAD, METHOD_POSTクラス org.springframework.context.support.ApplicationObjectSupport から継承されたフィールド
loggerインターフェース org.springframework.core.Ordered から継承されたフィールド
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCEコンストラクター概要
コンストラクターコンストラクター説明RepositoryRestHandlerAdapter(ListSE<HandlerMethodArgumentResolver> argumentResolvers) 指定されたHandlerMethodArgumentResolverを使用して新しいRepositoryRestHandlerAdapterを作成します。方法の概要
クラス org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter から継承されたメソッド
createDataBinderFactory, createInvocableHandlerMethod, getArgumentResolvers, getBeanFactory, getCustomArgumentResolvers, getCustomReturnValueHandlers, getErrorResponseInterceptors, getInitBinderArgumentResolvers, getMessageConverters, getModelAndViewResolvers, getReactiveAdapterRegistry, getReturnValueHandlers, getWebBindingInitializer, handleInternal, invokeHandlerMethod, setArgumentResolvers, setAsyncRequestTimeout, setBeanFactory, setCacheSecondsForSessionAttributeHandlers, setCallableInterceptors, setContentNegotiationManager, setCustomArgumentResolvers, setCustomReturnValueHandlers, setDeferredResultInterceptors, setErrorResponseInterceptors, setInitBinderArgumentResolvers, setMessageConverters, setModelAndViewResolvers, setParameterNameDiscoverer, setReactiveAdapterRegistry, setRequestBodyAdvice, setResponseBodyAdvice, setReturnValueHandlers, setSessionAttributeStore, setSynchronizeOnSession, setTaskExecutor, setWebBindingInitializerクラス org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter から継承されたメソッド
handle, setOrder, supportsクラス org.springframework.web.servlet.support.WebContentGenerator から継承されたメソッド
applyCacheControl, applyCacheSeconds, checkRequest, getAllowHeader, getCacheControl, getCacheSeconds, getSupportedMethods, getVaryByRequestHeaders, isRequireSession, prepareResponse, setCacheControl, setCacheSeconds, setRequireSession, setSupportedMethods, setVaryByRequestHeadersクラス org.springframework.web.context.support.WebApplicationObjectSupport から継承されたメソッド
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextクラス org.springframework.context.support.ApplicationObjectSupport から継承されたメソッド
getApplicationContext, getMessageSourceAccessor, initApplicationContext, obtainApplicationContext, requiredContextClass, setApplicationContext
コンストラクターの詳細
RepositoryRestHandlerAdapter
指定されたHandlerMethodArgumentResolverを使用して新しいRepositoryRestHandlerAdapterを作成します。- パラメーター:
argumentResolvers- null であってはなりません。
メソッドの詳細
afterPropertiesSet
public void afterPropertiesSet()- 次で指定:
- インターフェース
InitializingBeanのafterPropertiesSet - オーバーライド:
- クラス
RequestMappingHandlerAdapterのafterPropertiesSet
getOrder
public int getOrder()- 次で指定:
- インターフェース
OrderedのgetOrder - オーバーライド:
- クラス
AbstractHandlerMethodAdapterのgetOrder
supportsInternal
- オーバーライド:
- クラス
RequestMappingHandlerAdapterのsupportsInternal