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.Originany()Returns anOriginobject for all possible origins.booleangetValue()inthashCode()static Cors.OriginCreates anOriginobject for the provided value.static Cors.OriginReturns anOriginobject for the given scheme, host and port.toString()
-
Method Details
-
any
Returns anOriginobject for all possible origins. -
of
Returns anOriginobject for the given scheme, host and port. -
of
Creates anOriginobject for the provided value. -
hashCode
public int hashCode() -
equals
-
toString
-
getValue
-