A B C E G H R S T
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- accept(CloudEvent) - Method in interface com.google.cloud.functions.ExperimentalCloudEventsFunction
-
Called to service an incoming event.
- accept(String, Context) - Method in interface com.google.cloud.functions.RawBackgroundFunction
-
Called to service an incoming event.
- accept(T, Context) - Method in interface com.google.cloud.functions.BackgroundFunction
-
Called to service an incoming event.
- appendHeader(String, String) - Method in interface com.google.cloud.functions.HttpResponse
-
Includes the given header name with the given value in the response.
- attributes() - Method in interface com.google.cloud.functions.Context
-
Returns additional attributes from this event.
B
- BackgroundFunction<T> - Interface in com.google.cloud.functions
-
Represents a Cloud Function that is activated by an event and parsed into a user-supplied class.
C
- com.google.cloud.functions - package com.google.cloud.functions
- Context - Interface in com.google.cloud.functions
-
An interface for event function context.
E
- eventId() - Method in interface com.google.cloud.functions.Context
-
Returns event ID.
- eventType() - Method in interface com.google.cloud.functions.Context
-
Returns event type.
- ExperimentalCloudEventsFunction - Interface in com.google.cloud.functions
-
Represents a Cloud Function that is activated by an event and parsed into a
CloudEvent
object.
G
- getCharacterEncoding() - Method in interface com.google.cloud.functions.HttpMessage
-
Returns the character encoding specified in the
Content-Type
header, orOptional.empty()
if there is noContent-Type
header or it does not have thecharset
parameter. - getContentLength() - Method in interface com.google.cloud.functions.HttpMessage
-
Returns the numeric value of the
Content-Length
header. - getContentType() - Method in interface com.google.cloud.functions.HttpMessage
-
Returns the value of the
Content-Type
header, if any. - getContentType() - Method in interface com.google.cloud.functions.HttpResponse
-
Returns the
Content-Type
that was previously set bysetContentType(java.lang.String)
, or byappendHeader(java.lang.String, java.lang.String)
with a header name ofContent-Type
. - getFileName() - Method in interface com.google.cloud.functions.HttpRequest.HttpPart
-
Returns the filename associated with this part, if any.
- getFirstHeader(String) - Method in interface com.google.cloud.functions.HttpMessage
-
Convenience method that returns the value of the first header with the given name.
- getFirstQueryParameter(String) - Method in interface com.google.cloud.functions.HttpRequest
-
The first query parameter with the given name, if any.
- getHeaders() - Method in interface com.google.cloud.functions.HttpMessage
-
Returns a map describing the headers of this HTTP request, or this part of a multipart request.
- getHeaders() - Method in interface com.google.cloud.functions.HttpResponse
-
Returns the headers that have been defined for the response so far.
- getInputStream() - Method in interface com.google.cloud.functions.HttpMessage
-
Returns an
InputStream
that can be used to read the body of this HTTP request. - getMethod() - Method in interface com.google.cloud.functions.HttpRequest
-
The HTTP method of this request, such as
"POST"
or"GET"
. - getOutputStream() - Method in interface com.google.cloud.functions.HttpResponse
-
Returns an
OutputStream
that can be used to write the body of the response. - getParts() - Method in interface com.google.cloud.functions.HttpRequest
-
Returns the parts inside this multipart (
multipart/form-data
) HTTP request. - getPath() - Method in interface com.google.cloud.functions.HttpRequest
-
The path part of the URI for this request, without any query.
- getQuery() - Method in interface com.google.cloud.functions.HttpRequest
-
The query part of the URI for this request.
- getQueryParameters() - Method in interface com.google.cloud.functions.HttpRequest
-
The query parameters of this request.
- getReader() - Method in interface com.google.cloud.functions.HttpMessage
-
Returns a
BufferedReader
that can be used to read the text body of this HTTP request. - getUri() - Method in interface com.google.cloud.functions.HttpRequest
-
The full URI of this request as it arrived at the server.
- getWriter() - Method in interface com.google.cloud.functions.HttpResponse
-
Returns a
BufferedWriter
that can be used to write the text body of the response.
H
- HttpFunction - Interface in com.google.cloud.functions
-
Represents a Cloud Function that is activated by an HTTP request.
- HttpMessage - Interface in com.google.cloud.functions
-
Represents an HTTP message, either an HTTP request or a part of a multipart HTTP request.
- HttpRequest - Interface in com.google.cloud.functions
-
Represents the contents of an HTTP request that is being serviced by a Cloud Function.
- HttpRequest.HttpPart - Interface in com.google.cloud.functions
-
Represents one part inside a multipart (
multipart/form-data
) HTTP request. - HttpResponse - Interface in com.google.cloud.functions
-
Represents the contents of an HTTP response that is being sent by a Cloud Function in response to an HTTP request.
R
- RawBackgroundFunction - Interface in com.google.cloud.functions
-
Represents a Cloud Function that is activated by an event.
- resource() - Method in interface com.google.cloud.functions.Context
-
Returns event resource.
S
- service(HttpRequest, HttpResponse) - Method in interface com.google.cloud.functions.HttpFunction
-
Called to service an incoming HTTP request.
- setContentType(String) - Method in interface com.google.cloud.functions.HttpResponse
-
Sets the value to use for the
Content-Type
header in the response. - setStatusCode(int) - Method in interface com.google.cloud.functions.HttpResponse
-
Sets the numeric HTTP status code to use in the response.
- setStatusCode(int, String) - Method in interface com.google.cloud.functions.HttpResponse
-
Sets the numeric HTTP status code and reason message to use in the response.
T
- timestamp() - Method in interface com.google.cloud.functions.Context
-
Returns event timestamp.
All Classes All Packages