@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, usedforwardTo, forwardTo, forwardTo, notFound, nothing, of, of, permanentlyRedirectTo, permanentlyRedirectTo, permanentlyRedirectTo, redirectTo, redirectTo, redirectTopublic <T extends View> T use(java.lang.Class<T> view)
Resultuse in interface Resultuse in class MockResultpublic java.lang.String getBody()
public java.lang.String getContentType()
public java.lang.String getCharacterEncoding()
Copyright © 2013 Caelum. All Rights Reserved.