Class ObservationUtil
java.lang.Object
org.eclipse.californium.core.observe.ObservationUtil
Utility for observation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Observation
shallowClone
(Observation observation) Create shallow clone of observation and the contained request.
-
Constructor Details
-
ObservationUtil
public ObservationUtil()
-
-
Method Details
-
shallowClone
Create shallow clone of observation and the contained request.- Parameters:
observation
- observation to clone- Returns:
- a cloned observation with a shallow clone of request, or null, if null was provided.
- Throws:
IllegalArgumentException
- if observation didn't contain a request.
-