public class ServletUtils extends Object
| Constructor and Description |
|---|
ServletUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Request |
getInternalRequest(javax.servlet.http.HttpServletRequest servletRequest)
Returns internal Grizzly
Request associated with the passed
HttpServletRequest. |
static Response |
getInternalResponse(javax.servlet.http.HttpServletResponse servletResponse)
Returns internal Grizzly
Response associated with the passed
HttpServletResponse. |
public static Request getInternalRequest(javax.servlet.http.HttpServletRequest servletRequest)
Request associated with the passed
HttpServletRequest.servletRequest - HttpServletRequestRequest associated with the passed
HttpServletRequest.IllegalArgumentException - if passed HttpServletRequest
is not based on Grizzly Request.public static Response getInternalResponse(javax.servlet.http.HttpServletResponse servletResponse)
Response associated with the passed
HttpServletResponse.servletResponse - HttpServletResponseResponse associated with the passed
HttpServletResponse.IllegalArgumentException - if passed HttpServletResponse
is not based on Grizzly Response.Copyright © 2023 Oracle Corporation. All Rights Reserved.