public static class RequestMappingInfo.BuilderConfiguration extends ObjectSE
| コンストラクターと説明 |
|---|
BuilderConfiguration() |
| 修飾子と型 | メソッドと説明 |
|---|---|
ContentNegotiationManager | getContentNegotiationManager()ProducesRequestCondition に使用する ContentNegotiationManager を返します(ある場合)。 |
ListSE<StringSE> | getFileExtensions() 使用すべきではありません。 5.2.4 現在。パス拡張設定オプションの非推奨については、 RequestMappingHandlerMapping のクラスレベルの注意を参照してください。 |
PathMatcher | getPathMatcher()PatternsRequestCondition に使用するカスタム PathMatcher を返します(ある場合)。 |
UrlPathHelper | getUrlPathHelper()PatternsRequestCondition に使用するカスタム UrlPathHelper を返します(ある場合)。 |
void | setContentNegotiationManager(ContentNegotiationManager contentNegotiationManager)ProducesRequestCondition に使用する ContentNegotiationManager を設定します。 |
void | setPathMatcher(PathMatcher pathMatcher)PatternsRequestCondition に使用するカスタム PathMatcher を設定します。 |
void | setRegisteredSuffixPatternMatch(boolean registeredSuffixPatternMatch) 使用すべきではありません。 5.2.4 現在。パス拡張設定オプションの廃止については、 RequestMappingHandlerMapping のクラスレベルの注意を参照してください。5.3 では、このプロパティのデフォルトが false から true に切り替わることにも注意してください。 |
void | setSuffixPatternMatch(boolean suffixPatternMatch) 使用すべきではありません。 5.2.4 現在。パス拡張設定オプションの非推奨については、 RequestMappingHandlerMapping のクラスレベルの注意を参照してください。 |
void | setTrailingSlashMatch(boolean trailingSlashMatch)PatternsRequestCondition で末尾のスラッシュマッチングを適用するかどうかを設定します。 |
void | setUrlPathHelper(UrlPathHelper urlPathHelper)PatternsRequestCondition に使用するカスタム UrlPathHelper を設定します。 |
boolean | useRegisteredSuffixPatternMatch() 使用すべきではありません。 5.2.4 現在。パス拡張設定オプションの非推奨については、 RequestMappingHandlerMapping のクラスレベルの注意を参照してください。 |
boolean | useSuffixPatternMatch() 使用すべきではありません。 5.2.4 現在。パス拡張設定オプションの非推奨については、 RequestMappingHandlerMapping のクラスレベルの注意を参照してください。 |
boolean | useTrailingSlashMatch()PatternsRequestCondition で末尾のスラッシュマッチングを適用するかどうかを返します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic void setUrlPathHelper(@Nullable UrlPathHelper urlPathHelper)
デフォルトでは、これは設定されていません。
@Nullable public UrlPathHelper getUrlPathHelper()
public void setPathMatcher(@Nullable PathMatcher pathMatcher)
デフォルトでは、これは設定されていません。
@Nullable public PathMatcher getPathMatcher()
public void setTrailingSlashMatch(boolean trailingSlashMatch)
デフォルトでは "true" に設定されています。
public boolean useTrailingSlashMatch()
@DeprecatedSE public void setSuffixPatternMatch(boolean suffixPatternMatch)
RequestMappingHandlerMapping のクラスレベルの注記を参照してください。デフォルトでは "true" に設定されています。
@DeprecatedSE public boolean useSuffixPatternMatch()
RequestMappingHandlerMapping のクラスレベルの注記を参照してください。@DeprecatedSE public void setRegisteredSuffixPatternMatch(boolean registeredSuffixPatternMatch)
RequestMappingHandlerMapping のクラスレベルの注記を参照してください。また、5.3 では、このプロパティのデフォルトが false から true に切り替わることにも注意してください。suffixPatternMatch=true も設定され、登録されたファイル拡張子を取得するために setContentNegotiationManager(org.springframework.web.accept.ContentNegotiationManager) も構成する必要があります。@DeprecatedSE public boolean useRegisteredSuffixPatternMatch()
RequestMappingHandlerMapping のクラスレベルの注記を参照してください。@Nullable @DeprecatedSE public ListSE<StringSE> getFileExtensions()
RequestMappingHandlerMapping のクラスレベルの注記を参照してください。registeredSuffixPatternMatch=true の場合、拡張機能は構成された contentNegotiationManager から取得されます。public void setContentNegotiationManager(ContentNegotiationManager contentNegotiationManager)
デフォルトでは、これは設定されていません。
@Nullable public ContentNegotiationManager getContentNegotiationManager()