com.hibegin.http.server.handler.RequestEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of simplewebserver Show documentation
Show all versions of simplewebserver Show documentation
Simple, flexible, less dependent, more extended. Less memory footprint, can quickly build Web project.
Can quickly run embedded, Android devices
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