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()
           
 java.lang.String getContentAsString()
           
 int getContentLength()
           
 java.lang.String getContentType()
           
 java.lang.String getHeader(java.lang.String name)
           
 int getStatus()
           
 

Method Detail

getContentAsByteArray

byte[] getContentAsByteArray()

getContentAsString

java.lang.String getContentAsString()
                                    throws java.io.UnsupportedEncodingException
Throws:
java.io.UnsupportedEncodingException

getHeader

java.lang.String getHeader(java.lang.String name)

getContentType

java.lang.String getContentType()

getContentLength

int getContentLength()

getStatus

int getStatus()


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