- getCharacterEncoding() - Method in interface com.google.cloud.functions.HttpMessage
-
Returns the character encoding specified in the Content-Type
header,
or Optional.empty()
if there is no Content-Type
header or it does not have the
charset
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
-
- 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.