Modifier and Type | Method and Description |
---|---|
Result |
Result.include(Object value)
Stores an attribute in the result.
|
Result |
Result.include(String key,
Object value)
Stores an attribute in the result.
|
Result |
Result.on(Class<? extends Exception> exception)
Add an
Exception to be handled by Exception Handler. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractResult
An abstract result that implements all shortcut methods in the
recommended way
|
class |
DefaultResult
A basic implementation of a Result
|
Modifier and Type | Method and Description |
---|---|
Result |
DefaultResult.include(Object value) |
Result |
DefaultResult.include(String key,
Object value) |
Result |
DefaultResult.on(Class<? extends Exception> exception) |
Result |
ExceptionMapper.record(Class<? extends Exception> exception)
Store the exception and return a proxy with
Result state. |
Result |
DefaultExceptionMapper.record(Class<? extends Exception> exception) |
Modifier and Type | Method and Description |
---|---|
ExceptionRecorder<Result> |
ExceptionMapper.findByException(Exception exception)
Finds an
ExceptionRecorder by an Exception . |
ExceptionRecorder<Result> |
DefaultExceptionMapper.findByException(Exception e) |
Modifier and Type | Method and Description |
---|---|
void |
ExceptionRecorder.replay(Result result) |
Constructor and Description |
---|
ExceptionHandlerInterceptor(ExceptionMapper exceptions,
Result result) |
FlashInterceptor(javax.servlet.http.HttpSession session,
Result result,
MutableResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
OutjectResult.outject(MethodExecuted event,
Result result,
MethodInfo methodInfo) |
Constructor and Description |
---|
ForwardToDefaultView(Result result) |
Modifier and Type | Method and Description |
---|---|
void |
DownloadObserver.download(MethodExecuted event,
Result result) |
Constructor and Description |
---|
DefaultRepresentationResult(FormatResolver formatResolver,
Result result,
javax.enterprise.inject.Instance<Serialization> serializations) |
HTMLSerialization(Result result,
TypeNameExtractor extractor) |
Modifier and Type | Class and Description |
---|---|
class |
MockHttpResult
A mocked Result for testing the http body, content type and character encoding.
|
class |
MockResult
A mocked Result for testing your controllers.
|
class |
MockSerializationResult
A mocked Result for testing your serialized objects returns.
|
Modifier and Type | Method and Description |
---|---|
Result |
MockResult.include(Object value)
Uses the type name to include.
|
Result |
MockResult.include(String key,
Object value) |
Result |
MockResult.on(Class<? extends Exception> exception) |
Constructor and Description |
---|
DefaultValidator(Result result,
ValidationViewsFactory factory,
Outjector outjector,
Proxifier proxifier,
ResourceBundle bundle,
javax.validation.Validator bvalidator,
javax.validation.MessageInterpolator interpolator,
Locale locale) |
ReplicatorOutjector(Result result,
MethodInfo method) |
Constructor and Description |
---|
DefaultRefererResult(Result result,
MutableRequest request,
Router router,
ParametersProvider provider) |
DefaultStatus(javax.servlet.http.HttpServletResponse response,
Result result,
Configuration config,
Proxifier proxifier,
Router router) |
DefaultValidationViewsFactory(Result result,
Proxifier proxifier) |
Copyright © 2014 Caelum. All rights reserved.