Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for toArray (0.15 sec)

  1. src/main/java/org/codelibs/curl/CurlResponse.java

            final List<String> list = headers.get(name.toLowerCase(Locale.ROOT));
            if (list == null) {
                return new String[0];
            }
            return list.toArray(new String[list.size()]);
        }
    
        public String getHeaderValue(final String name) {
            final String[] values = getHeaderValues(name);
            if (values.length == 0) {
                return null;
            }
    Java
    - Registered: Thu May 02 15:34:13 GMT 2024
    - Last Modified: Mon Nov 14 21:05:19 GMT 2022
    - 4K bytes
    - Viewed (0)
Back to top