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

io.github.jiashunx.masker.rest.framework.MWebsocketRequest Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
package io.github.jiashunx.masker.rest.framework;

import io.netty.handler.codec.http.websocketx.WebSocketServerHandshaker;

/**
 * @author jiashunx
 */
public class MWebsocketRequest extends MRestRequest {

    private MWebsocketContext websocketContext;
    private WebSocketServerHandshaker handshaker;

    public MWebsocketRequest() {}

    public MWebsocketRequest(MRestRequest restRequest) {
        super(restRequest);
    }

    public MWebsocketContext getWebsocketContext() {
        return websocketContext;
    }

    public void setWebsocketContext(MWebsocketContext websocketContext) {
        this.websocketContext = websocketContext;
    }

    public WebSocketServerHandshaker getHandshaker() {
        return handshaker;
    }

    public void setHandshaker(WebSocketServerHandshaker handshaker) {
        this.handshaker = handshaker;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy