text:
<?php

namespace BackEnd;

use Zend\Mvc\ModuleRouteListener;
use Zend\Mvc\MvcEvent;
use Zend\Session\Container;

class Module
{
    public function onBootstrap(MvcEvent $e)
    {
        $eventManager        = $e->getApplication()->getEventManager();
        $moduleRouteListener = new ModuleRouteListener();
        $moduleRouteListener->attach($eventManager);
        $this->bootstrapSession($e);
        $eventManager->attach(MvcEvent::EVENT_ROUTE, function($e) use ($eventManager){
        	$sm = $e->getApplication()->getServiceManager();
        	$route = $e->getRouteMatch();
        	$controller = $route->getParam('controller');
        	$controller = strtolower(substr($controller, strrpos($controller, '\\')+1));
        	$action = $route->getParam('action');
        	$session = new Container('user');
        	if($controller && $action){
        		//验证是否登录
        		if($controller == 'login' || ($controller == 'acl' && $action == 'clearCache')
        		|| $controller == 'ajax'
        				|| (isset($session->UserID) && $session->Role == 'admin')){
        			return;
        		}
        		//远程调用系统方法
        		if ($controller == 'system') {
        			return;
        		}
        		if(!isset($session->UserID)){
        			header('Location:/login');
        			exit;
        		}
        		//admin log

        		$adminLogTable = $sm->get('AdminLogTable');
        		$params = $e->getRequest()->getQuery()->toArray();
        		$log_info = "Controller:[{$controller}];Action:[{$action}];Query:[".http_build_query($params)."]";
        		$logInfo = array('user_id' => $session->UserID, 'user_name' => $session->Name,
        				'opt_type' => 3, 'info' => $log_info,
        				'controller' => $controller, 'action' => $action);
        		$adminLogTable->addLogInfo($logInfo);
        		//验证ACL
        		$controller = strtolower($controller);
        		$resource = $controller . '_' . $action;
        		$myAcl = $sm->get('acl');
        		try{
        			if(empty($session->Role) || !$myAcl->acl->isAllowed($session->Role
        					, $resource)){
        				throw new \Exception('Not Allow');
        			}
        		}catch(\Exception $err){
        			$e->setError('error');
        			$e->setParam('exception', $err);
        			$eventManager->trigger(MvcEvent::EVENT_DISPATCH_ERROR, $e);
        		}

        	}
        });
        $translator = $e->getApplication()
		->getServiceManager()->get('translator');
        \Zend\Validator\AbstractValidator::setDefaultTranslator($translator);
        $sys_config = array();
        if (file_exists('./data/sys_config.php')) {
        	$sys_config = include'./data/sys_config.php';
        }
        define("__SHOP_URL", isset($sys_config['shop_url']) ? $sys_config['shop_url'] : '');
        define('__LIST_ORDER', 'ASC');
        define('__IMG_URL', '');
    }
    public function bootstrapSession($e)
    {
    	$session = $e->getApplication()
    	->getServiceManager()
    	->get('Zend\Session\SessionManager');
    	$session->start();

    	$container = new Container('initialized');
    	if (!isset($container->init)) {
    		$session->regenerateId(true);
    		$container->init = 1;
    	}
    }
    public function getConfig()
    {
        return include __DIR__ . '/config/module.config.php';
    }
    public function getServiceConfig()
    {
    	return include __DIR__ . '/config/service.config.php';
    }
    public function getViewHelperConfig(){
    	return include __DIR__ . '/config/viewhelper.config.php';
    }
    public function getAutoloaderConfig()
    {
        return array(
            'Zend\Loader\StandardAutoloader' => array(
                'namespaces' => array(
                    __NAMESPACE__ => __DIR__ . '/',
                	'Custom' => dirname(dirname(__DIR__)) . '/vendor/library/Custom/'
                ),
            ),
        );
    }
}


text:
package collins.provisioning

import org.specs2.mutable._
import java.io.File

class ProfileLoaderSpec extends Specification {
  val profiles = {
    val file = new File("test/resources/profiles.yaml")
    ProfileLoader.fromFile(file)
  }
  "The test profiles.yaml should load" should {
    "all profiles" >> {
      profiles.size === 37
    }
    "a profile with all values specified" >> {
      val profile = profiles.find(_.identifier == "searchnode").get
      profile.label === "Search Server"
      profile.prefix === "search"
      profile.allow_suffix === true
      val role = profile.role
      role.primary_role === Some("SEARCH")
      role.pool === Some("SEARCH_POOL")
      role.secondary_role === Some("MASTER")
      role.requires_primary_role === false
      role.requires_secondary_role === true
      role.requires_pool === false
    }
    "a profile with mostly defaults" >> {
      val profile = profiles.find(_.identifier == "webnode").get
      profile.label === "Web Server"
      profile.prefix === "web"
      profile.allow_suffix === false
      val role = profile.role
      role.primary_role === None
      role.secondary_role === None
      role.pool === None
      role.requires_primary_role === true
      role.requires_secondary_role === true
      role.requires_pool === true
    }
  }
}

redpajama_set_name: RedPajamaGithub


text:
/**
 * @requires OpenLayers/Filter.js
 */

/**
 * Class: OpenLayers.Filter.FeatureId
 * This class represents a ogc:FeatureId Filter, as being used for rule-based SLD
 * styling
 *
 * Inherits from
 * - <OpenLayers.Filter>
 */
OpenLayers.Filter.FeatureId = OpenLayers.Class(OpenLayers.Filter, {

    /**
     * APIProperty: fids
     * {Array(String)} Feature Ids to evaluate this rule against. To be passed
     * To be passed inside the params object.
     */
    fids: null,

    /**
     * Constructor: OpenLayers.Filter.FeatureId
     * Creates an ogc:FeatureId rule.
     *
     * Parameters:
     * options - {Object} An optional object with properties to set on the
     *           rule
     *
     * Returns:
     * {<OpenLayers.Filter.FeatureId>}
     */
    initialize: function(options) {
        this.fids = [];
        OpenLayers.Filter.prototype.initialize.apply(this, [options]);
    },

    /**
     * APIMethod: evaluate
     * evaluates this rule for a specific feature
     *
     * Parameters:
     * feature - {<OpenLayers.Feature>} feature to apply the rule to.
     *           For vector features, the check is run against the fid,
     *           for plain features against the id.
     *
     * Returns:
     * {Boolean} true if the rule applies, false if it does not
     */
    evaluate: function(feature) {
        for (var i=0, len=this.fids.length; i<len; i++) {
            var fid = feature.fid || feature.id;
            if (fid == this.fids[i]) {
                return true;
            }
        }
        return false;
    },

    /**
     * APIMethod: clone
     * Clones this filter.
     *
     * Returns:
     * {<OpenLayers.Filter.FeatureId>} Clone of this filter.
     */
    clone: function() {
        var filter = new OpenLayers.Filter.FeatureId();
        OpenLayers.Util.extend(filter, this);
        filter.fids = this.fids.slice();
        return filter;
    },

    CLASS_NAME: "OpenLayers.Filter.FeatureId"
});


text:
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Net.Mail;
using System.Threading;
using EspaceClient.Services.Data.Afnor;

namespace EspaceClient.Services.Services.Implementations.Afnor
{
    public class MailTools
    {
        public static bool SendMailReprise(AccesDonnees acc, string mailExpediteur, string mailSujet, string mailContenu, string mailDest)
        {

            bool ModeProduction = ConfigurationManager.AppSettings["Environnement"] == "PRODUCTION";
            string MailDebug = ConfigurationManager.AppSettings["MailDEBUG"];

            List<string> listDestMailDebug = MailDebug.Split(';').ToList();

            string debug = string.Empty;
            string body = mailContenu;
            string sujet = mailSujet;
            body = body.Replace("[URL_SITE]", ConfigurationManager.AppSettings["Default_UrlSite"]);

            SmtpClient client = new SmtpClient();

            try
            {
                MailMessage mail = new MailMessage();
                mail.From = new MailAddress(mailExpediteur);
                mail.IsBodyHtml = true;
                mail.Body = body;

                if (ModeProduction)
                {
                    mail.To.Add(mailDest);
                }
                else
                {
                    debug = " DEBUG destinataire ->  " + mailDest + " <- ";
                    foreach (string destMail in listDestMailDebug)
                    {
                        mail.To.Add(new MailAddress(destMail));
                    }
                }
                mail.Subject = debug + sujet;

                long idMail = acc.InsertHistoMail(mailDest, mail.From.Address, mail.Subject, mail.Body, "codeMail", 0);
                mail.Body = body;

                try
                {
                    client.Send(mail);

                }
                catch (Exception e)
                {
                    acc.LogInsertErreur(e);

                    // Tentative de renvoi
                    try
                    {
                        client.Send(mail);
                        acc.LogInsertInformation("Retry OK" + mailDest);
                    }
                    catch
                    {
                        acc.InsertHistoMailStatus(idMail, 10); // ERREUR de reprise
                        acc.LogInsertInformation("Retry KO" + mailDest);

                    }
                }

            }
            catch (Exception e)
            {
                acc.LogInsertErreur(e);
            }

            return true;
        }

        public static bool SendMail(AccesDonnees acc, string codeMail, Dictionary<string, string> dicValues, string dest)
        {
            List<string> destLis = new List<string>();
            destLis.Add(dest);

            return SendMail(acc, codeMail, dicValues, destLis);
        }
        public static bool SendMail(AccesDonnees acc, string codeMail, Dictionary<string, string> dicValues, List<string> dest)
        {

            bool ModeProduction = ConfigurationManager.AppSettings["Environnement"] == "PRODUCTION";
            string MailDebug = ConfigurationManager.AppSettings["MailDEBUG"];

            if (MailDebug == null)
                MailDebug = "";

            List<string> listDestMailDebug = MailDebug.Split(';').ToList();

            List<MailGabarit> list = acc.DataContext.MailGabarits.Where(tbl => tbl.Code == codeMail).ToList();

            if (list.Count > 0)
            {
                MailGabarit mailGab = list[0];

                string debug = string.Empty;
                string body = mailGab.Contenu;
                string sujet = mailGab.Sujet;
                foreach (string key in dicValues.Keys)
                {
                    body = body.Replace(key, dicValues[key]);
                    sujet = sujet.Replace(key, dicValues[key]);
                }

                body = body.Replace("[BACKGROUND_LEFT_URL]", ConfigurationManager.AppSettings["MailResourceSite"] + "images/mailtemplates/bg-left.png")
                           .Replace("[BACKGROUND_RIGHT_URL]", ConfigurationManager.AppSettings["MailResourceSite"] + "images/mailtemplates/bg-right.png")
                           .Replace("[LOGO_AFNOR_URL]", ConfigurationManager.AppSettings["MailResourceSite"] + "Content/Img/mailtemplates/FR/logo_afnor.png")
                           .Replace("[LOGO_ESPACECLIENT_URL]", ConfigurationManager.AppSettings["MailResourceSite"] + "Content/img/mailtemplates/FR/logo_espaceclient.png");

                SmtpClient client = new SmtpClient();

                try
                {
                    for (int i = 0; i < dest.Count; i++)
                    {
                        MailMessage mail = new MailMessage();
                        mail.From = new MailAddress(mailGab.Expediteur);
                        mail.IsBodyHtml = true;
                        mail.Body = body;

                        if (ModeProduction)
                        {
                            mail.To.Add(dest[i]);
                        }
                        else
                        {
                            debug = " DEBUG destinataire ->  " + dest[i] + " <- ";
                            foreach (string destMail in listDestMailDebug)
                            {
                                mail.To.Add(new MailAddress(destMail));
                            }
                        }
                        mail.Subject = debug + sujet;
                        long idMail = acc.InsertHistoMail(dest[i], mail.From.Address, mail.Subject, mail.Body, "codeMail", 0);

                        mail.Body = body;

                        try
                        {

                            client.Send(mail);
                            Thread.Sleep(100);

                        }
                        catch (Exception e)
                        {
                            acc.LogInsertErreur(e);

                            // Tentative de renvoi
                            try
                            {
                                client.Send(mail);
                                acc.LogInsertInformation("Retry OK" + dest[i]);
                            }
                            catch
                            {
                                acc.InsertHistoMailStatus(idMail, 2); // ERREUR
                                acc.LogInsertInformation("Retry KO" + dest[i]);
                            }

                        }
                    }

                }
                catch (Exception e) { acc.LogInsertErreur(e); }

                return true;
            }
            else
            {

                return false;
            }

        }
    }
}


text:
steal('can/model', 'jquery/lang/object', function(){

can.Model('can.Model.Local',{

	compare : {},

	identifier:function(){
		return parseInt(100000 * Math.random());
	},

	localStore: function(cb){
		var name = this.shortName,
			data = $.evalJSON( window.localStorage[name] || (window.localStorage[name] = "{}") ),
			res = cb.call(this, data);

		if(res !== false){
			window.localStorage[name] = $.toJSON(data);
		}
	},

	findAll: function(params, success){
		var instances = [],
			def = $.Deferred().then(success);

		this.localStore(function(objs){
			for(var o in objs){
				if($.Object.same(objs[o], params, this.compare)){
					instances.push(new this(objs[o]));
				}
			}
		});

		return def.resolve(instances);
	},

	findOne: function(id , success){
		var idProp = this.id,
			def = $.Deferred().then(success),
			one = undefined;

		this.localStore(function(objs){
			for(var o in objs){
				if(objs[o][idProp] == id){
					one = new this(objs[id]);
					break;
				}
			}
		});

		return def.resolve(one);
	},

	destroyAll: function(params, success){
		var def = $.Deferred().then(success);

		this.localStore(function(objs){
			$.each(params, function(){
				delete objs[this]
			});
		});

		return def.resolve({});
	},

	destroy: function(id, success){
		return this.destroyAll([id], success);
	},

	create: function(attrs, success){
		var idProp = this.id,
			def = $.Deferred().then(success);

		this.localStore(function(objs){
			attrs[idProp] = attrs[idProp] || this.identifier();
			objs[attrs[idProp]] = attrs;
		});

		return def.resolve(attrs);
	}

})

});


text:
import { Meteor } from 'meteor/meteor';
import OrganizationLogo from '/organizations/logo/collection/collection';

Meteor.publish('allOrganizationLogo', () => {
  return OrganizationLogo.find({
    'metadata._Resumable': {
      $exists: false,
    },
  });
});


text:
<!--@subject Log Cleanup Warnings @-->
<!--@vars
{"var warnings":"Log Cleanup Warnings"}
@-->
Alertas de Limpeza de Registro:

{{var warnings}}


text:
//------------------------------------------------------------------------------
// <copyright project="Examples" file="Program.cs" company="Jordan Robinson">
//     Copyright (c) 2013 Jordan Robinson. All rights reserved.
//
//     The use of this software is governed by the Microsoft Public License
//     which is included with this distribution.
// </copyright>
//------------------------------------------------------------------------------

namespace Examples
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Bloomberg API Emulator Examples");
            Console.WriteLine("http://bemu.codeplex.com/");
            Console.WriteLine("By: Robinson664");
            Console.WriteLine();

            Console.WriteLine("To send a historical data request, push 1");
            Console.WriteLine("To send a intraday bar data request, push 2");
            Console.WriteLine("To send a intraday tick data request, push 3");
            Console.WriteLine("To send a market data request, push 4");
            Console.WriteLine("To send a reference data request, push 5");

            string input = Console.ReadLine();
            Console.WriteLine();
            Console.WriteLine();
            bool informationReturned = true;

            switch (input)
            {
                case "1":
                    HistoricalDataRequest.RunExample();
                    break;
                case "2":
                    IntradayBarDataRequest.RunExample();
                    break;
                case "3":
                    IntradayTickDataRequest.RunExample();
                    break;
                case "4":
                    MarketDataRequest.RunExample();
                    break;
                case "5":
                    ReferenceDataRequest.RunExample();
                    break;
                default:
                    informationReturned = false;
                    break;
            }

            if (informationReturned)
            {
                Console.WriteLine();
                Console.WriteLine("Please note that the data in this request is completely random: it is not real data.");
                Console.WriteLine("Do not make any trading or investment decisions using the data shown here.");
            }
            Console.WriteLine();
            Console.WriteLine("Push enter to quit the application.");
            Console.ReadLine();
        }

    }
}


text:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

    <title>org.jboss.resource.deployment.RARDeployment</title>
    <meta http-equiv="Content-Type" CONTENT="text/html; charset=UTF-8">
    <link rel="stylesheet" type="text/css" href="stylesheet.css">

org.jboss.resource.deployment

Class RARDeployment

Instance

    JBoss JMS Resource Adapter

<form>

Attribute Summary

    java.lang.String

    <input type="text" style="width:100%" name="attributeValue">

         Read Only         <input type="button" onclick="parent.instanceList.addMBeanAttribute('Name')" value="Monitor this">

  Name
    Return the service name

    int

    <input type="text" style="width:100%" name="attributeValue">

         Read Only         <input type="button" onclick="parent.instanceList.addMBeanAttribute('State')" value="Monitor this">

  State
    Return the service state

    java.lang.String

    <input type="text" style="width:100%" name="attributeValue">

         Read Only         <input type="button" onclick="parent.instanceList.addMBeanAttribute('StateString')" value="Monitor this">

  StateString
    Return the service's state as a String

    org.jboss.resource.metadata.ConnectorMetaData

    <input type="text" style="width:100%" name="attributeValue">

         Read Only         <input type="button" onclick="parent.instanceList.addMBeanAttribute('MetaData')" value="Monitor this">

  MetaData
    The meta data

    java.lang.String

    <input type="text" style="width:100%" name="attributeValue">

         Read Only         <input type="button" onclick="parent.instanceList.addMBeanAttribute('AuthenticationMechanism')" value="Monitor this">

  AuthenticationMechanism
    The authentication mechanism

    java.lang.String

    <input type="text" style="width:100%" name="attributeValue">

         Read Only         <input type="button" onclick="parent.instanceList.addMBeanAttribute('EISType')" value="Monitor this">

  EISType
    The EIS type

    java.lang.String

    <input type="text" style="width:100%" name="attributeValue">

         Read Only         <input type="button" onclick="parent.instanceList.addMBeanAttribute('License')" value="Monitor this">

  License
    The license

    java.lang.String

    <input type="text" style="width:100%" name="attributeValue">

         Read Only         <input type="button" onclick="parent.instanceList.addMBeanAttribute('RAClass')" value="Monitor this">

  RAClass
    The resource adapter class

    java.lang.String

    <input type="text" style="width:100%" name="attributeValue">

         Read Only         <input type="button" onclick="parent.instanceList.addMBeanAttribute('RAVersion')" value="Monitor this">

  RAVersion
    The resource adapter version

    java.lang.String

    <input type="text" style="width:100%" name="attributeValue">

         Read Only         <input type="button" onclick="parent.instanceList.addMBeanAttribute('TransactionSupport')" value="Monitor this">

  TransactionSupport
    The transaction support

    java.lang.String

    <input type="text" style="width:100%" name="attributeValue">

         Read Only         <input type="button" onclick="parent.instanceList.addMBeanAttribute('VendorName')" value="Monitor this">

  VendorName
    The vendor name

    java.lang.String

    <input type="text" style="width:100%" name="attributeValue">

         Read Only         <input type="button" onclick="parent.instanceList.addMBeanAttribute('Version')" value="Monitor this">

  Version
    The spec version

    boolean

    <input type="text" style="width:100%" name="attributeValue">

         Read Only         <input type="button" onclick="parent.instanceList.addMBeanAttribute('ReauthenticationSupport')" value="Monitor this">

  ReauthenticationSupport
    Whether reauthentication support is supported

    javax.resource.spi.ResourceAdapter

    <input type="text" style="width:100%" name="attributeValue">

         Read Only         <input type="button" onclick="parent.instanceList.addMBeanAttribute('ResourceAdapter')" value="Monitor this">

  ResourceAdapter
    The resource adapter instance

</form>

Operation Summary

    void

  create()
    create service lifecycle operation

    void

  start()
    start service lifecycle operation

    void

  stop()
    stop service lifecycle operation

    void

  destroy()
    destroy service lifecycle operation

    void

  jbossInternalLifecycle( java.lang.String )
    Internal lifecycle (for internal use)

    javax.resource.spi.ActivationSpec

  createActivationSpec( java.lang.Class  java.util.Collection )
    Create an activation spec

    java.lang.Void

  endpointActivation( javax.resource.spi.endpoint.MessageEndpointFactory  javax.resource.spi.ActivationSpec )
    Active the endpoint

    java.lang.Void

  endpointDeactivation( javax.resource.spi.endpoint.MessageEndpointFactory  javax.resource.spi.ActivationSpec )
    Deactive the endpoint

      Operation Detail

create

public void create()

create service lifecycle operation

Parameters:

start

public void start()

start service lifecycle operation

Parameters:

stop

public void stop()

stop service lifecycle operation

Parameters:

destroy

public void destroy()

destroy service lifecycle operation

Parameters:

jbossInternalLifecycle

public void jbossInternalLifecycle( java.lang.String )

Internal lifecycle (for internal use)

Parameters:

method - The lifecycle method

createActivationSpec

public javax.resource.spi.ActivationSpec createActivationSpec( java.lang.Class  java.util.Collection )

Create an activation spec

Parameters:

MessagingType - The type of the message listener

ActivationConfig - A collection of activation config properties

endpointActivation

public java.lang.Void endpointActivation( javax.resource.spi.endpoint.MessageEndpointFactory  javax.resource.spi.ActivationSpec )

Active the endpoint

Parameters:

MessageEndpointFactory - The message endpoint factory

ActivationSpec - The activation spec

endpointDeactivation

public java.lang.Void endpointDeactivation( javax.resource.spi.endpoint.MessageEndpointFactory  javax.resource.spi.ActivationSpec )

Deactive the endpoint

Parameters:

MessageEndpointFactory - The message endpoint factory

ActivationSpec - The activation spec


text:
<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="certfificate monitor">
    <meta name="author" content="Jonas Friedmann <j@frd.mn>">
    <link rel="icon" href="assets/images/favicon.ico">

    <title><?= GENERAL_TITLE ?> - <?=$this->e($title)?></title>

    <link href="assets/css/style.css" rel="stylesheet">

            <?= GENERAL_TITLE ?>
            <?= GENERAL_VERSION ?>
            <button disabled class='btn btn-primary pull-right'>Add</button>

      <?=$this->section('content')?>

Made by frdmn under MIT license.


text:
configuration :default do
  host 'db001.prod'
  username 'postgres'
  password 'asdfasdf'
  port 5432
end

# each block is really a configuration.
# configurations are just ways of setting defaults for something
# on day 1, all attributes will be freeform
configuration :exchange_prod do
  configuration :default
  database 'exchange_prod'
end

# to start, we will just support warehouse, backup and restore
# each block will take all necessary configuration params
# inheritance will be a day 2 solution.
warehouse 'exchange_uploads' do
  configuration :exchange_prod

  interval :monthly
  indexes true
end

# define a backup. give it a database name and a destination
backup :exchange_prod do
  filename 'exchnage_prod_daily'
end

# define a globals backup. just give it a destination filename
backup_globals do
  configuration :default
end

backup :exchange_sandbox

restore :exchange_prod do
  filename 'exchange_prod_daily'
end


text:
package net.myrrix.online.eval;

/**
 * Implementations of this interface encapsulate the result of an evaluation process. The details may vary
 * across processes, but all are guaranteed to provide at least one score, where bigger is better.
 *
 * @author Sean Owen
 * @since 1.0
 */
public interface EvaluationResult {

  /**
   * @return some value, whose nature depends on the implementation, which quantifies the evaluation. Bigger
   *  is better.
   */
  double getScore();

}


text:
// -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2009-2011 Google, All Rights reserved
// Copyright 2011-2019 MIT, All rights reserved
// Released under the Apache License, Version 2.0
// http://www.apache.org/licenses/LICENSE-2.0

package com.google.appinventor.server;

import com.google.appinventor.common.utils.StringUtils;
import com.google.appinventor.server.storage.StorageIo;
import com.google.appinventor.server.storage.StorageIoInstanceHolder;
import com.google.appinventor.server.util.CacheHeaders;
import com.google.appinventor.server.util.CacheHeadersImpl;
import com.google.appinventor.shared.rpc.Nonce;
import com.google.appinventor.shared.rpc.ServerLayout;
import com.google.appinventor.shared.rpc.project.ProjectSourceZip;
import com.google.appinventor.shared.rpc.project.RawFile;
import com.google.appinventor.shared.storage.StorageUtil;

import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Date;
import java.util.NoSuchElementException;
import java.util.logging.Logger;

/**
 * Servlet for downloading project source and output files.
 *
 */
public class BuildOutputServlet extends OdeServlet {

  /*
   * URIs for Build Output requests are structured as follows:
   *    /<baseurl>/<nonce>
   */

  // Logging support
  private static final Logger LOG = Logger.getLogger(BuildOutputServlet.class.getName());

  // Object used to safely set cache headers in responses
  private static final CacheHeaders CACHE_HEADERS = new CacheHeadersImpl();

  // Content type for response header (to avoid security vulnerabilities)
  private static final String CONTENT_TYPE = "text/html; charset=utf-8";

  private final FileExporter fileExporter = new FileExporterImpl();

  private final StorageIo storageIo = StorageIoInstanceHolder.getInstance();

  @Override
  public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException {
    // Set a default http header to avoid security vulnerabilities.
    CACHE_HEADERS.setNotCacheable(resp);
    resp.setContentType(CONTENT_TYPE);
    if ("store=1".equals(req.getQueryString())) {  // Play Store companion adds this for Chrome to
                                                   // do the right thing w.r.t. the download
      String body = "<!DOCTYPE html><meta http-equiv=\"refresh\" content=\"0; url=" +
          req.getRequestURI() + "\" />";
      resp.setContentLength(body.length());
      ServletOutputStream os = resp.getOutputStream();
      os.write(body.getBytes());
      os.close();
      return;
    }

    RawFile downloadableFile;

    String userId = null;
    String nonceValue = null;

    try {
      String uri = req.getRequestURI();
      // First, call split with no limit parameter.
      String[] uriComponents = uri.split("/");
      if (uriComponents.length < 3) {
        resp.setStatus(HttpServletResponse.SC_BAD_REQUEST);
        return;
      }
      nonceValue = uriComponents[2];

      storageIo.cleanupNonces(); // This removes expired Nonce objects
                                 // (10 at a time so we don't spend too
                                 // much time doing it)

      Nonce nonce = storageIo.getNoncebyValue(nonceValue);
      if (nonce == null) {
        resp.sendError(resp.SC_NOT_FOUND, "Invalid Link");
        return;
      }
      Date now = new Date();
      if ((now.getTime() - nonce.getTimeStamp().getTime()) > 7200*1024) {
        resp.sendError(resp.SC_NOT_FOUND, "Link has timed out");
        return;
      }
      downloadableFile = fileExporter.exportProjectOutputFile(nonce.getUserId(), nonce.getProjectId(), null);

    } catch (FileNotFoundException e) {
      // This can happen if a new build is running while an attempt is made to download
      // a previous built version of the project
      resp.setStatus(HttpServletResponse.SC_NOT_FOUND);
      return;
    }

    String fileName = downloadableFile.getFileName();
    byte[] content = downloadableFile.getContent();

    // Set http response information
    resp.setStatus(HttpServletResponse.SC_OK);
    resp.setHeader("content-disposition", "attachment; filename=\"" + fileName + "\"");
    resp.setContentType(StorageUtil.getContentTypeForFilePath(fileName));
    resp.setContentLength(content.length);

    // Attach download data
    ServletOutputStream out = resp.getOutputStream();
    out.write(content);
    out.close();
  }
}


text:
<!DOCTYPE html>

    <meta content="en-us" http-equiv="Content-Language" />
    <meta content="text/html; charset=utf-16" http-equiv="Content-Type" />
    <title _locid="PortabilityAnalysis0">.NET Portability Report</title>

.NET Portability Report

                    Submission Id
                    29f116e5-880a-4b9a-8ae0-b4c075f97958

            Portability Summary

                        Assembly
                            ASP.NET 5,Version=v1.0
                            Windows,Version=v8.1
                            .NET Framework,Version=v4.6
                            Windows Phone,Version=v8.1

                            Noemax.WebSockets.x64.iOS.Trial
                                88.79 %
                                77.82 %
                                100.00 %
                                75.85 %

Noemax.WebSockets.x64.iOS.Trial

                                Target type
                                ASP.NET 5,Version=v1.0
                                Windows,Version=v8.1
                                .NET Framework,Version=v4.6
                                Windows Phone,Version=v8.1
                                Recommended changes

                                    System.AppDomain

                                        get_CurrentDomain

                                    Remove usage

                                        get_IsFullyTrusted

                                        get_IsHomogenous

                                        GetAssemblies

                                    Remove usage

                                    System.Attribute

                                        GetCustomAttributes(System.Reflection.Assembly,System.Type)

                                        GetCustomAttributes(System.Reflection.MemberInfo,System.Type,System.Boolean)

                                        GetCustomAttributes(System.Reflection.Module,System.Type,System.Boolean)

                                        GetCustomAttributes(System.Reflection.ParameterInfo,System.Type,System.Boolean)

                                    System.Char

                                        ToLower(System.Char,System.Globalization.CultureInfo)

                                        ToString(System.IFormatProvider)

                                    System.Collections.Specialized.NameObjectCollectionBase

                                        get_Count

                                        get_Keys

                                    System.Collections.Specialized.NameObjectCollectionBase.KeysCollection

                                        get_Item(System.Int32)

                                    System.Collections.Specialized.NameValueCollection

                                        Add(System.String,System.String)

                                        get_Item(System.Int32)

                                    System.ComponentModel.AddingNewEventArgs

                                        #ctor

                                        get_NewObject

                                    System.ComponentModel.AddingNewEventHandler

                                        Invoke(System.Object,System.ComponentModel.AddingNewEventArgs)

                                    System.ComponentModel.AttributeCollection

                                        Empty

                                    System.ComponentModel.BrowsableAttribute

                                Remove usage.  This is a deprecated attribute from Windows Forms for design-time property window support

                                        #ctor(System.Boolean)

                                    Remove usage.  This is a deprecated attribute from Winforms for design-time property window support

                                    System.ComponentModel.ComponentConverter

                                    System.ComponentModel.DescriptionAttribute

                                        get_Description

                                    System.ComponentModel.EventDescriptor

                                    System.ComponentModel.EventDescriptorCollection

                                        Empty

                                    System.ComponentModel.IBindingList

                                        AddIndex(System.ComponentModel.PropertyDescriptor)

                                        AddNew

                                        ApplySort(System.ComponentModel.PropertyDescriptor,System.ComponentModel.ListSortDirection)

                                        Find(System.ComponentModel.PropertyDescriptor,System.Object)

                                        get_AllowEdit

                                        get_AllowNew

                                        get_AllowRemove

                                        get_IsSorted

                                        get_SortDirection

                                        get_SortProperty

                                        get_SupportsChangeNotification

                                        get_SupportsSearching

                                        get_SupportsSorting

                                        RemoveIndex(System.ComponentModel.PropertyDescriptor)

                                        RemoveSort

                                    System.ComponentModel.ICustomTypeDescriptor

                                        GetAttributes

                                        GetClassName

                                        GetComponentName

                                        GetConverter

                                        GetDefaultEvent

                                        GetDefaultProperty

                                        GetEditor(System.Type)

                                        GetEvents

                                        GetEvents(System.Attribute[])

                                        GetProperties

                                        GetProperties(System.Attribute[])

                                        GetPropertyOwner(System.ComponentModel.PropertyDescriptor)

                                    System.ComponentModel.INotifyPropertyChanging

                                    System.ComponentModel.ITypeDescriptorContext

                                Currently there is no workaround, but we are working on it. Please check back.

                                    System.ComponentModel.ITypedList

                                        GetItemProperties(System.ComponentModel.PropertyDescriptor[])

                                        GetListName(System.ComponentModel.PropertyDescriptor[])

                                    System.ComponentModel.ListChangedEventArgs

                                        #ctor(System.ComponentModel.ListChangedType,System.Int32)

                                    System.ComponentModel.ListChangedEventHandler

                                        Invoke(System.Object,System.ComponentModel.ListChangedEventArgs)

                                    System.ComponentModel.ListChangedType

                                    System.ComponentModel.ListSortDirection

                                    System.ComponentModel.MemberDescriptor

                                        get_Name

                                        get_NameHashCode

                                    System.ComponentModel.PropertyChangingEventArgs

                                        #ctor(System.String)

                                    System.ComponentModel.PropertyChangingEventHandler

                                        Invoke(System.Object,System.ComponentModel.PropertyChangingEventArgs)

                                    System.ComponentModel.PropertyDescriptor

                                        #ctor(System.String,System.Attribute[])

                                    System.ComponentModel.PropertyDescriptorCollection

                                        #ctor(System.ComponentModel.PropertyDescriptor[])

                                        Add(System.ComponentModel.PropertyDescriptor)

                                    System.ComponentModel.ReferenceConverter

                                    System.ComponentModel.TypeConverter

                                        #ctor

                                        CanConvertFrom(System.Type)

                                        CanConvertTo(System.Type)

                                        ConvertFrom(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,System.Object)

                                        ConvertTo(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,System.Object,System.Type)

                                        ConvertToInvariantString(System.Object)

                                    System.ComponentModel.TypeDescriptor

                                        GetConverter(System.Type)

                                    Currently there is no workaround, but we are working on it. Please check back.

                                    System.Convert

                                        ChangeType(System.Object,System.TypeCode,System.IFormatProvider)

                                    System.Data.DataColumn

                                        #ctor(System.String,System.Type)

                                        get_ColumnName

                                        get_DataType

                                    System.Data.DataColumnCollection

                                        Add(System.Data.DataColumn)

                                        get_Item(System.String)

                                    System.Data.DataRow

                                        EndEdit

                                        get_Item(System.Data.DataColumn)

                                        get_Table

                                        set_Item(System.String,System.Object)

                                    System.Data.DataRowCollection

                                        Add(System.Data.DataRow)

                                    System.Data.DataSet

                                        #ctor

                                        get_Tables

                                    System.Data.DataTable

                                        #ctor

                                        get_Columns

                                        get_Rows

                                        get_TableName

                                        NewRow

                                        set_TableName(System.String)

                                    System.Data.DataTableCollection

                                        Add(System.Data.DataTable)

                                        get_Item(System.String)

                                    System.Data.InternalDataCollectionBase

                                        GetEnumerator

                                    System.Data.SqlTypes.INullable

                                    System.Data.SqlTypes.SqlBoolean

                                    System.Data.SqlTypes.SqlDateTime

                                    System.Data.SqlTypes.SqlInt32

                                    System.Data.SqlTypes.SqlInt64

                                    System.Data.SqlTypes.SqlString

                                    System.DateTime

                                        FromOADate(System.Double)

                                    System.DBNull

                                        Value

                                    System.Delegate

                                Use System.Reflection.RuntimeReflectionExtensions.GetMethodInfo

                                        CreateDelegate(System.Type,System.Object,System.Reflection.MethodInfo)

                                    Use MethodInfo.CreateDelegate

                                        get_Method

                                    Use System.Reflection.RuntimeReflectionExtensions.GetMethodInfo

                                    System.Diagnostics.TraceEventType

                                    System.Diagnostics.TraceLevel

                                    System.Exception

                                Remove.  Ctor overload taking SerializationInfo is not applicable in new surface area

                                        #ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)

                                    Remove.  Ctor overload taking SerializationInfo is not applicable in new surface area

                                    System.Guid

                                Use Guid.ToString() (Provider not used)

                                        ToString(System.String,System.IFormatProvider)

                                    Use Guid.ToString() (Provider not used)

                                    System.ICloneable

                                Remove usage.  Implement cloning operation yourself if needed.

                                        Clone

                                    Remove usage.  Implement cloning operation yourself if needed.

                                    System.IConvertible

                                        GetTypeCode

                                        ToBoolean(System.IFormatProvider)

                                        ToByte(System.IFormatProvider)

                                        ToChar(System.IFormatProvider)

                                        ToDateTime(System.IFormatProvider)

                                        ToDecimal(System.IFormatProvider)

                                        ToDouble(System.IFormatProvider)

                                        ToInt16(System.IFormatProvider)

                                        ToInt32(System.IFormatProvider)

                                        ToInt64(System.IFormatProvider)

                                        ToSByte(System.IFormatProvider)

                                        ToSingle(System.IFormatProvider)

                                        ToType(System.Type,System.IFormatProvider)

                                        ToUInt16(System.IFormatProvider)

                                        ToUInt32(System.IFormatProvider)

                                        ToUInt64(System.IFormatProvider)

                                    System.IO.BinaryReader

                                Use Dispose instead

                                        Close

                                    Use Dispose instead

                                    System.IO.BinaryWriter

                                Use Dispose instead

                                        Close

                                    Use Dispose instead

                                    System.IO.FileInfo

                                        #ctor(System.String)

                                    System.IO.FileSystemInfo

                                Use File.GetLastWriteTime().ToUniversalTime();

                                        get_LastWriteTimeUtc

                                    Use File.GetLastWriteTime().ToUniversalTime();

                                    System.IO.MemoryStream

                                Use an overload that supplies a buffer and maintain that buffer outside of memory stream.   If you need the internal buffer, create a copy via .ToArray();

                                        GetBuffer

                                    Use an overload that supplies a buffer and maintain that buffer outside of memory stream.   If you need the internal buffer, create a copy via .ToArray();

                                    System.IO.Stream

                                Use Stream.ReadAsync

                                        BeginRead(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)

                                    Use Stream.ReadAsync

                                        BeginWrite(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)

                                    Use Stream.WriteAsync

                                        Close

                                    Use Dispose instead

                                        EndRead(System.IAsyncResult)

                                    Use Stream.ReadAsync

                                        EndWrite(System.IAsyncResult)

                                    Use Stream.WriteAsync

                                    System.IO.TextReader

                                Use Dispose instead

                                        Close

                                    Use Dispose instead

                                    System.IO.TextWriter

                                Use Dispose instead

                                        Close

                                    Use Dispose instead

                                    System.Net.Dns

                                        GetHostEntry(System.String)

                                    System.Net.EndPoint

                                        get_AddressFamily

                                    System.Net.IPAddress

                                        Any

                                        IPv6Any

                                        IPv6Loopback

                                        Loopback

                                        get_AddressFamily

                                        TryParse(System.String,System.Net.IPAddress@)

                                    System.Net.IPEndPoint

                                        #ctor(System.Net.IPAddress,System.Int32)

                                        get_Address

                                        get_Port

                                    System.Net.IPHostEntry

                                        get_AddressList

                                    System.Net.Security.AuthenticatedStream

                                        get_IsEncrypted

                                        get_IsSigned

                                    System.Net.Security.LocalCertificateSelectionCallback

                                        #ctor(System.Object,System.IntPtr)

                                    System.Net.Security.ProtectionLevel

                                Not supported for HTTP - use new Handler and ignorable server certificate errors instead

                                    System.Net.Security.RemoteCertificateValidationCallback

                                Not supported for HTTP - use new Handler and ignorable server certificate errors instead

                                        #ctor(System.Object,System.IntPtr)

                                    Not supported for HTTP - use new Handler and ignorable server certificate errors instead

                                    System.Net.Security.SslPolicyErrors

                                Not supported for HTTP - use new Handler and ignorable server certificate errors instead

                                    System.Net.Security.SslStream

                                        #ctor(System.IO.Stream,System.Boolean,System.Net.Security.RemoteCertificateValidationCallback)

                                        #ctor(System.IO.Stream,System.Boolean,System.Net.Security.RemoteCertificateValidationCallback,System.Net.Security.LocalCertificateSelectionCallback)

                                        AuthenticateAsClient(System.String,System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Authentication.SslProtocols,System.Boolean)

                                        AuthenticateAsServer(System.Security.Cryptography.X509Certificates.X509Certificate,System.Boolean,System.Security.Authentication.SslProtocols,System.Boolean)

                                    System.Net.Sockets.AddressFamily

                                    System.Net.Sockets.LingerOption

                                        #ctor(System.Boolean,System.Int32)

                                    System.Net.Sockets.ProtocolType

                                    System.Net.Sockets.SelectMode

                                    System.Net.Sockets.Socket

                                        #ctor(System.Net.Sockets.AddressFamily,System.Net.Sockets.SocketType,System.Net.Sockets.ProtocolType)

                                        BeginAccept(System.AsyncCallback,System.Object)

                                        BeginConnect(System.Net.EndPoint,System.AsyncCallback,System.Object)

                                        BeginReceive(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags,System.AsyncCallback,System.Object)

                                        BeginSend(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags,System.AsyncCallback,System.Object)

                                        Bind(System.Net.EndPoint)

                                        Close

                                    Use Dispose instead

                                        EndAccept(System.IAsyncResult)

                                        EndConnect(System.IAsyncResult)

                                        EndReceive(System.IAsyncResult)

                                        EndSend(System.IAsyncResult)

                                        get_Connected

                                        get_OSSupportsIPv6

                                        Listen(System.Int32)

                                        Poll(System.Int32,System.Net.Sockets.SelectMode)

                                        Receive(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags)

                                        ReceiveAsync(System.Net.Sockets.SocketAsyncEventArgs)

                                        Send(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags)

                                        SendAsync(System.Net.Sockets.SocketAsyncEventArgs)

                                        set_Blocking(System.Boolean)

                                        set_LingerState(System.Net.Sockets.LingerOption)

                                        set_NoDelay(System.Boolean)

                                        set_ReceiveTimeout(System.Int32)

                                        set_SendTimeout(System.Int32)

                                        set_UseOnlyOverlappedIO(System.Boolean)

                                        Shutdown(System.Net.Sockets.SocketShutdown)

                                    System.Net.Sockets.SocketAsyncEventArgs

                                        #ctor

                                        add_Completed(System.EventHandler{System.Net.Sockets.SocketAsyncEventArgs})

                                        get_Buffer

                                        get_BytesTransferred

                                        get_Count

                                        get_LastOperation

                                        get_Offset

                                        get_SocketError

                                        get_UserToken

                                        set_UserToken(System.Object)

                                        SetBuffer(System.Byte[],System.Int32,System.Int32)

                                    System.Net.Sockets.SocketAsyncOperation

                                    System.Net.Sockets.SocketError

                                    System.Net.Sockets.SocketException

                                        get_SocketErrorCode

                                    System.Net.Sockets.SocketFlags

                                    System.Net.Sockets.SocketShutdown

                                    System.Net.Sockets.SocketType

                                    System.NonSerializedAttribute

                                Remove this attribute

                                    System.Reflection.Assembly

                                typeof(CurrentType).GetTypeInfo().Assembly

                                        get_Location

                                    Remove usage

                                        GetCallingAssembly

                                        GetExecutingAssembly

                                    typeof(CurrentType).GetTypeInfo().Assembly

                                        GetType(System.String,System.Boolean)

                                    Use Assembly.GetType(string), throw if you receive null return value.

                                        Load(System.String)

                                    use Assembly.Load(new AssemblyName(string))

                                        LoadWithPartialName(System.String)

                                    System.Reflection.Binder

                                Use an overload that does not take a Binder.

                                    System.Reflection.BindingFlags

                                    System.Reflection.ICustomAttributeProvider

                                        GetCustomAttributes(System.Type,System.Boolean)

                                    System.Reflection.MemberInfo

                                        get_MemberType

                                    use "is FieldInfo", "is PropertyInfo", etc

                                        IsDefined(System.Type,System.Boolean)

                                    System.Reflection.MemberTypes

                                Use is operator.  Example:  if (membertype == membertypes.Field) --> if (member is FieldInfo)

                                    System.Reflection.MethodInfo

                                Use extension method in System.Reflection.TypeExtensions namespace, add using statement for System.Reflection and contract reference.

                                        GetBaseDefinition

                                    Use extension method in System.Reflection.TypeExtensions namespace, add using statement for System.Reflection and contract reference.

                                    System.Reflection.ParameterModifier

                                Use an overload that does not take a ParameterModifier array.

                                    System.Reflection.PropertyInfo

                                Use PropertyInfo.SetMethod property

                                        GetGetMethod

                                    Use PropertyInfo.GetMethod property

                                        GetGetMethod(System.Boolean)

                                    Use PropertyInfo.GetMethod property

                                        GetSetMethod

                                    Use PropertyInfo.SetMethod property

                                        GetSetMethod(System.Boolean)

                                    Use PropertyInfo.SetMethod property

                                    System.Runtime.InteropServices.ExternalException

                                Use System.Exception.Hresult

                                        get_ErrorCode

                                    Use System.Exception.Hresult

                                    System.Runtime.Serialization.FormatterConverter

                                        #ctor

                                    System.Runtime.Serialization.Formatters.FormatterAssemblyStyle

                                    System.Runtime.Serialization.FormatterServices

                                        GetUninitializedObject(System.Type)

                                    System.Runtime.Serialization.IFormatterConverter

                                        Convert(System.Object,System.Type)

                                        Convert(System.Object,System.TypeCode)

                                        ToBoolean(System.Object)

                                        ToByte(System.Object)

                                        ToChar(System.Object)

                                        ToDateTime(System.Object)

                                        ToDecimal(System.Object)

                                        ToDouble(System.Object)

                                        ToInt16(System.Object)

                                        ToInt32(System.Object)

                                        ToInt64(System.Object)

                                        ToSByte(System.Object)

                                        ToSingle(System.Object)

                                        ToUInt16(System.Object)

                                        ToUInt32(System.Object)

                                        ToUInt64(System.Object)

                                    System.Runtime.Serialization.ISerializable

                                        GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)

                                    System.Runtime.Serialization.SerializationBinder

                                        #ctor

                                        BindToName(System.Type,System.String@,System.String@)

                                        BindToType(System.String,System.String)

                                    System.Runtime.Serialization.SerializationEntry

                                        get_Name

                                        get_Value

                                    System.Runtime.Serialization.SerializationInfo

                                        #ctor(System.Type,System.Runtime.Serialization.IFormatterConverter)

                                        AddValue(System.String,System.Object)

                                    Remove serialization constructors on custom Exception types

                                        GetEnumerator

                                    System.Runtime.Serialization.SerializationInfoEnumerator

                                        get_Current

                                        MoveNext

                                    System.Security.Authentication.AuthenticationException

                                        #ctor(System.String)

                                    System.Security.Authentication.SslProtocols

                                    System.Security.CodeAccessPermission

                                Remove usage

                                        Demand

                                    Remove usage

                                    System.Security.Cryptography.HashAlgorithm

                                Use System.Security.Cryptography.HashAlgorithm.ComputeHash() instead

                                        get_Hash

                                    Use System.Security.Cryptography.HashAlgorithm.ComputeHash() instead

                                        TransformFinalBlock(System.Byte[],System.Int32,System.Int32)

                                    Use System.Security.Cryptography.HashAlgorithm.ComputeHash() instead

                                    System.Security.Cryptography.RandomNumberGenerator

                                        GetBytes(System.Byte[])

                                    System.Security.Cryptography.RNGCryptoServiceProvider

                                        #ctor

                                    System.Security.Cryptography.SHA1

                                        Create

                                    System.Security.Cryptography.SHA1Managed

                                        #ctor

                                    System.Security.Cryptography.X509Certificates.X509Certificate

                                        Equals(System.Security.Cryptography.X509Certificates.X509Certificate)

                                        Export(System.Security.Cryptography.X509Certificates.X509ContentType)

                                        get_Subject

                                    System.Security.Cryptography.X509Certificates.X509Certificate2

                                        #ctor(System.Byte[])

                                        #ctor(System.Byte[],System.String)

                                        Verify

                                    System.Security.Cryptography.X509Certificates.X509CertificateCollection

                                        #ctor

                                        Add(System.Security.Cryptography.X509Certificates.X509Certificate)

                                    System.Security.Cryptography.X509Certificates.X509Chain

                                    System.Security.Cryptography.X509Certificates.X509ContentType

                                    System.Security.Permissions.PermissionState

                                    System.Security.Permissions.ReflectionPermission

                                        #ctor(System.Security.Permissions.ReflectionPermissionFlag)

                                    System.Security.Permissions.ReflectionPermissionFlag

                                    System.Security.Permissions.SecurityPermission

                                        #ctor(System.Security.Permissions.PermissionState)

                                        #ctor(System.Security.Permissions.SecurityPermissionFlag)

                                    System.Security.Permissions.SecurityPermissionFlag

                                    System.Security.UnverifiableCodeAttribute

                                Remove usage

                                        #ctor

                                    Remove usage

                                    System.SerializableAttribute

                                Remove this attribute

                                    System.ServiceModel.Channels.AddressHeader

                                    System.ServiceModel.Channels.BindingParameterCollection

                                    System.ServiceModel.Channels.BufferManager

                                        ReturnBuffer(System.Byte[])

                                        TakeBuffer(System.Int32)

                                    System.ServiceModel.Channels.CommunicationObject

                                        #ctor

                                        Abort

                                        Close

                                        get_DefaultCloseTimeout

                                        get_DefaultOpenTimeout

                                        get_State

                                        OnAbort

                                        OnBeginClose(System.TimeSpan,System.AsyncCallback,System.Object)

                                        OnBeginOpen(System.TimeSpan,System.AsyncCallback,System.Object)

                                        OnEndClose(System.IAsyncResult)

                                        OnEndOpen(System.IAsyncResult)

                                        Open

                                    System.ServiceModel.Channels.HttpResponseMessageProperty

                                        #ctor

                                        get_Headers

                                    System.ServiceModel.Channels.ISecurityCapabilities

                                        get_SupportedRequestProtectionLevel

                                        get_SupportedResponseProtectionLevel

                                        get_SupportsClientAuthentication

                                        get_SupportsClientWindowsIdentity

                                        get_SupportsServerAuthentication

                                    System.ServiceModel.Channels.MessageEncoder

                                    System.ServiceModel.CommunicationException

                                        #ctor(System.String)

                                        #ctor(System.String,System.Exception)

                                    System.ServiceModel.CommunicationState

                                    System.ServiceModel.Description.IEndpointBehavior

                                        AddBindingParameters(System.ServiceModel.Description.ServiceEndpoint,System.ServiceModel.Channels.BindingParameterCollection)

                                        ApplyClientBehavior(System.ServiceModel.Description.ServiceEndpoint,System.ServiceModel.Dispatcher.ClientRuntime)

                                        ApplyDispatchBehavior(System.ServiceModel.Description.ServiceEndpoint,System.ServiceModel.Dispatcher.EndpointDispatcher)

                                        Validate(System.ServiceModel.Description.ServiceEndpoint)

                                    System.ServiceModel.Description.ServiceEndpoint

                                    System.ServiceModel.Dispatcher.ClientRuntime

                                    System.ServiceModel.Dispatcher.EndpointDispatcher

                                    System.ServiceModel.EndpointAddress

                                        #ctor(System.Uri,System.ServiceModel.Channels.AddressHeader[])

                                        op_Inequality(System.ServiceModel.EndpointAddress,System.ServiceModel.EndpointAddress)

                                    System.ServiceModel.EndpointNotFoundException

                                        #ctor(System.String)

                                    System.ServiceModel.ProtocolException

                                        #ctor(System.String)

                                        #ctor(System.String,System.Exception)

                                    System.Text.Encoding

                                        get_ASCII

                                    System.Threading.Thread

                                        #ctor(System.Threading.ThreadStart)

                                        get_CurrentThread

                                        get_ManagedThreadId

                                        MemoryBarrier

                                    Use System.Threading.Interlocked.MemoryBarrier instead

                                        Sleep(System.Int32)

                                        SpinWait(System.Int32)

                                        Start

                                    System.Threading.ThreadPool

                                Change code to not depend on the size of the ThreadPool for functionality.  Portable code needs to be able to run correctly on multiple different ThreadPool implementations, not all of which support this method.

                                        QueueUserWorkItem(System.Threading.WaitCallback)

                                    Change code to not depend on the size of the ThreadPool for functionality.  Portable code needs to be able to run correctly on multiple different ThreadPool implementations, not all of which support this method.

                                        QueueUserWorkItem(System.Threading.WaitCallback,System.Object)

                                    System.Threading.ThreadStart

                                        #ctor(System.Object,System.IntPtr)

                                    System.Threading.Timer

                                Use System.Threading.Timer.#ctor(System.Threading.TimerCallback,System.Object,System.Int32,System.Int32)

                                        #ctor(System.Threading.TimerCallback,System.Object,System.Int64,System.Int64)

                                    Use System.Threading.Timer.#ctor(System.Threading.TimerCallback,System.Object,System.Int32,System.Int32)

                                        Change(System.Int64,System.Int64)

                                    Use a 32-bit interval.

                                    System.Threading.WaitCallback

                                        #ctor(System.Object,System.IntPtr)

                                        Invoke(System.Object)

                                    System.Threading.WaitHandle

                                        Close

                                    Use Dispose() instead

                                        WaitOne(System.Int32,System.Boolean)

                                    System.Type

                                Use GetProperty(string, Type, Type[]) to search for public properties by name, return type, and parameter types or filter the results of GetMethods(BindingFlags) using LINQ for other queries.

                                        EmptyTypes

                                    new Type[0] (or create your own static property which returns a cached version of this)

                                        get_Assembly

                                    .GetTypeInfo().Assembly

                                        get_BaseType

                                    .GetTypeInfo().BaseType

                                        get_ContainsGenericParameters

                                    .GetTypeInfo().ContainsGenericParameters

                                        get_IsAbstract

                                    .GetTypeInfo().IsAbstract

                                        get_IsClass

                                    .GetTypeInfo().IsClass

                                        get_IsEnum

                                    .GetTypeInfo().IsEnum

                                        get_IsGenericType

                                    .GetTypeInfo().IsGenericType

                                        get_IsGenericTypeDefinition

                                    .GetTypeInfo().IsGenericTypeDefinition

                                        get_IsInterface

                                    .GetTypeInfo().IsInterface

                                        get_IsPrimitive

                                    .GetTypeInfo().IsPrimitive

                                        get_IsSealed

                                    .GetTypeInfo().IsSealed

                                        get_IsValueType

                                    .GetTypeInfo().IsValueType

                                        get_IsVisible

                                    .GetTypeInfo().IsVisible

                                        GetConstructor(System.Reflection.BindingFlags,System.Reflection.Binder,System.Type[],System.Reflection.ParameterModifier[])

                                    Use GetConstructor(Type[]) to search for public constructors by parameter type or filter the results of GetConstructors(BindingFlags) using LINQ for other queries.

                                        GetConstructor(System.Type[])

                                        GetConstructors

                                        GetConstructors(System.Reflection.BindingFlags)

                                    Equivalent available: Add using for System.Reflection, and reference System.Reflection.TypeExtensions

                                        GetField(System.String)

                                        GetField(System.String,System.Reflection.BindingFlags)

                                        GetFields

                                        GetFields(System.Reflection.BindingFlags)

                                        GetGenericArguments

                                        GetInterfaces

                                        GetMember(System.String,System.Reflection.BindingFlags)

                                        GetMember(System.String,System.Reflection.MemberTypes,System.Reflection.BindingFlags)

                                        GetMethod(System.String)

                                        GetMethod(System.String,System.Reflection.BindingFlags)

                                    Equivalent available: Add using for System.Reflection, and reference System.Reflection.TypeExtensions

                                        GetMethod(System.String,System.Type[])

                                        GetMethods

                                        GetMethods(System.Reflection.BindingFlags)

                                        GetProperties(System.Reflection.BindingFlags)

                                        GetProperty(System.String)

                                        GetProperty(System.String,System.Reflection.BindingFlags,System.Reflection.Binder,System.Type,System.Type[],System.Reflection.ParameterModifier[])

                                    Use GetProperty(string, Type, Type[]) to search for public properties by name, return type, and parameter types or filter the results of GetMethods(BindingFlags) using LINQ for other queries.

                                        GetTypeCode(System.Type)

                                    Use Type or RuntimeTypeHandle instead.

                                        IsAssignableFrom(System.Type)

                                        IsSubclassOf(System.Type)

                                    .GetTypeInfo().IsSubclassOf

                                    System.TypeCode

                                Use Type or RuntimeTypeHandle instead.

                                    System.Xml.XmlAttribute

                                        get_OwnerElement

                                    System.Xml.XmlAttributeCollection

                                    System.Xml.XmlCDataSection

                                    System.Xml.XmlComment

                                    System.Xml.XmlConvert

                                Use ToString(DateTimeOffset)

                                        ToString(System.DateTime,System.Xml.XmlDateTimeSerializationMode)

                                    Use ToString(DateTimeOffset)

                                    System.Xml.XmlDateTimeSerializationMode

                                Available in 4.0.10.0

                                    System.Xml.XmlDeclaration

                                        get_Encoding

                                        get_Standalone

                                        get_Version

                                    System.Xml.XmlDocument

                                        #ctor

                                        CreateAttribute(System.String)

                                        CreateAttribute(System.String,System.String)

                                        CreateCDataSection(System.String)

                                        CreateComment(System.String)

                                        CreateDocumentType(System.String,System.String,System.String,System.String)

                                        CreateElement(System.String)

                                        CreateElement(System.String,System.String)

                                        CreateProcessingInstruction(System.String,System.String)

                                        CreateSignificantWhitespace(System.String)

                                        CreateTextNode(System.String)

                                        CreateWhitespace(System.String)

                                        CreateXmlDeclaration(System.String,System.String,System.String)

                                        get_DocumentElement

                                    System.Xml.XmlDocumentType

                                        get_InternalSubset

                                        get_PublicId

                                        get_SystemId

                                    System.Xml.XmlElement

                                        get_IsEmpty

                                        SetAttributeNode(System.Xml.XmlAttribute)

                                    System.Xml.XmlNode

                                        AppendChild(System.Xml.XmlNode)

                                        get_Attributes

                                        get_ChildNodes

                                        get_LocalName

                                        get_Name

                                        get_NamespaceURI

                                        get_NodeType

                                        get_ParentNode

                                        get_Value

                                        GetPrefixOfNamespace(System.String)

                                        set_Value(System.String)

                                    System.Xml.XmlNodeList

                                    System.Xml.XmlProcessingInstruction

                                    System.Xml.XmlSignificantWhitespace

                                    System.Xml.XmlText

                                    System.Xml.XmlWhitespace

                    Back to Summary


text:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<TITLE>
org.springframework.web.servlet.mvc.multiaction Class Hierarchy (Spring Framework API 2.5)
</TITLE>

<META NAME="date" CONTENT="2007-11-19">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">

      Overview
      Package
      Class
      Use
    Tree
      Deprecated
      Index
      Help

The Spring Framework

 PREV
 NEXT

  FRAMES
 NO FRAMES

  All Classes

Hierarchy For Package org.springframework.web.servlet.mvc.multiaction

Package Hierarchies:
All Packages

Class Hierarchy

java.lang.Object

org.springframework.web.servlet.mvc.multiaction.AbstractUrlMethodNameResolver (implements org.springframework.web.servlet.mvc.multiaction.MethodNameResolver)

org.springframework.web.servlet.mvc.multiaction.InternalPathMethodNameResolver
org.springframework.web.servlet.mvc.multiaction.PropertiesMethodNameResolver (implements org.springframework.beans.factory.InitializingBean)

org.springframework.context.support.ApplicationObjectSupport (implements org.springframework.context.ApplicationContextAware)

org.springframework.web.context.support.WebApplicationObjectSupport (implements org.springframework.web.context.ServletContextAware)

org.springframework.web.servlet.support.WebContentGenerator

org.springframework.web.servlet.mvc.AbstractController (implements org.springframework.web.servlet.mvc.Controller)

org.springframework.web.servlet.mvc.multiaction.MultiActionController (implements org.springframework.web.servlet.mvc.LastModified)

org.springframework.web.servlet.mvc.multiaction.ParameterMethodNameResolver (implements org.springframework.web.servlet.mvc.multiaction.MethodNameResolver)

java.lang.Throwable (implements java.io.Serializable)

java.lang.Exception

javax.servlet.ServletException

org.springframework.web.servlet.mvc.multiaction.NoSuchRequestHandlingMethodException

Interface Hierarchy

org.springframework.web.servlet.mvc.multiaction.MethodNameResolver

      Overview
      Package
      Class
      Use
    Tree
      Deprecated
      Index
      Help

The Spring Framework

 PREV
 NEXT

  FRAMES
 NO FRAMES

  All Classes

Copyright © 2002-2007 The Spring Framework.