public void doPython ( StaplerRequest req , StaplerResponse rsp ) throws IOException , ServletException { setHeaders ( rsp ) ; rsp . serveExposedBean ( req , bean , Flavor . PYTHON ) ; }
Exposes the bean as Python literal .