code: @Override
  	public Result<Void> getAPIExample(AuthzTrans trans, HttpServletResponse resp, String nameOrContentType, boolean optional) {
  		TimeTaken tt = trans.start(API_EXAMPLE, Env.SUB);
  		try {
  			String content =Examples.print(apiDF.getEnv(), nameOrContentType, optional); 
  			resp.getOutputStream().print(content);
  			setContentType(resp,content.contains("<?xml")?TYPE.XML:TYPE.JSON);
  			return Result.ok();
  		} catch (Exception e) {
  			trans.error().log(e,IN,API_EXAMPLE);
  			return Result.err(Result.ERR_NotImplemented,e.getMessage());
  		} finally {
  			tt.done();
  		}
  	}
docs: /* (non-Javadoc)
  @see com.att.authz.facade.AuthzFacade#getAPIExample(com.att.authz.env.AuthzTrans, javax.servlet.http.HttpServletResponse, java.lang.String)