public class ServletUtils extends Object
| Constructor and Description |
|---|
ServletUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.glassfish.grizzly.http.server.Request |
getInternalRequest(javax.servlet.http.HttpServletRequest servletRequest)
Returns internal Grizzly
Request associated with the passed
HttpServletRequest. |
static org.glassfish.grizzly.http.server.Response |
getInternalResponse(javax.servlet.http.HttpServletResponse servletResponse)
Returns internal Grizzly
Response associated with the passed
HttpServletResponse. |
public static org.glassfish.grizzly.http.server.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 org.glassfish.grizzly.http.server.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.