You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Take into account Restlet Framework documentation issues #3
Hi @marti1125 , if I understand well, you point the fact that the toString method is simply annotated with the @get annotation whithout any parameter, whereas you would like to add the "json" parameter?
Activity
marti1125 commentedon Mar 19, 2015
Hi I found an issue about tutorial
http://restlet.com/technical-resources/restlet-framework/tutorials/2.3#part01
@get("json")
public String toString() {
return "hello, world";
}
thboileau commentedon Mar 19, 2015
Hi @marti1125 , if I understand well, you point the fact that the
toStringmethod is simply annotated with the @get annotation whithout any parameter, whereas you would like to add the "json" parameter?marti1125 commentedon Mar 19, 2015
yes it works but I see an error so I decided to add "json"

thboileau commentedon Mar 19, 2015
Thanks @marti1125 , I've added the "txt" parameter which is better than "json".
marti1125 commentedon Mar 19, 2015
👍 how to I can deploy a maven java app ?