public static class RequestMappingInfo.BuilderConfiguration extends ObjectSE
| コンストラクターと説明 |
|---|
BuilderConfiguration() |
| 修飾子と型 | メソッドと説明 |
|---|---|
ContentNegotiationManager | getContentNegotiationManager()ProducesRequestCondition に使用する ContentNegotiationManager を返します(ある場合)。 |
ListSE<StringSE> | getFileExtensions() サフィックスパターンマッチングに使用するファイル拡張子を返します。 |
PathMatcher | getPathMatcher()PatternsRequestCondition に使用するカスタム PathMatcher を返します(ある場合)。 |
UrlPathHelper | getUrlPathHelper()PatternsRequestCondition に使用するカスタム UrlPathHelper を返します(ある場合)。 |
void | setContentNegotiationManager(ContentNegotiationManager contentNegotiationManager)ProducesRequestCondition に使用する ContentNegotiationManager を設定します。 |
void | setPathMatcher(PathMatcher pathMatcher)PatternsRequestCondition に使用するカスタム PathMatcher を設定します。 |
void | setRegisteredSuffixPatternMatch(boolean registeredSuffixPatternMatch) サフィックスパターンマッチングを登録済みのファイル拡張子のみに制限するかどうかを設定します。 |
void | setSuffixPatternMatch(boolean suffixPatternMatch)PatternsRequestCondition でサフィックスパターンマッチングを適用するかどうかを設定します。 |
void | setTrailingSlashMatch(boolean trailingSlashMatch)PatternsRequestCondition で末尾のスラッシュマッチングを適用するかどうかを設定します。 |
void | setUrlPathHelper(UrlPathHelper urlPathHelper)PatternsRequestCondition に使用するカスタム UrlPathHelper を設定します。 |
boolean | useRegisteredSuffixPatternMatch() 接尾辞パターンマッチングを登録されたファイル拡張子のみに制限するかどうかを返します。 |
boolean | useSuffixPatternMatch()PatternsRequestCondition でサフィックスパターンマッチングを適用するかどうかを返します。 |
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()
public void setSuffixPatternMatch(boolean suffixPatternMatch)
デフォルトでは "true" に設定されています。
public boolean useSuffixPatternMatch()
public void setRegisteredSuffixPatternMatch(boolean registeredSuffixPatternMatch)
suffixPatternMatch=true も設定され、登録されたファイル拡張子を取得するために setContentNegotiationManager(org.springframework.web.accept.ContentNegotiationManager) も構成する必要があります。public boolean useRegisteredSuffixPatternMatch()
@Nullable public ListSE<StringSE> getFileExtensions()
registeredSuffixPatternMatch=true の場合、拡張機能は構成された contentNegotiationManager から取得されます。public void setContentNegotiationManager(ContentNegotiationManager contentNegotiationManager)
デフォルトでは、これは設定されていません。
@Nullable public ContentNegotiationManager getContentNegotiationManager()