org.springframework.extensions.webscripts
Interface TestWebScriptServer.Response

All Known Implementing Classes:
TestWebScriptServer.MockHttpServletResponseResponse
Enclosing class:
TestWebScriptServer

public static interface TestWebScriptServer.Response

A Web Script Test Response


Method Summary
 byte[] getContentAsByteArray()
           
 String getContentAsString()
           
 int getContentLength()
           
 String getContentType()
           
 String getHeader(String name)
           
 int getStatus()
           
 

Method Detail

getContentAsByteArray

byte[] getContentAsByteArray()

getContentAsString

String getContentAsString()
                          throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

getHeader

String getHeader(String name)

getContentType

String getContentType()

getContentLength

int getContentLength()

getStatus

int getStatus()


Copyright © 2009 SpringSource, Inc. All Rights Reserved.