Este contenido no está disponible en el idioma seleccionado.

17.27. ModeShape REST Client API


The ModeShape REST Client API provides a way of using the ModeShape REST web service to publish (upload) and unpublish (delete) files from ModeShape repositories. Java objects open the HTTP connection, create the HTTP request URLs, attach the payload associated with PUT and POST requests, parse the HTTP JSON response back into Java objects, and close the HTTP connection.
The eds/modeshape/client/modeshape-client.jar JAR file contains the ModeShape REST Client API.
The org.modeshape.web.jcr.rest.client.domain package contains the following required objects:
  • Server - hosts one or more ModeShape JCR repositories,
  • Repository - a ModeShape JCR repository containing one or more workspaces, and
  • Workspace - a ModeShape JCR repository workspace.
Publish and unpublish operations are performed using a class that implements the org.modeshape.web.jcr.rest.client.IRestClient interface.

Note

The only included implementation of IRestClient is org.modeshape.web.jcr.rest.client.json.JsonRestClient which uses JSON as its data format.
Volver arriba
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2025 Red Hat