| Modifier and Type | Method | Description |
|---|---|---|
Request |
EventContent.request() |
Get the request that generated the event.
|
Request |
Request.withAddr(String addr) |
Set the IP or hostname and possibly port of the client connection that initiated the event.
|
Request |
Request.withHost(String host) |
Set the externally accessible hostname of the registry instance, as specified by the http host header on incoming requests.
|
Request |
Request.withId(String id) |
Set the ID of the request that initiated the event.
|
Request |
Request.withMethod(String method) |
Set the request method that generated the event.
|
Request |
Request.withUseragent(String useragent) |
Set the user agent header of the request.
|
| Modifier and Type | Method | Description |
|---|---|---|
EventContent |
EventContent.withRequest(Request request) |
Set the request that generated the event.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/