railo.runtime.rest
Class Result

java.lang.Object
  extended by railo.runtime.rest.Result

public class Result
extends Object


Constructor Summary
Result(Source source, Struct variables, String[] path, Struct matrix, int format, boolean hasFormatExtension, List<MimeType> accept, MimeType contentType)
           
 
Method Summary
 MimeType[] getAccept()
           
 MimeType getContentType()
           
 Struct getCustomResponse()
           
 int getFormat()
           
 Struct getMatrix()
           
 String[] getPath()
           
 Source getSource()
           
 Struct getVariables()
           
 boolean hasFormatExtension()
           
 void setCustomResponse(Struct rsp)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Result

public Result(Source source,
              Struct variables,
              String[] path,
              Struct matrix,
              int format,
              boolean hasFormatExtension,
              List<MimeType> accept,
              MimeType contentType)
Method Detail

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