public class CoapResponseOptionsAttributesImpl extends ResponseOptionsAttributes implements AppendableToString
acceptableRequestSize, contentFormat, etag, locationPath, locationQuery, maxAge, observe, other, responseSize| Constructor and Description |
|---|
CoapResponseOptionsAttributesImpl(org.eclipse.californium.core.coap.OptionSet optionSet)
Constructor that uses options from given optionSet.
|
| Modifier and Type | Method and Description |
|---|---|
void |
appendTo(org.apache.commons.lang3.builder.ToStringBuilder builder)
Append this to string builder.
|
void |
appendTo(org.apache.commons.lang3.builder.ToStringStyle style,
StringBuffer buffer)
Append this to string builder.
|
String |
toString()
Get the string representation.
|
getAcceptableRequestSize, getContentFormat, getEtag, getLocationPath, getLocationQuery, getMaxAge, getObserve, getOther, getResponseSizepublic CoapResponseOptionsAttributesImpl(org.eclipse.californium.core.coap.OptionSet optionSet)
throws InternalInvalidOptionValueException
optionSet - to copy from.InvalidOptionValueException - when given option value could not be copied successfully.InternalInvalidOptionValueExceptionpublic String toString()
public void appendTo(org.apache.commons.lang3.builder.ToStringStyle style,
StringBuffer buffer)
appendTo in interface AppendableToStringstyle - The styla to apply.buffer - The string buffer to use.public void appendTo(org.apache.commons.lang3.builder.ToStringBuilder builder)
builder - The string builder to append to.Copyright © 2019–2024 Teslanet.nl. All rights reserved.