| Package | Description |
|---|---|
| com.aspectran.core.activity |
A package for handling an activity that perform requests, business logic, and responses.
|
| com.aspectran.core.activity.request | |
| com.aspectran.core.adapter |
A package for providing basic adapters for integration with a core activity.
|
| com.aspectran.core.component.bean.annotation | |
| com.aspectran.core.component.translet | |
| com.aspectran.core.context.rule | |
| com.aspectran.core.context.rule.type |
| Modifier and Type | Method | Description |
|---|---|---|
MethodType |
Activity.getRequestMethod() |
Returns the request method.
|
MethodType |
CoreActivity.getRequestMethod() |
|
MethodType |
CoreTranslet.getRequestMethod() |
|
MethodType |
DefaultActivity.getRequestMethod() |
|
MethodType |
Translet.getRequestMethod() |
Gets the request http method.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
Activity.prepare(java.lang.String transletName,
MethodType requestMethod) |
Prepare for the activity.
|
void |
CoreActivity.prepare(java.lang.String transletName,
MethodType requestMethod) |
|
void |
DefaultActivity.prepare(java.lang.String transletName,
MethodType requestMethod) |
| Modifier and Type | Method | Description |
|---|---|---|
MethodType |
AbstractRequest.getRequestMethod() |
|
MethodType |
RequestMethodNotAllowedException.getRequestMethod() |
Gets the request method type.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
AbstractRequest.setRequestMethod(MethodType requestMethod) |
| Constructor | Description |
|---|---|
RequestMethodNotAllowedException(MethodType requestMethod) |
Instantiates a new RequestMethodNotAllowedException.
|
RequestMethodNotAllowedException(MethodType requestMethod,
java.lang.String msg) |
Instantiates a new RequestMethodNotAllowedException.
|
| Modifier and Type | Method | Description |
|---|---|---|
MethodType |
RequestAdapter.getRequestMethod() |
Returns the method used for the request.
|
| Modifier and Type | Method | Description |
|---|---|---|
MethodType[] |
method() |
|
MethodType[] |
methods() |
| Modifier and Type | Method | Description |
|---|---|---|
TransletRule |
TransletRuleRegistry.getRestfulTransletRule(java.lang.String requestTransletName,
MethodType requestMethod) |
| Modifier and Type | Method | Description |
|---|---|---|
MethodType |
RequestRule.getAllowedMethod() |
Gets the allowed method.
|
MethodType[] |
TransletRule.getAllowedMethods() |
Gets the allowed methods.
|
MethodType[] |
AspectRule.getMethods() |
|
MethodType[] |
JoinpointRule.getMethods() |
|
MethodType |
ScheduleJobRule.getRequestMethod() |
| Modifier and Type | Method | Description |
|---|---|---|
static java.lang.String |
TransletRule.makeRestfulTransletName(java.lang.String transletName,
MethodType[] allowedMethods) |
|
static TransletRule |
TransletRule.newInstance(java.lang.String name,
MethodType[] allowedMethods) |
|
static TransletRule |
TransletRule.newInstance(java.lang.String name,
java.lang.String scanPath,
java.lang.String maskPattern,
MethodType[] allowedMethods) |
|
void |
RequestRule.setAllowedMethod(MethodType allowedMethod) |
Sets the allowed method.
|
void |
TransletRule.setAllowedMethods(MethodType[] allowedMethods) |
Sets the allowed methods.
|
void |
JoinpointRule.setMethods(MethodType[] methods) |
|
void |
ScheduleJobRule.setRequestMethod(MethodType requestMethod) |
| Modifier and Type | Method | Description |
|---|---|---|
static MethodType[] |
MethodType.parse(java.lang.String value) |
Returns an array of
MethodType with a value represented
by the specified String. |
static MethodType |
MethodType.resolve(java.lang.String methodType) |
Returns a
MethodType with a value represented
by the specified String. |
static MethodType |
MethodType.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static MethodType[] |
MethodType.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
MethodType.containsTo(MethodType[] types) |
|
static java.lang.String |
MethodType.stringify(MethodType[] types) |
Converts an array of
MethodType to a comma separated String. |
Copyright © 2008–2018 The Aspectran Project. All rights reserved.