HttpHeaders.values(String name) Method

Definition

Get the header values for the provided header name. Null will be returned if the header name isn't found.

public String[] values(String name)

Parameters

name
java.lang.String

the name of the header to look for

Returns

java.lang.String[]

the values of the header, or null if the header isn't found

Applies to