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>
public static class HttpPathFactoryImpl.ParameterSegment<T> extends HttpPathFactoryImpl.Segment<T>
ParameterHttpPathFactoryImpl.Segment.
-
-
Constructor Summary
Constructors Constructor Description ParameterSegment(java.lang.String propertyName, ValueRetriever<T> valueRetriever)Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidwrite(T values, java.lang.Appendable target)Writes the values.
-
-
-
Constructor Detail
-
ParameterSegment
public ParameterSegment(java.lang.String propertyName, ValueRetriever<T> valueRetriever)Instantiate.- Parameters:
propertyName- Property name to obtain value.valueRetriever-ValueRetrieverto obtain the value.
-
-
Method Detail
-
write
protected void write(T values, java.lang.Appendable target) throws java.lang.Exception
Description copied from class:HttpPathFactoryImpl.SegmentWrites the values.- Specified by:
writein classHttpPathFactoryImpl.Segment<T>- Parameters:
values- Values.target-Appendable.- Throws:
java.lang.Exception- Failure in writing value.
-
-