|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.plugins.rest.common.expand.AbstractRecursiveEntityExpander<SelfExpanding>
com.atlassian.plugins.rest.common.expand.SelfExpandingExpander
public class SelfExpandingExpander
This is a general-purpose expander for atlassian-rest that delegates the
expand process to the entity that is to be expanded (instead of having that
knowledge in a separate EntityExpander.
As a result, this expander can be used for every entity that implements
SelfExpanding.
| Nested Class Summary | |
|---|---|
static class |
SelfExpandingExpander.Resolver
To use the self expanding mechanism, make sure you register an instance of this EntityExpanderResolver in your application's
ExpandResponseFilter. |
| Constructor Summary | |
|---|---|
SelfExpandingExpander()
|
|
| Method Summary | |
|---|---|
protected SelfExpanding |
expandInternal(SelfExpanding selfExpandingObject)
|
| Methods inherited from class com.atlassian.plugins.rest.common.expand.AbstractRecursiveEntityExpander |
|---|
expand |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SelfExpandingExpander()
| Method Detail |
|---|
protected SelfExpanding expandInternal(SelfExpanding selfExpandingObject)
expandInternal in class AbstractRecursiveEntityExpander<SelfExpanding>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||