Class GetFunctionUrlCor


  • public final class GetFunctionUrlCor
    extends java.lang.Object
    • Method Detail

      • allowCredentials

        public java.lang.Boolean allowCredentials()
        Returns:
        Whether credentials are included in the CORS request.
      • allowHeaders

        public java.util.List<java.lang.String> allowHeaders()
        Returns:
        List of headers that are specified in the Access-Control-Request-Headers header.
      • allowMethods

        public java.util.List<java.lang.String> allowMethods()
        Returns:
        List of HTTP methods that are allowed when calling the function URL.
      • allowOrigins

        public java.util.List<java.lang.String> allowOrigins()
        Returns:
        List of origins that are allowed to make requests to the function URL.
      • exposeHeaders

        public java.util.List<java.lang.String> exposeHeaders()
        Returns:
        List of headers in the response that you want to expose to the origin that called the function URL.
      • maxAge

        public java.lang.Integer maxAge()
        Returns:
        Maximum amount of time, in seconds, that web browsers can cache results of a preflight request.