@Component public class MockHttpResult extends MockResult
proxifier, typeToUse
Constructor and Description |
---|
MockHttpResult() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBody() |
java.lang.String |
getCharacterEncoding() |
java.lang.String |
getContentType() |
<T extends View> |
use(java.lang.Class<T> view)
Force result to use the defined view.
|
include, include, included, included, on, returnOnFinalMethods, used
forwardTo, forwardTo, forwardTo, notFound, nothing, of, of, permanentlyRedirectTo, permanentlyRedirectTo, permanentlyRedirectTo, redirectTo, redirectTo, redirectTo
public <T extends View> T use(java.lang.Class<T> view)
Result
use
in interface Result
use
in class MockResult
public java.lang.String getBody()
public java.lang.String getContentType()
public java.lang.String getCharacterEncoding()
Copyright © 2013 Caelum. All Rights Reserved.