public class EventResponseMessage extends Object
| Constructor | Description |
|---|---|
EventResponseMessage() |
| Modifier and Type | Method | Description |
|---|---|---|
String |
content() |
Get the content of the event response message.
|
Map<String,String> |
headers() |
Get the headers of the event response message.
|
String |
reasonPhrase() |
Get the reason phrase of the event response message.
|
String |
statusCode() |
Get the status code of the event response message.
|
String |
version() |
Get the HTTP message version.
|
EventResponseMessage |
withContent(String content) |
Set the content of the event response message.
|
EventResponseMessage |
withHeaders(Map<String,String> headers) |
Set the headers of the event response message.
|
EventResponseMessage |
withReasonPhrase(String reasonPhrase) |
Set the reason phrase of the event response message.
|
EventResponseMessage |
withStatusCode(String statusCode) |
Set the status code of the event response message.
|
EventResponseMessage |
withVersion(String version) |
Set the HTTP message version.
|
public String content()
public EventResponseMessage withContent(String content)
content - the content value to setpublic Map<String,String> headers()
public EventResponseMessage withHeaders(Map<String,String> headers)
headers - the headers value to setpublic String reasonPhrase()
public EventResponseMessage withReasonPhrase(String reasonPhrase)
reasonPhrase - the reasonPhrase value to setpublic String statusCode()
public EventResponseMessage withStatusCode(String statusCode)
statusCode - the statusCode value to setpublic String version()
public EventResponseMessage withVersion(String version)
version - the version value to set /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/