Package com.augustl.pathtravelagent.segment

Examples of com.augustl.pathtravelagent.segment.StringSegment


        return this;
    }

    public RouteTreeBuilder<T_REQ, T_RES> param(final String paramName, final RouteTreeBuilder<T_REQ, T_RES> childBuilder) {
        String normalizedParam = paramName.startsWith(paramNamePrefix) ? paramName.substring(paramNamePrefix.length()) : paramName;
        nodeBuilder.setParametricChild(new StringSegment(normalizedParam), childBuilder.build("::PARAM:" + normalizedParam + "::"));
        return this;
    }
View Full Code Here


        segments.add(new PathSegment<T_REQ, T_RES>(path));
        return this;
    }

    public SingleRouteBuilder<T_REQ, T_RES> param(String name) {
        segments.add(new ParamSegment<T_REQ, T_RES>(new StringSegment(name)));
        return this;
    }
View Full Code Here

TOP

Related Classes of com.augustl.pathtravelagent.segment.StringSegment

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.