Uses of Interface
com.aspectran.core.activity.Translet
-
Packages that use Translet 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.component.bean.ablility com.aspectran.core.support com.aspectran.core.support.i18n.locale com.aspectran.daemon.service Contains a variant of the service interface for Aspectran Daemon.com.aspectran.embed.service Contains a variant of the service interface for embedded Aspectran.com.aspectran.shell.service Contains a variant of the service interface for command-line application.com.aspectran.web.support.cors com.aspectran.web.support.http -
-
Uses of Translet in com.aspectran.core.activity
Classes in com.aspectran.core.activity that implement Translet Modifier and Type Class Description class
AbstractTranslet
class
CoreTranslet
The Class CoreTranslet.Methods in com.aspectran.core.activity that return Translet Modifier and Type Method Description protected Translet
AbstractTranslet. getParentTranslet()
Translet
Activity. getTranslet()
Returns an instance of the current translet.Translet
CoreActivity. getTranslet()
Translet
DefaultActivity. getTranslet()
Methods in com.aspectran.core.activity with parameters of type Translet Modifier and Type Method Description protected void
AbstractTranslet. setParentTranslet(Translet parentTranslet)
-
Uses of Translet in com.aspectran.core.activity.request
Methods in com.aspectran.core.activity.request with parameters of type Translet Modifier and Type Method Description void
PathVariableMap. applyTo(Translet translet)
-
Uses of Translet in com.aspectran.core.component.bean.ablility
Methods in com.aspectran.core.component.bean.ablility with parameters of type Translet Modifier and Type Method Description void
InitializableTransletBean. initialize(Translet translet)
Invoke on initialization after it has set all bean properties supplied. -
Uses of Translet in com.aspectran.core.support
Methods in com.aspectran.core.support that return Translet Modifier and Type Method Description Translet
CurrentTransletFactoryBean. getObject()
-
Uses of Translet in com.aspectran.core.support.i18n.locale
Methods in com.aspectran.core.support.i18n.locale with parameters of type Translet Modifier and Type Method Description void
LocaleChangeInterceptor. handle(Translet translet, LocaleResolver localeResolver)
protected java.util.Locale
AbstractLocaleResolver. resolveDefaultLocale(Translet translet)
Resolve the default locale for the given translet, Called if can not find specified Locale.protected java.util.TimeZone
AbstractLocaleResolver. resolveDefaultTimeZone(Translet translet)
Resolve the default time zone for the given translet, Called if can not find specified TimeZone.java.util.Locale
FixedLocaleResolver. resolveLocale(Translet translet)
java.util.Locale
LocaleResolver. resolveLocale(Translet translet)
Resolve the current locale via the given translet.java.util.Locale
SessionLocaleResolver. resolveLocale(Translet translet)
java.util.TimeZone
FixedLocaleResolver. resolveTimeZone(Translet translet)
java.util.TimeZone
LocaleResolver. resolveTimeZone(Translet translet)
Resolve the current timezone via the given translet.java.util.TimeZone
SessionLocaleResolver. resolveTimeZone(Translet translet)
void
AbstractLocaleResolver. setLocale(Translet translet, java.util.Locale locale)
void
FixedLocaleResolver. setLocale(Translet translet, java.util.Locale locale)
void
LocaleResolver. setLocale(Translet translet, java.util.Locale locale)
Set the current locale to the given one.void
SessionLocaleResolver. setLocale(Translet translet, java.util.Locale locale)
void
AbstractLocaleResolver. setTimeZone(Translet translet, java.util.TimeZone timeZone)
void
FixedLocaleResolver. setTimeZone(Translet translet, java.util.TimeZone timeZone)
void
LocaleResolver. setTimeZone(Translet translet, java.util.TimeZone timeZone)
Set the current timezone to the given one.void
SessionLocaleResolver. setTimeZone(Translet translet, java.util.TimeZone timeZone)
-
Uses of Translet in com.aspectran.daemon.service
Methods in com.aspectran.daemon.service that return Translet Modifier and Type Method Description Translet
DaemonService. translate(java.lang.String name, ParameterMap parameterMap, java.util.Map<java.lang.String,java.lang.Object> attributeMap)
Executes the translet with the given parameters and attributes.Translet
DaemonService. translate(java.lang.String name, MethodType method, ParameterMap parameterMap, java.util.Map<java.lang.String,java.lang.Object> attributeMap)
Executes the translet with the given parameters and attributes.Translet
DefaultDaemonService. translate(java.lang.String name, ParameterMap parameterMap, java.util.Map<java.lang.String,java.lang.Object> attributeMap)
Translet
DefaultDaemonService. translate(java.lang.String name, MethodType method, ParameterMap parameterMap, java.util.Map<java.lang.String,java.lang.Object> attributeMap)
-
Uses of Translet in com.aspectran.embed.service
Methods in com.aspectran.embed.service that return Translet Modifier and Type Method Description Translet
DefaultEmbeddedAspectran. translate(java.lang.String name)
Translet
DefaultEmbeddedAspectran. translate(java.lang.String name, ParameterMap parameterMap)
Translet
DefaultEmbeddedAspectran. translate(java.lang.String name, ParameterMap parameterMap, java.util.Map<java.lang.String,java.lang.Object> attributeMap)
Translet
DefaultEmbeddedAspectran. translate(java.lang.String name, MethodType method)
Translet
DefaultEmbeddedAspectran. translate(java.lang.String name, MethodType method, ParameterMap parameterMap)
Translet
DefaultEmbeddedAspectran. translate(java.lang.String name, MethodType method, ParameterMap parameterMap, java.util.Map<java.lang.String,java.lang.Object> attributeMap, java.lang.String body)
Translet
DefaultEmbeddedAspectran. translate(java.lang.String name, MethodType method, java.util.Map<java.lang.String,java.lang.Object> attributeMap)
Translet
DefaultEmbeddedAspectran. translate(java.lang.String name, java.lang.String body)
Translet
DefaultEmbeddedAspectran. translate(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attributeMap)
Translet
EmbeddedAspectran. translate(java.lang.String name)
Executes the translet.Translet
EmbeddedAspectran. translate(java.lang.String name, ParameterMap parameterMap)
Executes the translet with the given parameters.Translet
EmbeddedAspectran. translate(java.lang.String name, ParameterMap parameterMap, java.util.Map<java.lang.String,java.lang.Object> attributeMap)
Executes the translet with the given parameters and attributes.Translet
EmbeddedAspectran. translate(java.lang.String name, MethodType method)
Executes the translet without the supplied variables.Translet
EmbeddedAspectran. translate(java.lang.String name, MethodType method, ParameterMap parameterMap)
Executes the translet with the given parameters.Translet
EmbeddedAspectran. translate(java.lang.String name, MethodType method, ParameterMap parameterMap, java.util.Map<java.lang.String,java.lang.Object> attributeMap, java.lang.String body)
Executes the translet with the given parameters and attributes.Translet
EmbeddedAspectran. translate(java.lang.String name, MethodType method, java.util.Map<java.lang.String,java.lang.Object> attributeMap)
Executes the translet with the given attributes.Translet
EmbeddedAspectran. translate(java.lang.String name, java.lang.String body)
Executes the translet.Translet
EmbeddedAspectran. translate(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attributeMap)
Executes the translet with the given parameters. -
Uses of Translet in com.aspectran.shell.service
Methods in com.aspectran.shell.service that return Translet Modifier and Type Method Description Translet
DefaultShellService. translate(TransletCommandLine transletCommandLine, Console console)
Translet
ShellService. translate(TransletCommandLine transletCommandLine, Console console)
Executes translet. -
Uses of Translet in com.aspectran.web.support.cors
Methods in com.aspectran.web.support.cors with parameters of type Translet Modifier and Type Method Description void
CorsProcessor. processActualRequest(Translet translet)
Process a simple or actual CORS request.void
DefaultCorsProcessor. processActualRequest(Translet translet)
void
CorsProcessor. processPreflightRequest(Translet translet)
Process a preflight CORS request.void
DefaultCorsProcessor. processPreflightRequest(Translet translet)
protected void
DefaultCorsProcessor. rejectRequest(Translet translet, CorsException ce)
Invoked when one of the CORS checks failed.void
CorsProcessor. sendError(Translet translet)
Sends an error response to the client using the specified status.void
DefaultCorsProcessor. sendError(Translet translet)
-
Uses of Translet in com.aspectran.web.support.http
Methods in com.aspectran.web.support.http with parameters of type Translet Modifier and Type Method Description static void
HttpStatusSetter. accepted(Translet translet)
202 Accepted
.static void
HttpStatusSetter. badRequest(Translet translet)
400 Bad Request
.static void
HttpStatusSetter. conflict(Translet translet)
409 Conflict
.static void
HttpStatusSetter. created(Translet translet)
201 Created
.static void
HttpStatusSetter. created(Translet translet, java.lang.String location)
201 Created
.static void
HttpStatusSetter. forbidden(Translet translet)
403 Forbidden
.static void
HttpStatusSetter. internalServerError(Translet translet)
500 Internal Server Error
.static void
HttpStatusSetter. methodNotAllowed(Translet translet)
405 Method Not Allowed
.static void
HttpStatusSetter. movedPermanently(Translet translet)
301 Moved Permanently
.static void
HttpStatusSetter. noContent(Translet translet)
204 No Content
.static void
HttpStatusSetter. notAcceptable(Translet translet)
406 Not Acceptable
.static void
HttpStatusSetter. notFound(Translet translet)
404 Not Found
.static void
HttpStatusSetter. notModified(Translet translet)
304 Not Modified
.static void
HttpStatusSetter. ok(Translet translet)
200 OK
.static void
HttpStatusSetter. preconditionFailed(Translet translet)
412 Precondition failed
.static void
HttpStatusSetter. seeOther(Translet translet)
303 See Other
.static void
HttpStatusSetter. setStatus(int statusCode, Translet translet)
Sets the status code.static void
HttpStatusSetter. setStatus(HttpStatus httpStatus, Translet translet)
Sets the status code.static void
HttpStatusSetter. temporaryRedirect(Translet translet)
307 Temporary Redirect
.static void
HttpStatusSetter. unauthorized(Translet translet)
401 Unauthorized
.static void
HttpStatusSetter. unsupportedMediaType(Translet translet)
415 Unsupported Media Type
.
-