Class MockDescription

  • All Implemented Interfaces:
    org.springframework.extensions.webscripts.BaseDescription, org.springframework.extensions.webscripts.BaseDescriptionDocument, org.springframework.extensions.webscripts.Description

    public class MockDescription
    extends Object
    implements org.springframework.extensions.webscripts.Description
    • Constructor Detail

      • MockDescription

        public MockDescription()
    • Method Detail

      • getId

        public String getId()
        Specified by:
        getId in interface org.springframework.extensions.webscripts.BaseDescription
      • getShortName

        public String getShortName()
        Specified by:
        getShortName in interface org.springframework.extensions.webscripts.BaseDescription
      • getDescription

        public String getDescription()
        Specified by:
        getDescription in interface org.springframework.extensions.webscripts.BaseDescription
      • getStorePath

        public String getStorePath()
        Specified by:
        getStorePath in interface org.springframework.extensions.webscripts.BaseDescriptionDocument
        Specified by:
        getStorePath in interface org.springframework.extensions.webscripts.Description
      • getScriptPath

        public String getScriptPath()
        Specified by:
        getScriptPath in interface org.springframework.extensions.webscripts.Description
      • getPackage

        public org.springframework.extensions.webscripts.Path getPackage()
        Specified by:
        getPackage in interface org.springframework.extensions.webscripts.Description
      • getDescPath

        public String getDescPath()
        Specified by:
        getDescPath in interface org.springframework.extensions.webscripts.BaseDescriptionDocument
        Specified by:
        getDescPath in interface org.springframework.extensions.webscripts.Description
      • getDescDocument

        public InputStream getDescDocument()
                                    throws IOException
        Specified by:
        getDescDocument in interface org.springframework.extensions.webscripts.BaseDescriptionDocument
        Specified by:
        getDescDocument in interface org.springframework.extensions.webscripts.Description
        Throws:
        IOException
      • getKind

        public String getKind()
        Specified by:
        getKind in interface org.springframework.extensions.webscripts.Description
      • getFamilys

        public Set<String> getFamilys()
        Specified by:
        getFamilys in interface org.springframework.extensions.webscripts.Description
      • getRequiredAuthentication

        public org.springframework.extensions.webscripts.Description.RequiredAuthentication getRequiredAuthentication()
        Specified by:
        getRequiredAuthentication in interface org.springframework.extensions.webscripts.Description
      • getRunAs

        public String getRunAs()
        Specified by:
        getRunAs in interface org.springframework.extensions.webscripts.Description
      • getRequiredTransaction

        public org.springframework.extensions.webscripts.Description.RequiredTransaction getRequiredTransaction()
        Specified by:
        getRequiredTransaction in interface org.springframework.extensions.webscripts.Description
      • getRequiredTransactionParameters

        public org.springframework.extensions.webscripts.Description.RequiredTransactionParameters getRequiredTransactionParameters()
        Specified by:
        getRequiredTransactionParameters in interface org.springframework.extensions.webscripts.Description
      • getRequiredCache

        public org.springframework.extensions.webscripts.Description.RequiredCache getRequiredCache()
        Specified by:
        getRequiredCache in interface org.springframework.extensions.webscripts.Description
      • getMethod

        public String getMethod()
        Specified by:
        getMethod in interface org.springframework.extensions.webscripts.Description
      • getURIs

        public String[] getURIs()
        Specified by:
        getURIs in interface org.springframework.extensions.webscripts.Description
      • getFormatStyle

        public org.springframework.extensions.webscripts.Description.FormatStyle getFormatStyle()
        Specified by:
        getFormatStyle in interface org.springframework.extensions.webscripts.Description
      • getDefaultFormat

        public String getDefaultFormat()
        Specified by:
        getDefaultFormat in interface org.springframework.extensions.webscripts.Description
      • getNegotiatedFormats

        public org.springframework.extensions.webscripts.NegotiatedFormat[] getNegotiatedFormats()
        Specified by:
        getNegotiatedFormats in interface org.springframework.extensions.webscripts.Description
      • getExtensions

        public Map<String,​Serializable> getExtensions()
        Specified by:
        getExtensions in interface org.springframework.extensions.webscripts.Description
      • getLifecycle

        public org.springframework.extensions.webscripts.Description.Lifecycle getLifecycle()
        Specified by:
        getLifecycle in interface org.springframework.extensions.webscripts.Description
      • getMultipartProcessing

        public boolean getMultipartProcessing()
        Specified by:
        getMultipartProcessing in interface org.springframework.extensions.webscripts.Description
      • setMultipartProcessing

        public void setMultipartProcessing​(boolean multipartProcessing)
        Specified by:
        setMultipartProcessing in interface org.springframework.extensions.webscripts.Description
      • getArguments

        public org.springframework.extensions.webscripts.ArgumentTypeDescription[] getArguments()
        Specified by:
        getArguments in interface org.springframework.extensions.webscripts.Description
      • getRequestTypes

        public org.springframework.extensions.webscripts.TypeDescription[] getRequestTypes()
        Specified by:
        getRequestTypes in interface org.springframework.extensions.webscripts.Description
      • getResponseTypes

        public org.springframework.extensions.webscripts.TypeDescription[] getResponseTypes()
        Specified by:
        getResponseTypes in interface org.springframework.extensions.webscripts.Description