fm.liveswitch.WebSocketMockResponse Class Reference

Public Member Functions

 WebSocketMockResponse ()
 
void connect () throws IOException
 
void setResponseUri (URI uri)
 
HashMap< String, String > getHeaders ()
 
void setContentLength (long contentLength)
 
int getContentLength ()
 
void setStatusCode (int statusCode)
 
int getStatusCode ()
 
void setContentType (String contentType)
 
String getContentType ()
 

Protected Member Functions

 WebSocketMockResponse (URL url)
 

Constructor & Destructor Documentation

◆ WebSocketMockResponse() [1/2]

fm.liveswitch.WebSocketMockResponse.WebSocketMockResponse ( )

◆ WebSocketMockResponse() [2/2]

fm.liveswitch.WebSocketMockResponse.WebSocketMockResponse ( URL  url)
protected

Member Function Documentation

◆ connect()

void fm.liveswitch.WebSocketMockResponse.connect ( ) throws IOException

◆ getContentLength()

int fm.liveswitch.WebSocketMockResponse.getContentLength ( )

◆ getContentType()

String fm.liveswitch.WebSocketMockResponse.getContentType ( )

◆ getHeaders()

HashMap<String, String> fm.liveswitch.WebSocketMockResponse.getHeaders ( )

◆ getStatusCode()

int fm.liveswitch.WebSocketMockResponse.getStatusCode ( )

◆ setContentLength()

void fm.liveswitch.WebSocketMockResponse.setContentLength ( long  contentLength)

◆ setContentType()

void fm.liveswitch.WebSocketMockResponse.setContentType ( String  contentType)

◆ setResponseUri()

void fm.liveswitch.WebSocketMockResponse.setResponseUri ( URI  uri)

◆ setStatusCode()

void fm.liveswitch.WebSocketMockResponse.setStatusCode ( int  statusCode)