public class CrossOrigin extends ObjectSE
HttpRequestHandlingEndpointSupport のクロスオリジンリクエスト(CORS)を許可するためのマッピング。CrossOrigin と比較して機能の観点から直接マッピングを提供します。CrossOrigin, IntegrationRequestMappingHandlerMapping| コンストラクターと説明 |
|---|
CrossOrigin() |
| 修飾子と型 | メソッドと説明 |
|---|---|
BooleanSE | getAllowCredentials() |
StringSE[] | getAllowedHeaders() |
StringSE[] | getExposedHeaders() |
long | getMaxAge() |
RequestMethod[] | getMethod() |
StringSE[] | getOrigin() |
void | setAllowCredentials(BooleanSE allowCredentials) |
void | setAllowedHeaders(StringSE... allowedHeaders) |
void | setExposedHeaders(StringSE... exposedHeaders) |
void | setMaxAge(long maxAge) |
void | setMethod(RequestMethod... method) |
void | setOrigin(StringSE... origin) |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic void setOrigin(StringSE... origin)
public StringSE[] getOrigin()
public void setAllowedHeaders(StringSE... allowedHeaders)
public StringSE[] getAllowedHeaders()
public void setExposedHeaders(StringSE... exposedHeaders)
public StringSE[] getExposedHeaders()
public void setMethod(RequestMethod... method)
public RequestMethod[] getMethod()
public void setAllowCredentials(BooleanSE allowCredentials)
public BooleanSE getAllowCredentials()
public void setMaxAge(long maxAge)
public long getMaxAge()