public class EventRequestMessage extends Object
| Constructor and Description | 
|---|
| EventRequestMessage() | 
| Modifier and Type | Method and 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 setCopyright © 2019. All rights reserved.