public class RestManager extends Object
| Modifier and Type | Method and Description |
|---|---|
static RestManager |
getInstance(String soa3Endpoint) |
static void |
main(String[] args) |
String |
sendMessage(String path,
Map<String,String> headers,
String body,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MediaType acceptMediaType)
Sends the message
|
public static RestManager getInstance(String soa3Endpoint)
public String sendMessage(String path, Map<String,String> headers, String body, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MediaType acceptMediaType)
path - the path of the callheaders - the headers mapbody - the body of the messagemediaType - the media typetype - the response typepublic static void main(String[] args)
Copyright © 2015. All Rights Reserved.