Example usage for org.apache.wicket Page getResponse

List of usage examples for org.apache.wicket Page getResponse

Introduction

In this page you can find the example usage for org.apache.wicket Page getResponse.

Prototype

public final Response getResponse() 

Source Link

Usage

From source file:sf.wicklet.gwt.server.ajax.impl.AbstractGwtAjaxResponse.java

License:Apache License

/**
 * @param page The page which components are being updated.
 *///from  w w  w .j  a  v a  2s  .c  o  m
@SuppressWarnings("synthetic-access")
public AbstractGwtAjaxResponse(final Page page) {
    this.page = page;
    final Response response = page.getResponse();
    encodingBodyResponse = new AjaxResponse(response);
    encodingHeaderResponse = new AjaxResponse(response);
}