All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fireflysource.net.websocket.client.WebSocketClientRequest Maven / Gradle / Ivy

There is a newer version: 5.0.2
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy