Package org.mockserver.dashboard.model
Class DashboardBodyCap.Sizes
java.lang.Object
org.mockserver.dashboard.model.DashboardBodyCap.Sizes
- Enclosing class:
- DashboardBodyCap
What capping one log entry's messages found: each cut copy's full body length, and roughly how many
characters the entry adds to an update.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongoriginalLength(Object message) The full body length of a message this cut short, ornullwhen it was sent whole.shownLength(Object message) How many characters of a message's body this sends, as measured when it was capped, ornullwhen the message was not capped here.
-
Constructor Details
-
Sizes
public Sizes()
-
-
Method Details
-
shownLength
How many characters of a message's body this sends, as measured when it was capped, ornullwhen the message was not capped here. -
originalLength
The full body length of a message this cut short, ornullwhen it was sent whole. -
displayedCharacters
public long displayedCharacters()
-