com.meterware.pseudoserver
public abstract class PseudoServlet extends Object
Field Summary | |
---|---|
static String | CONTENTS |
Method Summary | |
---|---|
protected byte[] | getBody() |
WebResource | getGetResponse()
Returns a resource object as a result of a get request.
|
protected String | getHeader(String name)
Returns the header with the specified name. |
protected String[] | getParameter(String name)
Returns the values for the parameter with the specified name. |
WebResource | getPostResponse() |
WebResource | getPutResponse() |
protected Reader | getReader()
Returns a reader for the body of the request.
|
protected HttpRequest | getRequest() |
WebResource | getResponse(String methodType)
Returns a resource object as a result of a get request.
|