Package net.officefloor.web
Class HttpPathFactoryImpl.ParameterSegment<T>
java.lang.Object
net.officefloor.web.HttpPathFactoryImpl.Segment<T>
net.officefloor.web.HttpPathFactoryImpl.ParameterSegment<T>
- Enclosing class:
- HttpPathFactoryImpl<T>
Parameter
HttpPathFactoryImpl.Segment.-
Constructor Summary
ConstructorsConstructorDescriptionParameterSegment(String propertyName, ValueRetriever<T> valueRetriever) Instantiate. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidwrite(T values, Appendable target) Writes the values.
-
Constructor Details
-
ParameterSegment
Instantiate.- Parameters:
propertyName- Property name to obtain value.valueRetriever-ValueRetrieverto obtain the value.
-
-
Method Details
-
write
Description copied from class:HttpPathFactoryImpl.SegmentWrites the values.- Specified by:
writein classHttpPathFactoryImpl.Segment<T>- Parameters:
values- Values.target-Appendable.- Throws:
Exception- Failure in writing value.
-