Some time ago we moved to using Spring controllers for our REST API; so any
documentation on how to do REST in spring should be of assistance.

It is also helpful to look at some of the other controllers as an example.

The controller for Resource is relative simple:
https://github.com/geoserver/geoserver/blob/main/src/restconfig/src/main/java/org/geoserver/rest/resources/ResourceController.java

Methods that do things are marked with @RequestMapping annotations.
--
Jody Garnett


On Mon, Jan 30, 2023 at 6:27 AM mohsen saber <mohsensabe...@gmail.com>
wrote:

> Hi,
> I'm using the latest Version of GeoServer (2.23.0). I want to test some
> REST modules of mine on GeoServer. I built the executable file of GeoServer
> from source using eclipse and maven. Now I realized that new versions of
> GeoServer are different from GeoServer Developers Documentations. For
> example, to implement a RESTful service in Geoserver we need a class named
> org.geoserver.rest.AbstractResource which I couldn't find such class in the
> newer releases of GeoServer. Is there any special documentation that I
> could use for implementing RESTful services in GeoServer?
>
> _______________________________________________
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to