org.glassfish.jersey.server.internal.routing
Interface Router.Builder

All Known Subinterfaces:
RouterBinder.RouteToPathBuilder<T>
Enclosing interface:
Router

public static interface Router.Builder

A Router builder.


Method Summary
 Router build()
          Build a hierarchical router for the transformation of a given data type.
 Router.Builder child(Router child)
          Add new child node into the hierarchical request router being built.
 

Method Detail

child

Router.Builder child(Router child)
Add new child node into the hierarchical request router being built.

Parameters:
child - new child node to be added.
Returns:
updated builder instance.

build

Router build()
Build a hierarchical router for the transformation of a given data type.

Returns:
hierarchical stage.


Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.