congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
FileUploadBase.getFileName
Code IndexAdd Tabnine to your IDE (free)

How to use
getFileName
method
in
org.apache.tomcat.util.http.fileupload.FileUploadBase

Best Java code snippets using org.apache.tomcat.util.http.fileupload.FileUploadBase.getFileName (Showing top 16 results out of 315)

origin: codefollower/Tomcat-Research

/**
 * Retrieves the file name from the <code>Content-disposition</code>
 * header.
 *
 * @param headers The HTTP headers object.
 *
 * @return The file name for the current <code>encapsulation</code>.
 */
protected String getFileName(FileItemHeaders headers) {
  return getFileName(headers.getHeader(CONTENT_DISPOSITION));
}
origin: org.jboss.web/jbossweb

/**
 * Retrieves the file name from the <code>Content-disposition</code>
 * header.
 *
 * @param headers The HTTP headers object.
 *
 * @return The file name for the current <code>encapsulation</code>.
 */
protected String getFileName(FileItemHeaders headers) {
  return getFileName(headers.getHeader(CONTENT_DISPOSITION));
}
origin: jboss.web/jbossweb

/**
 * Retrieves the file name from the <code>Content-disposition</code>
 * header.
 *
 * @param headers The HTTP headers object.
 *
 * @return The file name for the current <code>encapsulation</code>.
 */
protected String getFileName(FileItemHeaders headers) {
  return getFileName(headers.getHeader(CONTENT_DISPOSITION));
}
origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

/**
 * Retrieves the file name from the <code>Content-disposition</code>
 * header.
 *
 * @param headers The HTTP headers object.
 *
 * @return The file name for the current <code>encapsulation</code>.
 */
protected String getFileName(FileItemHeaders headers) {
  return getFileName(headers.getHeader(CONTENT_DISPOSITION));
}
origin: org.apache.geronimo.ext.tomcat/util

/**
 * Retrieves the file name from the <code>Content-disposition</code>
 * header.
 *
 * @param headers The HTTP headers object.
 *
 * @return The file name for the current <code>encapsulation</code>.
 */
protected String getFileName(FileItemHeaders headers) {
  return getFileName(headers.getHeader(CONTENT_DISPOSITION));
}
origin: org.apache.coyote/com.springsource.org.apache.coyote

/**
 * Retrieves the file name from the <code>Content-disposition</code>
 * header.
 *
 * @param headers The HTTP headers object.
 *
 * @return The file name for the current <code>encapsulation</code>.
 */
protected String getFileName(FileItemHeaders headers) {
  return getFileName(headers.getHeader(CONTENT_DISPOSITION));
}
origin: com.ovea.tajin.server/tajin-server-tomcat7

/**
 * Retrieves the file name from the <code>Content-disposition</code>
 * header.
 *
 * @param headers The HTTP headers object.
 *
 * @return The file name for the current <code>encapsulation</code>.
 */
protected String getFileName(FileItemHeaders headers) {
  return getFileName(headers.getHeader(CONTENT_DISPOSITION));
}
origin: org.apache.coyote.springsource/com.springsource.org.apache.coyote.springsource

/**
 * Creates a new {@link FileItem} instance.
 *
 * @param headers       A <code>Map</code> containing the HTTP request
 *                      headers.
 * @param isFormField   Whether or not this item is a form field, as
 *                      opposed to a file.
 *
 * @return A newly created <code>FileItem</code> instance.
 *
 * @exception FileUploadException if an error occurs.
 */
protected FileItem createItem(Map /* String, String */ headers,
               boolean isFormField)
  throws FileUploadException
{
  return getFileItemFactory().createItem(getFieldName(headers),
      getHeader(headers, CONTENT_TYPE),
      isFormField,
      getFileName(headers));
}
origin: org.apache.coyote.springsource/com.springsource.org.apache.coyote.springsource

  if (getFileName(headers) != null)
if (getFileName(headers) != null)
origin: org.apache.coyote/com.springsource.org.apache.coyote

    continue;
  String fileName = getFileName(headers);
  currentItem = new FileItemStreamImpl(fileName,
      fieldName, headers.getHeader(CONTENT_TYPE),
String fileName = getFileName(headers);
if (fileName != null) {
  currentItem = new FileItemStreamImpl(fileName,
origin: org.apache.geronimo.ext.tomcat/util

    continue;
  String fileName = getFileName(headers);
  currentItem = new FileItemStreamImpl(fileName,
      fieldName, headers.getHeader(CONTENT_TYPE),
String fileName = getFileName(headers);
if (fileName != null) {
  currentItem = new FileItemStreamImpl(fileName,
origin: codefollower/Tomcat-Research

    continue;
  String fileName = getFileName(headers);
  currentItem = new FileItemStreamImpl(fileName,
      fieldName, headers.getHeader(CONTENT_TYPE),
String fileName = getFileName(headers);
if (fileName != null) {
  currentItem = new FileItemStreamImpl(fileName,
origin: org.jboss.web/jbossweb

    continue;
  String fileName = getFileName(headers);
  currentItem = new FileItemStreamImpl(fileName,
      fieldName, headers.getHeader(CONTENT_TYPE),
String fileName = getFileName(headers);
if (fileName != null) {
  currentItem = new FileItemStreamImpl(fileName,
origin: jboss.web/jbossweb

    continue;
  String fileName = getFileName(headers);
  currentItem = new FileItemStreamImpl(fileName,
      fieldName, headers.getHeader(CONTENT_TYPE),
String fileName = getFileName(headers);
if (fileName != null) {
  currentItem = new FileItemStreamImpl(fileName,
origin: com.ovea.tajin.server/tajin-server-tomcat7

    continue;
  String fileName = getFileName(headers);
  currentItem = new FileItemStreamImpl(fileName,
      fieldName, headers.getHeader(CONTENT_TYPE),
String fileName = getFileName(headers);
if (fileName != null) {
  currentItem = new FileItemStreamImpl(fileName,
origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

    continue;
  String fileName = getFileName(headers);
  currentItem = new FileItemStreamImpl(fileName,
      fieldName, headers.getHeader(CONTENT_TYPE),
String fileName = getFileName(headers);
if (fileName != null) {
  currentItem = new FileItemStreamImpl(fileName,
org.apache.tomcat.util.http.fileuploadFileUploadBasegetFileName

Javadoc

Returns the given content-disposition headers file name.

Popular methods of FileUploadBase

  • getFieldName
    Retrieves the field name from the Content-disposition header.
  • getFileItemFactory
    Returns the factory class used when creating file items.
  • getBoundary
    Retrieves the boundary from the Content-type header.
  • getItemIterator
    Processes an RFC 1867 [http://www.ietf.org/rfc/rfc1867.txt] compliant multipart/form-data stream.
  • getParsedHeaders
    Parses the header-part and returns as key/value pairs. If there are multiple headers of the same
  • newFileItemHeaders
    Creates a new instance of FileItemHeaders.
  • parseEndOfLine
    Skips bytes until the end of the current line.
  • parseHeaderLine
    Reads the next header line.
  • isMultipartContent
    Utility method that determines whether the request contains multipart content. NOTE:This method wil
  • parseRequest
    Processes an RFC 1867 [http://www.ietf.org/rfc/rfc1867.txt] compliant multipart/form-data stream.
  • createItem
    Creates a new FileItem instance.
  • getHeader
    Returns the header with the specified name from the supplied map. The header lookup is case-insensit
  • createItem,
  • getHeader,
  • parseHeaders

Popular in Java

  • Making http requests using okhttp
  • getApplicationContext (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • onCreateOptionsMenu (Activity)
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top 17 PhpStorm Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now