[Glass] REST first steps
Philippe Marschall
philippe.marschall at gmail.com
Fri May 2 09:32:07 PDT 2014
On Fri, May 2, 2014 at 2:44 AM, BrunoBB <smalltalk at adinet.com.uy> wrote:
> Hi,
> (i'm using JADE client)
>
> Yes, i think i have loaded incorrect version packages.
>
> GemStone version: 3.1.04
> Seaside (ConfigurationOfSeaside30):
> (from http://seaside.gemstone.com/ss/Seaside30)
> + Seaside-Core-gemstone: dkh.769
> + Seaside-GemStone300-Core: DaleHenrichs.4
> + Seaside-Gemstone-Core: dkh.63
> (from http://www.squeaksource.com/Seaside30Addons)
> + Seaside-GemStone-REST-Core: topa.2
>
> Any other info that you may need ?
>
> WAOrbeonServiceHandler (subclass of WARestfulHandler):
> createRoutes
> ^ WAPragmaBasedRouteBuilder createRoutesFor: self class
> list
> <get>
> self requestContext respond: [ :response |
> response contentType: 'text/plain'.
> response
> nextPutAll: 'TEST';
> nextPutAll: String crlf ]
>
> WAOrbeonPragmaServiceHandler (subclass of WAPragmaBasedRestfulHandler):
> list
> <get>
> self requestContext respond: [ :response |
> response contentType: 'text/plain'.
> response
> nextPutAll: 'TEST';
> nextPutAll: String crlf ]
try
WAOrbeonPragmaServiceHandler (subclass of WAPragmaBasedRestfulHandler):
list
<get>
<path: ''>
or
WAOrbeonPragmaServiceHandler (subclass of WAPragmaBasedRestfulHandler):
list
<get>
<path: '/'>
Cheers
Philippe
More information about the Glass
mailing list