| Package | Description |
|---|---|
| com.aspectran.core.activity |
A package for handling an activity that perform requests, business logic, and responses.
|
| com.aspectran.core.activity.response.dispatch | |
| com.aspectran.core.context.rule | |
| com.aspectran.core.context.rule.ability | |
| com.aspectran.core.context.rule.converter | |
| com.aspectran.core.support.view |
| Modifier and Type | Method | Description |
|---|---|---|
void |
CoreTranslet.dispatch(DispatchResponseRule dispatchResponseRule) |
|
void |
Translet.dispatch(DispatchResponseRule dispatchResponseRule) |
Dispatch to other resources as the given rule.
|
| Modifier and Type | Method | Description |
|---|---|---|
DispatchResponseRule |
DispatchResponse.getDispatchResponseRule() |
Gets the dispatch response rule.
|
DispatchResponseRule |
DispatchResponseException.getDispatchResponseRule() |
Gets the dispatch response rule.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
ViewDispatcher.dispatch(Activity activity,
DispatchResponseRule dispatchResponseRule) |
Dispatch to other resources as the given rule.
|
| Constructor | Description |
|---|---|
DispatchResponse(DispatchResponseRule dispatchResponseRule) |
Instantiates a new DispatchResponse with specified DispatchResponseRule.
|
DispatchResponseException(DispatchResponseRule dispatchResponseRule,
java.lang.String msg) |
Constructor to create exception to wrap another exception and pass a message.
|
DispatchResponseException(DispatchResponseRule dispatchResponseRule,
java.lang.String msg,
java.lang.Throwable cause) |
Constructor to create exception to wrap another exception and pass a message.
|
DispatchResponseException(DispatchResponseRule dispatchResponseRule,
java.lang.Throwable cause) |
Constructor to create exception to wrap another exception and pass a message.
|
| Modifier and Type | Method | Description |
|---|---|---|
static DispatchResponseRule |
DispatchResponseRule.newInstance(java.lang.String name) |
Returns a new instance of DispatchResponseRule.
|
static DispatchResponseRule |
DispatchResponseRule.newInstance(java.lang.String name,
java.lang.String dispatcher,
java.lang.String contentType,
java.lang.String encoding) |
Returns a new instance of DispatchResponseRule.
|
static DispatchResponseRule |
DispatchResponseRule.newInstance(java.lang.String name,
java.lang.String dispatcher,
java.lang.String contentType,
java.lang.String encoding,
java.lang.Boolean defaultResponse) |
Returns a new instance of DispatchResponseRule.
|
DispatchResponseRule |
DispatchResponseRule.replicate() |
|
static DispatchResponseRule |
DispatchResponseRule.replicate(DispatchResponseRule dispatchResponseRule) |
Returns a new derived instance of DispatchResponseRule.
|
| Modifier and Type | Method | Description |
|---|---|---|
Response |
ExceptionThrownRule.applyResponseRule(DispatchResponseRule dispatchResponseRule) |
|
Response |
ResponseRule.applyResponseRule(DispatchResponseRule dispatchResponseRule) |
|
Response |
TransletRule.applyResponseRule(DispatchResponseRule dispatchResponseRule) |
|
static ResponseRule |
ResponseRule.newInstance(DispatchResponseRule drr) |
|
static DispatchResponseRule |
DispatchResponseRule.replicate(DispatchResponseRule dispatchResponseRule) |
Returns a new derived instance of DispatchResponseRule.
|
| Modifier and Type | Method | Description |
|---|---|---|
Response |
ResponseRuleApplicable.applyResponseRule(DispatchResponseRule dispatchResponseRule) |
Apply the dispatch response rule to the response rule.
|
| Modifier and Type | Method | Description |
|---|---|---|
static DispatchParameters |
RuleToParamsConverter.toDispatchParameters(DispatchResponseRule dispatchResponseRule) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
FreeMarkerViewDispatcher.dispatch(Activity activity,
DispatchResponseRule dispatchResponseRule) |
|
void |
PebbleViewDispatcher.dispatch(Activity activity,
DispatchResponseRule dispatchResponseRule) |
Copyright © 2008–2018 The Aspectran Project. All rights reserved.