Skip to main content
Home

Search form

Menu

Search form

  • What's new in SkyVault
  • SkyVault 2.0 overview
  • Video tutorials
  • Using SkyVault
  • Developing
    • Introduction
    • Architectural Overview
    • Overview of SkyVault APIs
    • Content modeling
    • Developing Extensions
      • Web scripts
        • Repository-tier web scripts
        • Presentation-tier web scripts
          • Web script locations
          • Root objects
          • Surf Framework Guide
          • Surf root objects
          • Return types
            • ScriptModelObject
            • ScriptRemoteConnector
            • Response
            • ResponseStatus
              • setCode
              • setHeader
              • getHeaders
          • Rendering objects
        • Surf tutorials
    • Extension packaging
    • SkyVault Public Java API
  • Share extensions
  • Developing Client Applications
  • SkyVault SDK 2.1.1
  • Copyright
  • Disclaimer
  • You are here

    SkyVault 2.0 » Developing » Developing Extensions » Web scripts » Presentation-tier web scripts » SkyVault Surf API reference for web scripts » Return types » ResponseStatus

    setCode

    setCode(int code, String message) - method to set a status code and message.

    Parameters

    code
    A string representing the code.
    message
    A string representing the message.

    Returns

    void

    Parent topic: ResponseStatus

    © 2017 TBS-LLC. All Rights Reserved.    Follow @twitter