private static enum WadoRS.ResponseWriter extends Enum<WadoRS.ResponseWriter>
Modifier and Type | Method and Description |
---|---|
private static InputStream |
cloneStream(InputStream inputStream) |
protected File |
ensureDirs(WadoRS wadors,
Attributes attrs) |
(package private) abstract boolean |
readBody(WadoRS wadors,
InputStream in,
Map<String,List<String>> headerParams) |
static WadoRS.ResponseWriter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WadoRS.ResponseWriter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WadoRS.ResponseWriter XML
public static final WadoRS.ResponseWriter DICOM
public static final WadoRS.ResponseWriter BULK
public static WadoRS.ResponseWriter[] values()
for (WadoRS.ResponseWriter c : WadoRS.ResponseWriter.values()) System.out.println(c);
public static WadoRS.ResponseWriter valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullabstract boolean readBody(WadoRS wadors, InputStream in, Map<String,List<String>> headerParams) throws IOException, Exception
IOException
Exception
protected File ensureDirs(WadoRS wadors, Attributes attrs)
private static InputStream cloneStream(InputStream inputStream)
Copyright © 2017 dcm4che.org. All rights reserved.