|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.server.internal.routing.RuntimeModelBuilder
public final class RuntimeModelBuilder
This is a common base for root resource and sub-resource runtime model builder.
| Constructor Summary | |
|---|---|
RuntimeModelBuilder()
|
|
| Method Summary | |
|---|---|
Router |
buildModel(boolean subResourceMode)
Build a runtime model. |
void |
process(Resource resource,
boolean subResourceMode)
Process a single resource model and add it to the currently build runtime routing and accepting model. |
void |
setBoundProviders(MultivaluedMap<java.lang.Class<? extends java.lang.annotation.Annotation>,ContainerRequestFilter> nameBoundRequestFilters,
MultivaluedMap<java.lang.Class<? extends java.lang.annotation.Annotation>,ContainerResponseFilter> nameBoundResponseFilters,
java.util.List<DynamicBinder> dynamicBinders)
Set the name bound filters and dynamic binders. |
void |
setWorkers(MessageBodyWorkers workers)
Set the message body workers. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RuntimeModelBuilder()
| Method Detail |
|---|
public void process(Resource resource,
boolean subResourceMode)
resource - resource model to be processed.subResourceMode - if true, all resources will be processed as sub-resources.public Router buildModel(boolean subResourceMode)
subResourceMode - if true, all resources will be processed as sub-resources.
public void setWorkers(MessageBodyWorkers workers)
workers - new message body workers.
public void setBoundProviders(MultivaluedMap<java.lang.Class<? extends java.lang.annotation.Annotation>,ContainerRequestFilter> nameBoundRequestFilters,
MultivaluedMap<java.lang.Class<? extends java.lang.annotation.Annotation>,ContainerResponseFilter> nameBoundResponseFilters,
java.util.List<DynamicBinder> dynamicBinders)
nameBoundRequestFilters - name bound request filters.nameBoundResponseFilters - name bound response filters.dynamicBinders - dynamic binders.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||