public final class StaticResourceRequest extends ObjectSE
ServerWebExchangeMatcher を作成するために使用されます。PathRequest.toStaticResources() によって返されます。PathRequest| 修飾子と型 | クラスと説明 |
|---|---|
static class | StaticResourceRequest.StaticResourceServerWebExchange リソース locations との照合に使用されるサーバー Web エクスチェンジマッチャー。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
StaticResourceRequest.StaticResourceServerWebExchange | at(SetSE<StaticResourceLocation> locations) 指定された Locations を含むマッチャーを返します。 |
StaticResourceRequest.StaticResourceServerWebExchange | at(StaticResourceLocation first, StaticResourceLocation... rest) 指定された Locations を含むマッチャーを返します。 |
StaticResourceRequest.StaticResourceServerWebExchange | atCommonLocations() 一般的に使用されるすべての Locations を含むマッチャーを返します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic StaticResourceRequest.StaticResourceServerWebExchange atCommonLocations()
Locations を含むマッチャーを返します。excluding メソッドは、必要に応じて特定の場所を削除するために使用できます。例:PathRequest.toStaticResources().atCommonLocations().excluding(StaticResourceLocation.CSS)
ServerWebExchangeMatcherpublic StaticResourceRequest.StaticResourceServerWebExchange at(StaticResourceLocation first, StaticResourceLocation... rest)
Locations を含むマッチャーを返します。例:PathRequest.toStaticResources().at(StaticResourceLocation.CSS, StaticResourceLocation.JAVA_SCRIPT)
first - 含める最初の場所 rest - 追加する場所 ServerWebExchangeMatcherpublic StaticResourceRequest.StaticResourceServerWebExchange at(SetSE<StaticResourceLocation> locations)
Locations を含むマッチャーを返します。例:PathRequest.toStaticResources().at(locations)
locations - 含める場所 ServerWebExchangeMatcher