code: @Override
  	public void handleRequest(final Request request) {
  		// Clear pressed
  		clearPressed();
  
  		String requestValue = request.getParameter(getId());
  		boolean pressed = "x".equals(requestValue);
  
  		// Only process on a POST
  		if (pressed && !"POST".equals(request.getMethod())) {
  			LOG.warn("Button pressed on a request that is not a POST. Will be ignored.");
  			return;
  		}
  
  		setPressed(pressed, request);
  	}
docs: Override handleRequest in order to perform processing for this component. This implementation checks whether the
  button has been pressed in the request.
  
  @param request the request being responded to.