P E N C I L
Login
Jersey general
  1. Response.Status.REQUEST_TIMEOUT
  2. AsyncResponse.resume(Response.ok().cookie(newCookie).entity(Entity.text(urlid)).build())
  3. @CookieParam()
  4. HttpRequest
    https://jersey.java.net/documentation/latest/jaxrs-resources.html
    When deploying a JAX-RS application using servlet then ServletConfig, ServletContext, HttpServletRequest and HttpServletResponse are available using
    @Context HttpServletRequest request
  5. Instance
    A new instance of resource is created for each request (by default)
    https://jersey.java.net/documentation/latest/jaxrs-resources.html#d0e1851
  6. Return
    1. Object
    2. Response
    3. StreamingOutput: return binary data as stream