com.hibegin.http.server.api.HttpRequest 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.api;
import com.hibegin.http.HttpMethod;
import com.hibegin.http.server.ApplicationContext;
import com.hibegin.http.server.config.RequestConfig;
import com.hibegin.http.server.config.ServerConfig;
import com.hibegin.http.server.handler.ReadWriteSelectorHandler;
import com.hibegin.http.server.web.cookie.Cookie;
import com.hibegin.http.server.web.session.HttpSession;
import java.io.File;
import java.io.InputStream;
import java.nio.ByteBuffer;
import java.util.Map;
public interface HttpRequest {
Map getParamMap();
Map decodeParamMap();
String getHeader(String key);
String getRemoteHost();
String getUri();
String getUrl();
String getFullUrl();
String getRealPath();
String getQueryStr();
HttpMethod getMethod();
Cookie[] getCookies();
HttpSession getSession();
boolean getParaToBool(String key);
String getParaToStr(String key);
int getParaToInt(String key);
File getFile(String key);
Map getAttr();
String getScheme();
Map getHeaderMap();
InputStream getInputStream();
RequestConfig getRequestConfig();
ReadWriteSelectorHandler getHandler();
long getCreateTime();
ByteBuffer getInputByteBuffer();
ByteBuffer getRequestBodyByteBuffer();
ByteBuffer getRequestBodyByteBuffer(int offset);
ServerConfig getServerConfig();
ApplicationContext getApplicationContext();
String getHttpVersion();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy