public final class ServletUtils
extends java.lang.Object
Constructor and Description |
---|
ServletUtils() |
Modifier and Type | Method and Description |
---|---|
static javax.servlet.http.HttpServletRequest |
getRequest(Request request)
Returns the Servlet request that was used to generate the given Restlet
request.
|
static javax.servlet.http.HttpServletResponse |
getResponse(Response response)
Returns the Servlet response that was used to generate the given Restlet
response.
|
public static javax.servlet.http.HttpServletRequest getRequest(Request request)
request
- The Restlet request.public static javax.servlet.http.HttpServletResponse getResponse(Response response)
response
- The Restlet response.Copyright © 2005-2020 Restlet.