Class RequestValidator
- java.lang.Object
-
- org.nuxeo.elasticsearch.http.readonly.filter.RequestValidator
-
public class RequestValidator extends Object
Validate request inputs.- Since:
- 7.3
-
-
Field Summary
Fields Modifier and Type Field Description protected static com.fasterxml.jackson.databind.ObjectMapper
OBJECT_MAPPER
-
Constructor Summary
Constructors Constructor Description RequestValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
checkAccess(NuxeoPrincipal principal, String docAcl)
void
checkValidDocumentId(String documentId)
String
getIndices(String indices)
String
getPayload(String payload)
String
getTypes(String indices, String types)
Deprecated, for removal: This API element is subject to removal in a future version.since 11.4, types have been removed since Elasticsearch 7.x
-
-
-
Method Detail
-
checkValidDocumentId
public void checkValidDocumentId(String documentId)
-
getTypes
@Deprecated(since="11.4", forRemoval=true) @NotNull public String getTypes(String indices, String types)
Deprecated, for removal: This API element is subject to removal in a future version.since 11.4, types have been removed since Elasticsearch 7.x
-
checkAccess
public void checkAccess(NuxeoPrincipal principal, String docAcl)
-
-