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