Package | Description |
---|---|
org.apache.wicket.markup.html.media |
Modifier and Type | Method and Description |
---|---|
MediaComponent.Cors |
MediaComponent.getCrossOrigin()
Gets the cross origin settings
|
static MediaComponent.Cors |
MediaComponent.Cors.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MediaComponent.Cors[] |
MediaComponent.Cors.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
MediaComponent.setCrossOrigin(MediaComponent.Cors crossOrigin)
Sets the cross origin settings
ANONYMOUS: Cross-origin CORS requests for the element will not have the credentials flag set. USER_CREDENTIALS: Cross-origin CORS requests for the element will have the credentials flag set. NO_CORS: The empty string is also a valid keyword, and maps to the Anonymous state. |
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.