com.fireflysource.net.websocket.client.WebSocketClientRequest Maven / Gradle / Ivy
package com.fireflysource.net.websocket.client;
import com.fireflysource.net.websocket.common.WebSocketMessageHandler;
import com.fireflysource.net.websocket.common.model.WebSocketPolicy;
import java.util.List;
/**
* @author Pengtao Qiu
*/
public class WebSocketClientRequest {
private String url;
private WebSocketPolicy policy;
private List extensions;
private List subProtocols;
private WebSocketMessageHandler handler;
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public WebSocketPolicy getPolicy() {
return policy;
}
public void setPolicy(WebSocketPolicy policy) {
this.policy = policy;
}
public List getExtensions() {
return extensions;
}
public void setExtensions(List extensions) {
this.extensions = extensions;
}
public List getSubProtocols() {
return subProtocols;
}
public void setSubProtocols(List subProtocols) {
this.subProtocols = subProtocols;
}
public WebSocketMessageHandler getHandler() {
return handler;
}
public void setHandler(WebSocketMessageHandler handler) {
this.handler = handler;
}
}