public abstract class ServiceMethodResponseSerializer extends java.lang.Object implements ResourceSerializer
COMPACT, DROPNULLS, ENDSWITH, EQUALS, EXACTMATCH, EXCLUDECOLS, FILTERDOMAIN, FILTERDOMAIN_ORG, FILTERDOMAIN_SITE, FORM_PARAM_ROWSTAMP, GENERIC, GLCOMP, GRATERTHAN, GRATERTHANEQUALS, INCLUDECOLS, KEYS, LANGCODE, LESSTHAN, LESSTHANEQUALS, LOCALE, LOGINID, LOGINPASSWORD, MAXAUTHTOKEN, MAXITEMS, MAXUSER, METADATA, MXRESTSESSION, NOTEQUALS, OPERATION_PARAM_NS, OPMODEOR, ORDERBY, ORDERBYASC, ORDERBYDESC, PAGE, QUERY_OPERATION, REFRESH_LOCALE, RELATED_ATTRBUTE, RELEASE_RESOURCE_REQUEST, RESOURCE_LOCATOR_ID, REST_LOGGER, RESTSESSION, RETAINMBOS, ROOTONLY, RSSTART, SESSION_OSMSGTYPE, STARTSSWITH, TENANTCODE, TIMEZONE, USE_LOCATION_FOR_CREATE, USE_SESSION_FOR_COLLECTION, USE_TOTAL_COUNT, USER_WHERE, USER_WHERE_POLICY_ALLOW, USER_WHERE_POLICY_BLOCK, USER_WHERE_POLICY_PARSE, USEROWSTAMP, VALIDATE_XML_TEXT, VERBOSE
Constructor and Description |
---|
ServiceMethodResponseSerializer() |
Modifier and Type | Method and Description |
---|---|
abstract byte[] |
getOperations(Resource resource) |
abstract byte[] |
getServices() |
ResourceResponse |
serialize(Resource res,
ResourceRequest req) |
ResourceResponse |
serializeResource(Resource resource,
ResourceRequest request) |
public ResourceResponse serialize(Resource res, ResourceRequest req) throws java.rmi.RemoteException, MXException
serialize
in interface ResourceSerializer
res
- the resource to be serializedreq
- the REST requestjava.rmi.RemoteException
MXException
public ResourceResponse serializeResource(Resource resource, ResourceRequest request) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public abstract byte[] getOperations(Resource resource) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public abstract byte[] getServices() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException