Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 1aa43409b3bb8ef4b5a9b72b84ad6ffca3f0e1d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*******************************************************************************
 * Copyright (c) 2016 Raymond Augé and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Raymond Augé <raymond.auge@liferay.com> - Bug 497271
 ******************************************************************************/

package org.eclipse.equinox.http.servlet.dto;

import org.osgi.service.http.runtime.dto.FailedServletDTO;

/**
 * This type may become irrelevant if the properties appear as part of a
 * future OSGi Http Whiteboard specification.
 */
public class ExtendedFailedServletDTO extends FailedServletDTO {

	/**
	 * Specifies whether multipart support is enabled.
	 */
	public boolean multipartEnabled;

	/**
	 * Specifies the size threshold after which the file will be written to disk.
	 */
	public int multipartFileSizeThreshold;

	/**
	 * Specifies the location where the files can be stored on disk.
	 */
	public String multipartLocation;

	/**
	 * Specifies the maximum size of a file being uploaded.
	 */
	public long multipartMaxFileSize;

	/**
	 * Specifies the maximum request size.
	 */
	public long multipartMaxRequestSize;

}

Back to the top