public static final class RidcProxyServiceImpl.ResponseStream extends Object
close()
method.Modifier and Type | Field and Description |
---|---|
static String |
CACHE_CONTROL_HEADER_NAME
The name of the cache control header.
|
static String |
CONTENT_DISPOSITION_HEADER_NAME
The name of the content disposition header.
|
static String |
CONTENT_LENGTH_HEADER_NAME
The name of the content length header.
|
static String |
CONTENT_TYPE_HEADER_NAME
The name of the content type header.
|
static String |
FALLBACK_CONTENT_TYPE_HEADER_NAME |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the stream.
|
String |
getHeader(String headerName)
Gets the value of a specific header, by name.
|
Collection<String> |
getHeaderNames()
Gets the collection of all header names available from this stream.
|
InputStream |
getInputStream()
Gets the actual InputStream representing the contents of a file.
|
public static final String CONTENT_TYPE_HEADER_NAME
public static final String FALLBACK_CONTENT_TYPE_HEADER_NAME
public static final String CONTENT_LENGTH_HEADER_NAME
public static final String CONTENT_DISPOSITION_HEADER_NAME
public static final String CACHE_CONTROL_HEADER_NAME
public Collection<String> getHeaderNames()
public String getHeader(String headerName)
headerName
- the header namenull
public InputStream getInputStream()
public void close()