Methods
Modifier and Type |
Method and Description |
boolean |
checkReadOnly(ARTURIResource res,
Project<?> project) |
boolean |
checkWritable(ARTURIResource res,
Project<?> project) |
boolean |
checkWritable(RDFModel model,
ARTResource res,
ARTResource graph) |
XMLResponseREPLY |
createBooleanResponse(String request,
boolean resp)
creates a response with a single boolean value returned
|
XMLResponseERROR |
createErrorResponse(String request,
String msg) |
ResponseProblem |
createErrorResponse(String request,
String msg,
ServiceVocabulary.SerializationType ser_type)
produces an xml document telling the client that some error has occurred
|
ResponseProblem |
createExceptionResponse(String request,
ModelAccessException e) |
ResponseProblem |
createExceptionResponse(String request,
ModelAccessException e,
ARTResource subj,
ARTURIResource pred,
ARTNode obj) |
ResponseProblem |
createExceptionResponse(String request,
ModelAccessException e,
ARTResource subj,
ARTURIResource pred,
ARTNode obj,
ServiceVocabulary.SerializationType ser_type) |
ResponseProblem |
createExceptionResponse(String request,
ModelAccessException e,
ServiceVocabulary.SerializationType ser_type) |
ResponseProblem |
createExceptionResponse(String request,
ModelUpdateException e) |
ResponseProblem |
createExceptionResponse(String request,
ModelUpdateException e,
ServiceVocabulary.SerializationType ser_type) |
XMLResponseEXCEPTION |
createExceptionResponse(String request,
String msg)
produces an xml document telling the client that some exception has occurred
|
ResponseProblem |
createExceptionResponse(String request,
String msg,
ServiceVocabulary.SerializationType ser_type)
produces a response (xml,json) telling the client that some exception has occurred
|
XMLResponseREPLY |
createIntegerResponse(String request,
int value)
creates a response with a single integer value returned
|
XMLResponseEXCEPTION |
createMalformedURIExceptionResponse(String request,
MalformedURIException e) |
ResponseProblem |
createMalformedURIExceptionResponse(String request,
MalformedURIException e,
ServiceVocabulary.SerializationType ser_type) |
XMLResponseEXCEPTION |
createNoSuchHandlerExceptionResponse(String request) |
ResponseProblem |
createNoSuchHandlerExceptionResponse(String request,
ServiceVocabulary.SerializationType ser_type) |
XMLResponseREPLY |
createReplyFAIL(String request,
String message) |
ResponseREPLY |
createReplyFAIL(String request,
String message,
ServiceVocabulary.SerializationType ser_type) |
XMLResponseREPLY |
createReplyResponse(String request,
ServiceVocabulary.RepliesStatus status) |
ResponseREPLY |
createReplyResponse(String request,
ServiceVocabulary.RepliesStatus status,
ServiceVocabulary.SerializationType ser_type) |
XMLResponseREPLY |
createReplyResponse(String request,
ServiceVocabulary.RepliesStatus status,
String message) |
ResponseREPLY |
createReplyResponse(String request,
ServiceVocabulary.RepliesStatus status,
String message,
ServiceVocabulary.SerializationType ser_type) |
XMLResponseEXCEPTION |
createUndefinedHttpParameterExceptionResponse(String request,
HTTPParameterUnspecifiedException e) |
ResponseProblem |
createUndefinedHttpParameterExceptionResponse(String request,
HTTPParameterUnspecifiedException e,
ServiceVocabulary.SerializationType ser_type) |
Element |
createValueElement(XMLResponseREPLY response,
String type)
creates an element to host a single typed value in a response
|
String |
decodeLabel(String label)
Sostituisce i codici %3A %2F rispettivamente con : e /
|
String |
encodeLabel(String label)
Sostituisce i caratteri : e / con i rispettivi codici ascii
|
static ServletUtilities |
getService() |
String |
removeInstNumberParentheses(String label)
Sostituisce i codici %3A %2F rispettivamente con : e /
|