com.equilibrium.util.api
Class MGFileResponse

java.lang.Object
  extended by com.equilibrium.util.api.MGResponse
      extended by com.equilibrium.util.api.MGFileResponse

public class MGFileResponse
extends MGResponse

Response to a file request. This class is generated by MGConnection.requestFile(String).


Method Summary
 boolean getFileFound()
          Return true if the requested file was found.
 
Methods inherited from class com.equilibrium.util.api.MGResponse
discard, getContentKey, getContentLength, getContentMimeType, getDoubleParam, getHttpHeader, getHttpHeaders, getIntArrayParam, getIntParam, getLongParam, getParam, getParameters, getResponsePath, getStatusCode, getTextResponse, hasContent, readContent, streamResponse
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFileFound

public boolean getFileFound()
                     throws MGException
Return true if the requested file was found.

Returns:
true if the file was found.
Throws:
MGException