@Generated(value="org.immutables.processor.ProxyProcessor") public final class HttpStartStop extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpStartStop.Builder
Builds instances of type
HttpStartStop. |
| Modifier and Type | Method and Description |
|---|---|
static HttpStartStop.Builder |
builder()
Creates a builder for
HttpStartStop. |
boolean |
equals(Object another)
This instance is equal to all instances of
HttpStartStop that have equal attribute values. |
static HttpStartStop |
from(org.cloudfoundry.dropsonde.events.HttpStartStop dropsonde) |
UUID |
getApplicationId()
The application id
|
Long |
getContentLength()
The length of the response in bytes
|
List<String> |
getForwarded()
The http forwarded-for [x-forwarded-for] header from the request
|
String |
getInstanceId()
The ID of the application instance
|
Integer |
getInstanceIndex()
The index of the application instance
|
Method |
getMethod()
The method of the request
|
PeerType |
getPeerType()
The role of the emitting process in the request cycle
|
String |
getRemoteAddress()
The remote address of the request.
|
UUID |
getRequestId()
The ID for tracking lifecycle of request.
|
Long |
getStartTimestamp()
The UNIX timestamp (in nanoseconds) when the request was sent (by a client) or received (by a server)
|
Integer |
getStatusCode()
The status code returned with the response to the request
|
Long |
getStopTimestamp()
The UNIX timestamp (in nanoseconds) when the request was received
|
String |
getUri()
The uri of the request
|
String |
getUserAgent()
The contents of the UserAgent header on the request
|
int |
hashCode()
Computes a hash code from attributes:
applicationId, contentLength, forwarded, instanceId, instanceIndex, method, peerType, remoteAddress, requestId, startTimestamp, statusCode, stopTimestamp, uri, userAgent. |
String |
toString()
Prints the immutable value
HttpStartStop with attribute values. |
public UUID getApplicationId()
public Long getContentLength()
public List<String> getForwarded()
public String getInstanceId()
public Integer getInstanceIndex()
public Method getMethod()
public PeerType getPeerType()
public String getRemoteAddress()
public UUID getRequestId()
public Long getStartTimestamp()
public Integer getStatusCode()
public Long getStopTimestamp()
public String getUri()
public String getUserAgent()
public boolean equals(Object another)
HttpStartStop that have equal attribute values.public int hashCode()
applicationId, contentLength, forwarded, instanceId, instanceIndex, method, peerType, remoteAddress, requestId, startTimestamp, statusCode, stopTimestamp, uri, userAgent.public String toString()
HttpStartStop with attribute values.public static HttpStartStop.Builder builder()
HttpStartStop.
HttpStartStop.builder()
.applicationId(UUID | null) // nullable applicationId
.contentLength(Long) // required contentLength
.forwarded|addAllForwarded(String) // forwarded elements
.instanceId(String | null) // nullable instanceId
.instanceIndex(Integer | null) // nullable instanceIndex
.method(org.cloudfoundry.doppler.Method | null) // nullable method
.peerType(org.cloudfoundry.doppler.PeerType) // required peerType
.remoteAddress(String) // required remoteAddress
.requestId(UUID) // required requestId
.startTimestamp(Long) // required startTimestamp
.statusCode(Integer) // required statusCode
.stopTimestamp(Long) // required stopTimestamp
.uri(String) // required uri
.userAgent(String) // required userAgent
.build();
public static HttpStartStop from(org.cloudfoundry.dropsonde.events.HttpStartStop dropsonde)
Copyright © 2020. All rights reserved.