public class RestUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DROP_DOWN_ITEM_LIMIT |
Modifier and Type | Method and Description |
---|---|
static com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper() |
static javax.ws.rs.core.Response |
getResponse(javax.ws.rs.core.Response.Status status) |
static javax.ws.rs.core.Response |
getResponse(javax.ws.rs.core.Response.Status status,
Object entity) |
static User |
getUser(org.jboss.resteasy.spi.HttpRequest request) |
public static final String DROP_DOWN_ITEM_LIMIT
public static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
public static javax.ws.rs.core.Response getResponse(javax.ws.rs.core.Response.Status status, Object entity)
public static javax.ws.rs.core.Response getResponse(javax.ws.rs.core.Response.Status status)
public static User getUser(org.jboss.resteasy.spi.HttpRequest request)
Copyright © 2015–2019. All rights reserved.