Package com.netscape.certsrv.base
Class RESTMessage
java.lang.Object
com.netscape.certsrv.base.RESTMessage
- All Implemented Interfaces:
JSONSerializer
- Direct Known Subclasses:
Account
,CAInfo
,CertEnrollmentRequest
,Info
,KeyArchivalRequest
,KeyGenerationRequest
,KeyRecoveryRequest
,KRAInfo
,PKIException.Data
This is a base class for some REST request/response messages.
JSON mapping:
XML mapping:
- Author:
- Ade Lee
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
static class
-
Field Summary
FieldsFields inherited from interface com.netscape.certsrv.util.JSONSerializer
logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static RESTMessage
static void
fromDOM
(Element element, RESTMessage resourceMessage) static RESTMessage
getAttribute
(String name) int
hashCode()
removeAttribute
(String name) void
setAttribute
(String name, String value) void
void
setAttributes
(Map<String, String> attributes) void
setClassName
(String className) void
toXML()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.netscape.certsrv.util.JSONSerializer
toJSON
-
Field Details
-
attributes
-
className
-
-
Constructor Details
-
RESTMessage
public RESTMessage() -
RESTMessage
-
-
Method Details