public final class RenderingContextWebUtils extends Object
RenderingContext
from the current HttpServletRequest
.Modifier and Type | Method and Description |
---|---|
static RenderingContextImpl.RenderingContextBuilder |
fillContext(RenderingContextImpl.RenderingContextBuilder builder,
javax.servlet.ServletRequest request)
Fill an existing with the current
HttpServletRequest . |
static RenderingContextImpl.RenderingContextBuilder |
getBuilder(javax.servlet.ServletRequest request)
Create an
RenderingContextImpl.RenderingContextBuilder , fill it with the current HttpServletRequest and return it. |
static RenderingContext |
getContext(javax.servlet.ServletRequest request)
Get the current context in the current
HttpServletRequest or create it from the current
HttpServletRequest . |
public static RenderingContext getContext(javax.servlet.ServletRequest request)
HttpServletRequest
or create it from the current
HttpServletRequest
.public static RenderingContextImpl.RenderingContextBuilder getBuilder(javax.servlet.ServletRequest request)
RenderingContextImpl.RenderingContextBuilder
, fill it with the current HttpServletRequest
and return it.public static RenderingContextImpl.RenderingContextBuilder fillContext(RenderingContextImpl.RenderingContextBuilder builder, javax.servlet.ServletRequest request)
HttpServletRequest
.Copyright © 2015 Nuxeo SA. All rights reserved.