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

com.hibegin.http.server.handler.RequestEvent Maven / Gradle / Ivy

Go to download

Simple, flexible, less dependent, more extended. Less memory footprint, can quickly build Web project. Can quickly run embedded, Android devices

There is a newer version: 0.3.162
Show newest version
package com.hibegin.http.server.handler;

import java.nio.channels.SelectionKey;

public class RequestEvent {

    private final SelectionKey selectionKey;
    private final byte[] requestBody;

    public RequestEvent(SelectionKey selectionKey, byte[] data) {
        this.selectionKey = selectionKey;
        this.requestBody = data;
    }

    public SelectionKey getSelectionKey() {
        return selectionKey;
    }

    public byte[] getRequestBody() {
        return requestBody;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy