com.sage.orion.sdata.servlet
Interface ResourceResponse

All Known Implementing Classes:
BinaryResponse, ResourceResponseImpl, SchemaResponse

public interface ResourceResponse


Method Summary
 void addToResponse(javax.servlet.http.HttpServletResponse response, java.lang.String resourcesURL, java.lang.String fullURL, SDataDiagnoses sdataDiagnoses)
           
 java.lang.String getCacheControl()
          Gets the caching control information to place in the response header for the "Cache-Control" (e.g.
 SDataResponseEntry getEntry()
          Gets the SDataResponseEntry.
 SDataResponseFeed getFeed()
          Gets the SDataResponseFeed.
 int getResponseCode()
           
 

Method Detail

getResponseCode

int getResponseCode()

addToResponse

void addToResponse(javax.servlet.http.HttpServletResponse response,
                   java.lang.String resourcesURL,
                   java.lang.String fullURL,
                   SDataDiagnoses sdataDiagnoses)

getFeed

SDataResponseFeed getFeed()
Gets the SDataResponseFeed.


getEntry

SDataResponseEntry getEntry()
Gets the SDataResponseEntry.


getCacheControl

java.lang.String getCacheControl()
Gets the caching control information to place in the response header for the "Cache-Control" (e.g. "no-cache" to specify not to have the browser cache this response)

Returns:
the caching control information to place in the response header for the "Cache-Control" (e.g. "no-cache" to specify not to have the browser cache this response)


Copyright © 2011 Sage Software, Inc. All rights reserved.