public class RContext extends Object
| Constructor and Description |
|---|
RContext() |
RContext(URequest uRequest) |
RContext(URequest uRequest,
Appendable writer) |
| Modifier and Type | Method and Description |
|---|---|
String |
getParameter(@NotNull String key)
Returns the last parameter, or the null value.
|
String |
getParameter(@NotNull String key,
String defaultValue)
Returns the last parameter
|
Set<String> |
getParameterNames()
Returns the parameter names
|
static RContext |
of()
UContext from a map
|
static RContext |
of(ManyMap map)
UContext from a map
|
static RContext |
ofServlet(@Nullable Object httpServletRequest,
@NotNull Object httpServletResponse)
HTTP Servlet Factory
|
static RContext |
ofServletResponse(Object httpServletResponse)
HTTP Servlet Factory
|
URequest |
request() |
Appendable |
writer() |
public static final Charset CHARSET
public RContext(URequest uRequest, Appendable writer)
public RContext(URequest uRequest)
public RContext()
public URequest request()
public Appendable writer()
public String getParameter(@NotNull @NotNull String key)
public String getParameter(@NotNull @NotNull String key, String defaultValue)
public static RContext ofServletResponse(Object httpServletResponse)
public static RContext ofServlet(@Nullable @Nullable Object httpServletRequest, @NotNull @NotNull Object httpServletResponse)
public static RContext of()
Copyright 2015, Pavel Ponec