code: public DataGridStateCodec createStateCodec(ServletRequest request, String gridName) {
          DefaultDataGridStateCodec codec = new DefaultDataGridStateCodec(this);
          codec.setServletRequest(request);
          codec.setGridName(gridName);
          return codec;
      }
docs: Create a {@link DataGridStateCodec} for a grid with the given name for the given {@link ServletRequest}.
  @param request the current request
  @param gridName a data grid's name
  @return the state encoder / decoder for a data grid's request state