EventResponseMessage Class
- java.
lang. Object - com.
microsoft. azure. management. containerregistry. EventResponseMessage
- com.
public class EventResponseMessage
The event response message received from the service URI.
Constructor Summary
Constructor | Description | |
---|---|---|
EventResponseMessage() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
content()
Get the content of the event response message. |
java.util.Map<java.lang.String,java.lang.String> |
headers()
Get the headers of the event response message. |
java.lang.String |
reasonPhrase()
Get the reason phrase of the event response message. |
java.lang.String |
statusCode()
Get the status code of the event response message. |
java.lang.String |
version()
Get the HTTP message version. |
Event |
withContent(String content)
Set the content of the event response message. |
Event |
withHeaders(Map<String,String> headers)
Set the headers of the event response message. |
Event |
withReasonPhrase(String reasonPhrase)
Set the reason phrase of the event response message. |
Event |
withStatusCode(String statusCode)
Set the status code of the event response message. |
Event |
withVersion(String version)
Set the HTTP message version. |
Methods inherited from java.lang.Object
Constructor Details
EventResponseMessage
public EventResponseMessage()
Method Details
content
public String content()
Get the content of the event response message.
Returns:
headers
public Map
Get the headers of the event response message.
Returns:
reasonPhrase
public String reasonPhrase()
Get the reason phrase of the event response message.
Returns:
statusCode
public String statusCode()
Get the status code of the event response message.
Returns:
version
public String version()
Get the HTTP message version.
Returns:
withContent
public EventResponseMessage withContent(String content)
Set the content of the event response message.
Parameters:
Returns:
withHeaders
public EventResponseMessage withHeaders(Map
Set the headers of the event response message.
Parameters:
Returns:
withReasonPhrase
public EventResponseMessage withReasonPhrase(String reasonPhrase)
Set the reason phrase of the event response message.
Parameters:
Returns:
withStatusCode
public EventResponseMessage withStatusCode(String statusCode)
Set the status code of the event response message.
Parameters:
Returns:
withVersion
public EventResponseMessage withVersion(String version)
Set the HTTP message version.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for