Modifier and Type | Method and Description |
---|---|
Result |
Result.include(java.lang.Object value)
Stores an attribute in the result.
|
Result |
Result.include(java.lang.String key,
java.lang.Object value)
Stores an attribute in the result.
|
Result |
Result.on(java.lang.Class<? extends java.lang.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(java.lang.Object value) |
Result |
DefaultResult.include(java.lang.String key,
java.lang.Object value) |
Result |
DefaultResult.on(java.lang.Class<? extends java.lang.Exception> exception) |
Result |
ExceptionMapper.record(java.lang.Class<? extends java.lang.Exception> exception)
Store the exception and return a proxy with
Result state. |
Result |
DefaultExceptionMapper.record(java.lang.Class<? extends java.lang.Exception> exception) |
Modifier and Type | Method and Description |
---|---|
ExceptionRecorder<Result> |
ExceptionMapper.findByException(java.lang.Exception exception)
Finds an
ExceptionRecorder by an Exception . |
ExceptionRecorder<Result> |
DefaultExceptionMapper.findByException(java.lang.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) |
ForwardToDefaultViewInterceptor(Result result) |
OutjectResult(Result result,
MethodInfo info,
TypeNameExtractor extractor) |
Constructor and Description |
---|
DownloadInterceptor(javax.servlet.http.HttpServletResponse response,
MethodInfo info,
Result result) |
Constructor and Description |
---|
DefaultRepresentationResult(FormatResolver formatResolver,
Result result,
java.util.List<Serialization> serializations,
RestHeadersHandler headersHandler) |
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(java.lang.Object value)
Uses the type name to include.
|
Result |
MockResult.include(java.lang.String key,
java.lang.Object value) |
Result |
MockResult.on(java.lang.Class<? extends java.lang.Exception> exception) |
Constructor and Description |
---|
DefaultValidator(Result result,
ValidationViewsFactory factory,
Outjector outjector,
Proxifier proxifier,
BeanValidator beanValidator,
Localization localization) |
ReplicatorOutjector(Result result,
MethodInfo method,
ParameterNameProvider provider) |
Constructor and Description |
---|
DefaultRefererResult(Result result,
MutableRequest request,
Router router,
ParametersProvider provider,
Localization localization) |
DefaultStatus(javax.servlet.http.HttpServletResponse response,
Result result,
Configuration config,
Proxifier proxifier,
Router router) |
DefaultValidationViewsFactory(Result result,
Proxifier proxifier) |
Copyright © 2013 Caelum. All Rights Reserved.