railo.runtime.rest
Class Result
java.lang.Object
railo.runtime.rest.Result
public class Result
- extends Object
Result
public Result(Source source,
Struct variables,
String[] path,
Struct matrix,
int format,
boolean hasFormatExtension,
List<MimeType> accept,
MimeType contentType)
hasFormatExtension
public boolean hasFormatExtension()
- Returns:
- the hasFormatExtension
getAccept
public MimeType[] getAccept()
- Returns:
- the accept
getContentType
public MimeType getContentType()
- Returns:
- the accept
getVariables
public Struct getVariables()
- Returns:
- the variables
getSource
public Source getSource()
- Returns:
- the source
getPath
public String[] getPath()
- Returns:
- the path
getFormat
public int getFormat()
- Returns:
- the format
getMatrix
public Struct getMatrix()
- Returns:
- the matrix
setCustomResponse
public void setCustomResponse(Struct rsp)
getCustomResponse
public Struct getCustomResponse()
Copyright © 2012 Railo