Package dap4.dap4lib
Class DapProtocol.ContentType
- java.lang.Object
-
- dap4.dap4lib.DapProtocol.ContentType
-
- Enclosing class:
- DapProtocol
public static class DapProtocol.ContentType extends Object
-
-
Field Summary
Fields Modifier and Type Field Description StringcontenttypeStringhtmltypeRequestModemodeStringtexttypeStringxmltype
-
Constructor Summary
Constructors Constructor Description ContentType(RequestMode mode, String contenttype, String xmltype, String texttype, String htmltype)
-
-
-
Field Detail
-
mode
public RequestMode mode
-
contenttype
public String contenttype
-
xmltype
public String xmltype
-
texttype
public String texttype
-
htmltype
public String htmltype
-
-
Constructor Detail
-
ContentType
public ContentType(RequestMode mode, String contenttype, String xmltype, String texttype, String htmltype)
-
-
Method Detail
-
getFormat
public String getFormat(dap4.core.util.ResponseFormat format) throws dap4.core.util.DapException
- Throws:
dap4.core.util.DapException
-
-