public class EventRequestMessage extends Object
| Constructor | Description |
|---|---|
EventRequestMessage() |
| Modifier and Type | Method | Description |
|---|---|---|
EventContent |
content() |
Get the content of the event request message.
|
Map<String,String> |
headers() |
Get the headers of the event request message.
|
String |
method() |
Get the HTTP method used to send the event request message.
|
String |
requestUri() |
Get the URI used to send the event request message.
|
String |
version() |
Get the HTTP message version.
|
EventRequestMessage |
withContent(EventContent content) |
Set the content of the event request message.
|
EventRequestMessage |
withHeaders(Map<String,String> headers) |
Set the headers of the event request message.
|
EventRequestMessage |
withMethod(String method) |
Set the HTTP method used to send the event request message.
|
EventRequestMessage |
withRequestUri(String requestUri) |
Set the URI used to send the event request message.
|
EventRequestMessage |
withVersion(String version) |
Set the HTTP message version.
|
public EventContent content()
public EventRequestMessage withContent(EventContent content)
content - the content value to setpublic Map<String,String> headers()
public EventRequestMessage withHeaders(Map<String,String> headers)
headers - the headers value to setpublic String method()
public EventRequestMessage withMethod(String method)
method - the method value to setpublic String requestUri()
public EventRequestMessage withRequestUri(String requestUri)
requestUri - the requestUri value to setpublic String version()
public EventRequestMessage 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.
*/