public class ResponseHeader extends Object
Constructor and Description |
---|
ResponseHeader(String name,
String value) |
Modifier and Type | Method and Description |
---|---|
static String |
getDispositionFilename(List<ResponseHeader> headers) |
static ResponseHeader |
getHeader(List<ResponseHeader> headers,
String headerName) |
static String |
getHeaderValue(List<ResponseHeader> headers,
String headerName) |
String |
getName() |
String |
getValue() |
String |
toString() |
public String getName()
public String getValue()
public static ResponseHeader getHeader(List<ResponseHeader> headers, String headerName)
null
if there was no such header.public static String getHeaderValue(List<ResponseHeader> headers, String headerName)
null
if there was no such header.public static String getDispositionFilename(List<ResponseHeader> headers)
filename
parameter of the Content-Disposition
header from the given list,
or null
if there was no such header or parameter.Copyright © 2024 Worldline Global Collect. All rights reserved.