|
||||||||||
| 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()
Create a new runtime model builder. |
|
RuntimeModelBuilder(boolean subResourceMode)
Create a new runtime model builder. |
|
RuntimeModelBuilder(MessageBodyWorkers workers)
Create a new runtime model builder. |
|
RuntimeModelBuilder(MessageBodyWorkers workers,
boolean subResourceMode)
Create a new runtime model builder. |
|
| Method Summary | |
|---|---|
Router |
buildModel()
Build a runtime model. |
void |
process(Resource resource)
Process a single resource model and add it to the currently build runtime routing and accepting model. |
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()
public RuntimeModelBuilder(boolean subResourceMode)
subResourceMode - if true, all the resources will be processed as a
sub-resources.public RuntimeModelBuilder(MessageBodyWorkers workers)
workers - message body workers.
public RuntimeModelBuilder(MessageBodyWorkers workers,
boolean subResourceMode)
workers - message body workers.subResourceMode - if true, all the resources will be processed as a
sub-resources.| Method Detail |
|---|
public void process(Resource resource)
resource - resource model to be processed.public Router buildModel()
public void setWorkers(MessageBodyWorkers workers)
workers - new message body workers.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||