public class RestServiceUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
MESSAGE_PROPERTY_TASK_NAME |
Constructor and Description |
---|
RestServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static javax.ws.rs.core.Response |
buildErrorResponse(javax.ws.rs.core.Response.Status status,
Exception ex) |
static javax.ws.rs.core.Response |
buildErrorResponse(javax.ws.rs.core.Response.Status status,
String message) |
static void |
finishRequest(Task task,
SecurityHelper securityHelper) |
static ModelExecuteOptions |
getOptions(javax.ws.rs.core.UriInfo uriInfo) |
static javax.ws.rs.core.Response |
handleException(Exception ex) |
static Task |
initRequest(org.apache.cxf.jaxrs.ext.MessageContext mc) |
public static final String MESSAGE_PROPERTY_TASK_NAME
public static javax.ws.rs.core.Response handleException(Exception ex)
public static javax.ws.rs.core.Response buildErrorResponse(javax.ws.rs.core.Response.Status status, Exception ex)
public static javax.ws.rs.core.Response buildErrorResponse(javax.ws.rs.core.Response.Status status, String message)
public static ModelExecuteOptions getOptions(javax.ws.rs.core.UriInfo uriInfo)
public static Task initRequest(org.apache.cxf.jaxrs.ext.MessageContext mc)
public static void finishRequest(Task task, SecurityHelper securityHelper)
Copyright © 2016 evolveum. All rights reserved.