Class AbstractResource
java.lang.Object
org.wso2.charon3.impl.provider.resources.AbstractResource
- All Implemented Interfaces:
org.wso2.msf4j.Microservice
- Direct Known Subclasses:
GroupResource,UserResource
Endpoint parent class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsebuildResponse(org.wso2.charon3.core.protocol.SCIMResponse scimResponse) protected javax.ws.rs.core.ResponsehandleCharonException(org.wso2.charon3.core.exceptions.CharonException e, org.wso2.charon3.core.encoder.JSONEncoder encoder) protected javax.ws.rs.core.ResponsehandleFormatNotSupportedException(org.wso2.charon3.core.exceptions.FormatNotSupportedException e) booleanisValidInputFormat(String format) booleanisValidOutputFormat(String format)
-
Constructor Details
-
AbstractResource
public AbstractResource()
-
-
Method Details
-
isValidOutputFormat
-
isValidInputFormat
-
handleCharonException
protected javax.ws.rs.core.Response handleCharonException(org.wso2.charon3.core.exceptions.CharonException e, org.wso2.charon3.core.encoder.JSONEncoder encoder) -
handleFormatNotSupportedException
protected javax.ws.rs.core.Response handleFormatNotSupportedException(org.wso2.charon3.core.exceptions.FormatNotSupportedException e) -
buildResponse
public javax.ws.rs.core.Response buildResponse(org.wso2.charon3.core.protocol.SCIMResponse scimResponse)
-