Package com.google.cloud.storage
Class Cors.Origin
java.lang.Object
com.google.cloud.storage.Cors.Origin
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Cors
Class for a CORS origin.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic Cors.Origin
any()
Returns anOrigin
object for all possible origins.boolean
getValue()
int
hashCode()
static Cors.Origin
Creates anOrigin
object for the provided value.static Cors.Origin
Returns anOrigin
object for the given scheme, host and port.toString()
-
Method Details
-
any
Returns anOrigin
object for all possible origins. -
of
Returns anOrigin
object for the given scheme, host and port. -
of
Creates anOrigin
object for the provided value. -
hashCode
public int hashCode() -
equals
-
toString
-
getValue
-