I use restlet2.2+eclipse+tomcat to deploy my webservice, but the method of @Get needs a lot of time to perform.When I put the URL in the explorer, after a period of time, the explorer cant't reponse due to timeout.What should I do
Depending on the HTTP connector you are using, you can configure properties to increase the socket timeout. Check the Javadocs of the HttpServerHelper classes (Jetty / Simple extensions) for guidance.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more