src/main/java/js/servlet/TinyContainer.java
private HttpServletRequest getHttpServletRequest() {
		RequestContext context = getInstance(RequestContext.class);
		HttpServletRequest request = context.getRequest();
		if (request == null) {
			throw new BugError("Attempt to use not initialized HTTP request.");
		}
		return request;
	}
private HttpServletRequest getHttpServletRequest() {
		RequestContext context = getInstance(RequestContext.class);
		HttpServletRequest request = context.getRequest();
		if (request == null) {
			throw new BugError("Attempt to use not initialized HTTP request.");
		}
		return request;
	}
Get HTTP request from current request context.

@return current HTTP request.
@throws BugError if attempt to use not initialized HTTP request.