org.apache.wink.client
Class MockHttpServer.MockHttpServerResponse
java.lang.Object
org.apache.wink.client.MockHttpServer.MockHttpServerResponse
- Enclosing class:
- MockHttpServer
public static class MockHttpServer.MockHttpServerResponse
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockHttpServer.MockHttpServerResponse
public MockHttpServer.MockHttpServerResponse()
setMockResponseHeaders
public void setMockResponseHeaders(java.util.Map<java.lang.String,java.lang.String> headers)
setMockResponseHeader
public void setMockResponseHeader(java.lang.String name,
java.lang.String value)
getMockResponseHeaders
public java.util.Map<java.lang.String,java.lang.String> getMockResponseHeaders()
setMockResponseCode
public void setMockResponseCode(int responseCode)
getMockResponseCode
public int getMockResponseCode()
setMockResponseContent
public void setMockResponseContent(java.lang.String content)
setMockResponseContent
public void setMockResponseContent(byte[] content)
getMockResponseContent
public byte[] getMockResponseContent()
setMockResponseContentType
public void setMockResponseContentType(java.lang.String type)
getMockResponseContentType
public java.lang.String getMockResponseContentType()
setMockResponseContentEchoRequest
public void setMockResponseContentEchoRequest(boolean echo)
getMockResponseContentEchoRequest
public boolean getMockResponseContentEchoRequest()
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.