public class WebSocketMetadataClient extends Object implements MetadataApi
| Constructor and Description |
|---|
WebSocketMetadataClient(URI uri) |
| Modifier and Type | Method and Description |
|---|---|
void |
onMessage(Response response) |
Future<Response> |
sendBinary(byte[] attachment) |
Future<Response> |
sendHeader(String repoUrl,
String rev,
String branch,
String group) |
Future<Response> |
sendMetadata(String path,
int location,
String mimeType) |
Future<Response> |
sendStackTrace(String path,
int location,
String stackTrace) |
Future<Response> |
sendTestCaseResult(String path,
int location,
Status status) |
Future<Response> |
sendTestStepResult(String path,
int location,
Status status) |
public WebSocketMetadataClient(URI uri) throws URISyntaxException, IOException, javax.websocket.DeploymentException
URISyntaxExceptionIOExceptionjavax.websocket.DeploymentExceptionpublic Future<Response> sendHeader(String repoUrl, String rev, String branch, String group)
sendHeader in interface MetadataApipublic Future<Response> sendTestStepResult(String path, int location, Status status)
sendTestStepResult in interface MetadataApipublic Future<Response> sendTestCaseResult(String path, int location, Status status)
sendTestCaseResult in interface MetadataApipublic Future<Response> sendStackTrace(String path, int location, String stackTrace)
sendStackTrace in interface MetadataApipublic Future<Response> sendMetadata(String path, int location, String mimeType)
sendMetadata in interface MetadataApipublic Future<Response> sendBinary(byte[] attachment)
sendBinary in interface MetadataApipublic void onMessage(Response response) throws InterruptedException
InterruptedExceptionCopyright © 2014. All Rights Reserved.