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