org.springframework.extensions.webscripts
Class AbstractWebScript.ScriptDetails

java.lang.Object
  extended by org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails
Enclosing class:
AbstractWebScript

protected static class AbstractWebScript.ScriptDetails
extends Object

The combination of a ScriptContent and a request MIME type. Records the most specific request MIME type expected by a script (according to its naming convention, e.g. *.json.js or *.js). Used to determine what kind of parsing should be done on the request (i.e. what kind of FormatReader should be invoked to get extra script parameters).


Method Summary
 ScriptContent getContent()
           
 String getRequestType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getContent

public ScriptContent getContent()
Returns:
the content

getRequestType

public String getRequestType()
Returns:
the requestType


Copyright © 2009-2010 SpringSource, Inc. All Rights Reserved.