@Vetoed public class MockHttpResult extends MockResult
proxifier, typeToUse
Constructor and Description |
---|
MockHttpResult() |
Modifier and Type | Method and Description |
---|---|
String |
getBody() |
String |
getCharacterEncoding() |
String |
getContentType() |
<T extends View> |
use(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(Class<T> view)
Result
use
in interface Result
use
in class MockResult
public String getBody()
public String getContentType()
public String getCharacterEncoding()
Copyright © 2014 Caelum. All rights reserved.