restlet-framework-java
restlet-framework-java copied to clipboard
The first REST API framework for Java
`JettyClientCall.sendRequest()` is randomly reporting error status code responses (e.g. HTTP 401) as 1001 Communication Error. This is occurring, because it is using `org.eclipse.jetty.client.util.InputStreamResponseListener.get()` which is documented to only wait for...
In class `MethodAnnotationInfo#getVariants`, there's a check `result.contains(mediaType)` where result is a list of Variant and mediaType a MediaType. The types are imcompatible, meaning this check can never return true. It...
``` java if (FORMAT_RFC_3339.get(0).equals(format)) { formatter = new InternetDateFormat(TIMEZONE_GMT); } else { formatter = new java.text.SimpleDateFormat(format, java.util.Locale.US); formatter.setTimeZone(TIMEZONE_GMT); } ``` The line "SimpleDateFormat" causes a really bad performance android devices:...
org.restlet.jee:org.restlet.ext.swagger:jar:2.3.2 has a dependency on: com.wordnik:swagger-models:jar:1.5.3-M1 com.wordnik:swagger-annotations:jar:1.5.3-M1 But swagger-annotations-1.5.3 has changed the ApiOperation.tags from: String tags() to String[] tags() As a result, the code in: ``` java org.restlet.ext.apispark.internal.introspection.helper.SwaggerAnnotationUtils public static...
I have a resource subclass that provides HTML and JSON representations using `@Get("html")` and `@Get("json")` annotations. In Java 8, the correct representation is returned based on the value of the...
FAILURE: Build failed with an exception. * What went wrong: Could not resolve all files for configuration ':compileClasspath'. > Could not find org.raml:raml-parser:0.8.7. Searched in the following locations: https://jcenter.bintray.com/org/raml/raml-parser/0.8.7/raml-parser-0.8.7.pom https://jcenter.bintray.com/org/raml/raml-parser/0.8.7/raml-parser-0.8.7.jar...
Hi there, first of all, thank you for restlet! It has been an awesome ride thus far. My question, are there any plans to support GWT 2.8.0 any time soon...
The application is executed in Tomcat 8 using the Servlet connector, behind an Apache HTTPD which is configured as reverse proxy. The reverse proxy sets the X-Forwarded-For header correctly, but...
When deploying a restlet application inside of a docker container to a k8s cluster behind the nginx l7 ingress controller HTTP POST actions return a 422 error. If you expose...