org.springframework.extensions.webscripts
Class TestWebScriptServer.Request

java.lang.Object
  extended by org.springframework.extensions.webscripts.TestWebScriptServer.Request
Direct Known Subclasses:
TestWebScriptServer.DeleteRequest, TestWebScriptServer.GetRequest, TestWebScriptServer.PatchRequest, TestWebScriptServer.PostRequest, TestWebScriptServer.PutRequest
Enclosing class:
TestWebScriptServer

public static class TestWebScriptServer.Request
extends java.lang.Object

A Web Script Test Request


Constructor Summary
TestWebScriptServer.Request(java.lang.String method, java.lang.String uri)
           
TestWebScriptServer.Request(TestWebScriptServer.Request req)
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.String> getArgs()
           
 byte[] getBody()
           
 java.lang.String getEncoding()
           
 java.lang.String getFullUri()
           
 java.util.Map<java.lang.String,java.lang.String> getHeaders()
           
 java.lang.String getMethod()
           
 java.lang.String getType()
           
 java.lang.String getUri()
           
 TestWebScriptServer.Request setArgs(java.util.Map<java.lang.String,java.lang.String> args)
           
 TestWebScriptServer.Request setBody(byte[] body)
           
 TestWebScriptServer.Request setEncoding(java.lang.String encoding)
           
 TestWebScriptServer.Request setHeaders(java.util.Map<java.lang.String,java.lang.String> headers)
           
 TestWebScriptServer.Request setType(java.lang.String contentType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestWebScriptServer.Request

public TestWebScriptServer.Request(TestWebScriptServer.Request req)

TestWebScriptServer.Request

public TestWebScriptServer.Request(java.lang.String method,
                                   java.lang.String uri)
Method Detail

getMethod

public java.lang.String getMethod()

getUri

public java.lang.String getUri()

getFullUri

public java.lang.String getFullUri()

setArgs

public TestWebScriptServer.Request setArgs(java.util.Map<java.lang.String,java.lang.String> args)

getArgs

public java.util.Map<java.lang.String,java.lang.String> getArgs()

setHeaders

public TestWebScriptServer.Request setHeaders(java.util.Map<java.lang.String,java.lang.String> headers)

getHeaders

public java.util.Map<java.lang.String,java.lang.String> getHeaders()

setBody

public TestWebScriptServer.Request setBody(byte[] body)

getBody

public byte[] getBody()

setEncoding

public TestWebScriptServer.Request setEncoding(java.lang.String encoding)

getEncoding

public java.lang.String getEncoding()

setType

public TestWebScriptServer.Request setType(java.lang.String contentType)

getType

public java.lang.String getType()


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