pdk.flow.HttpResponse
Contains functions that can be applied to HttpResponse structures
All functions
addHeader
Adds an HTTP header to the HTTP response.
Arguments:
header :: pdk.net.http.Header
response :: pdk.net.http.Response
Result:
No variable is returned. The input response contains the new header.
Possible exceptions
NullPointerException - throws an error if at least one argument is
NULL
deleteHeader
Deletes an HTTP header to the HTTP response.
Arguments:
header :: pdk.net.http.Header
response :: pdk.net.http.Response
Result:
No variable is returned. The specified header is removed from the input response.
Possible exceptions
NullPointerException - throws an error if at least one argument is
NULL
createHeader
Creates and adds new header to the HTTP response.
Arguments:
headerName :: pdk.core.String
headerValue :: pdk.core.String
response :: pdk.net.http.Response
Result:
No variable is returned. The input response contains the new header.
Possible exceptions
NullPointerException - throws an error if headerName or response is
NULL
addCookie
Adds an HTTP cookie to the HTTP response.
Arguments:
cookie :: pdk.net.http.Cookie
response :: pdk.net.http.Response
Result:
No variable is returned. The input response contains the new cookie.
Possible exceptions
NullPointerException - throws an error if at least one argument is
NULL
deleteCookie
Deletes an HTTP cookie to the HTTP response.
Arguments:
cookie :: pdk.net.http.Cookie
response :: pdk.net.http.Response
Result:
No variable is returned. The specified cookie is removed from the input response.
Possible exceptions
NullPointerException - throws an error if at least one argument is
NULL
Last updated