public final class VoidResponse extends RestResponse<Void,Void>
| Constructor and Description |
|---|
VoidResponse(HttpRequest request,
int statusCode,
Map<String,String> rawHeaders)
Creates a VoidResponse.
|
| Modifier and Type | Method and Description |
|---|---|
Void |
body() |
Void |
headers()
Always returns null due to no headers type being defined in the service specification.
|
rawHeaders, request, statusCodepublic VoidResponse(HttpRequest request, int statusCode, Map<String,String> rawHeaders)
request - the request which resulted in this VoidResponsestatusCode - the status code of the HTTP responserawHeaders - the raw headers of the HTTP responsepublic Void headers()
RestResponse.rawHeaders().headers in class RestResponse<Void,Void>public Void body()
body in class RestResponse<Void,Void>/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/