public abstract class AbstractRestService
extends com.ibm.xsp.extlib.component.rest.CustomServiceBean
Modifier and Type | Field and Description |
---|---|
Map<String,IRestAction> |
actions |
Map<String,IRestMethod> |
methods |
Constructor and Description |
---|
AbstractRestService() |
Modifier and Type | Method and Description |
---|---|
void |
addAction(IRestAction action) |
void |
addMethod(IRestMethod method) |
protected abstract void |
initActionsAndMethods() |
void |
renderService(com.ibm.xsp.extlib.component.rest.CustomService customService,
com.ibm.domino.services.rest.RestServiceEngine engine) |
boolean |
useHTTPStatusForError() |
public final Map<String,IRestMethod> methods
public final Map<String,IRestAction> actions
protected abstract void initActionsAndMethods()
public void renderService(com.ibm.xsp.extlib.component.rest.CustomService customService, com.ibm.domino.services.rest.RestServiceEngine engine) throws com.ibm.domino.services.ServiceException
renderService
in class com.ibm.xsp.extlib.component.rest.CustomServiceBean
com.ibm.domino.services.ServiceException
public boolean useHTTPStatusForError()
public void addAction(IRestAction action)
public void addMethod(IRestMethod method)
Copyright © 2021. All Rights Reserved.