public class ResponseHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static javax.ws.rs.core.Response |
getOutboundResponse(javax.ws.rs.core.Response.Status status,
Object entity,
String contentType,
Map<String,String> headers)
Helper to build an outbound Response (mocking remote client response object)
|
public static javax.ws.rs.core.Response getOutboundResponse(javax.ws.rs.core.Response.Status status,
Object entity,
String contentType,
Map<String,String> headers)
status - the status of responseentity - could be nullcontentType - could be nullheaders - could be nullCopyright © 2018 Vitam. All rights reserved.