MAC CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>

7-DAY TOP DOWNLOAD

#
Program
iPhone and iPod
Firmware 3.1.2

15,894
Internet Explorer
5.2.3

6,813
aMule 2.2.6
3,920
RAR Expander 0.8.5
Beta 3 / 0.8.4

3,657
Apple GarageBand
Update 5.1

3,649
Toast Titanium
10.0.4

3,542
aMSN 0.98.1
3,378
Apple iLife '09
3,317
Matlab 7.9
3,035
Kid Pix Deluxe 3X
Update 1.2.4

2,977

WEEK'S BEST

  • VueScan 8.5.39
  • Opera 10.10 Build ...
  • Dropbox 0.7.73 RC ...
  • Adobe Lightroom 3....
  • Google Earth 5.1.3...
  • Camino 2.0
  • Vuze (formerly Azu...
  • Safari 4.0.4
  • OnyX 2.1.1
  • FileZilla 3.3.0.1
  • Quicksilver 1.0 Be...
  • Cocktail 4.6.1
  • Picasa 3.5.2.90
  • Adobe Shockwave Pl...
  • VLC Media Player 1...
  • LimeWire X 5.4.1 B...
  • Apple iTunes 9.0.2
  • VirtualBox 3.1.0 B...
  • FileZilla 3.3.0.1
  • Mozilla Firefox 3....
  • aMSN 0.98.1
  • NeoOffice 3.0.1 Pa...
  • VMware Fusion 3.0....
  • Quinn 3.5.7
  • App Store Expense ...
  • Ableton Live 8.0.9
  • Parallels Desktop ...
  • Alarm Clock Pro 9....
  • Dock Spaces 3.10
  • Dropbox 0.7.73 RC ...
  • Home / Mac / Development / Java
     Report spyware

    Restly 0.3

    Download button

    No screenshots available
    Downloads: 25  Add to download basket  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Size / OS:

    Binary Format:

    Last Updated:

    Category:
    Erik Beeson | More programs
    BSD / FREE
    2 MB / Mac OS X
    Universal Binary Universal Binary
    November 16th, 2009, 20:54 GMT
    C: \ Development \ Java

     Read user reviews (0)  Add a review  Refer to a friend  Subscribe

     

    Restly description

     

    A simple REST framework for Java

    Simply put, Restly is an easy-to-use framework for building RESTful webservices in Java.

    So far, Restly includes 2 representations:
     · StringRepresentation: returns the given String as the entity body and sets the content type to text/plain
     · SerializedRepresentation: takes an object and serializes it with XStream as text/xml or application/json, depending on the provided Accept request header.



    Here are some key features of "Restly":

    · Resources are represented by Classes identified with a @Resource("...") annotation and automatically discovered from the WEB-INF/classes directory.
    · Parameter to @Resource is the path that the resource is bound to, supporting templating with {...}.
    · HTTP methods map to methods on the resource class and MAY return an instance of a Representation, which will get returned to the client.
    · Automatically converts HEAD requests to a GET request and suppresses the output of the entity body.
    · Automatically enumerates available methods and responds to OPTIONS requests.
    · Request parameters, request attributes, Resource path attributes, and HttpServletRequest/HttpServletResponse objects automatically injected by name into fields on the Resource class. For security, request parameters will only be injected into public fields.
    · Resource level and method level interceptors by means of decoration with @InterceptedBy(...) annotation. Interceptor interface defines methods called before and after execution of the resource method.
    Before interceptor returns:
    · InterceptorChain.next Continue processing the next Interceptor or resource method.
    · Representation Halt all further execution of interceptors or resource method and return this Representation to client.
    · null Halt all further execution of interceptors and moves on to execute resource method.
    · After interception takes the Representation return from the resource method, and returns a Representation (either the same as the one passed in, or a different one).
    · Fields can be decorated with OVal annotations which will be checked before invoking the method, and errors will be reported to the client automatically with descriptions serialized in requested format in entity body and appropriate status code set.
    · Tunnels PUT and DELETE through POST using either an HTTP header (X-HTTP-Method-Override) or a parameter (method-override).
    · Negotiates content type via Accept header. Automatically checks for XML or JSON. Might make this configurable at some point.
    · Correctly sets response codes based on various kinds of detectable errors (Method Not Allowed, Unsupported Media Type, Bad Request).
    · By default, when SerializedRepresentation outputs XML, it includes a stylesheet based on resource class name, method name, and a configurable base URL. May be excluded by passing null as second parameter to constructor.

    Requirements:

    · Java

     


    TAGS:

    REST framework | RESTful webservices | convert HEAD request | REST | framework | RESTful



    HTML code for linking to this page:


    Go to top

    Windows tabGames tabDrivers tabMac tabLinux tabScripts tabMobile tabHandheld tabGadgets tabNews tab

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   ENTER NEWS SITE   |   ENGLISH BOARD   |   ROMANIAN FORUM