Tabnine Logo
FileUploadBase.isMultipartContent
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: psi-probe/psi-probe

if (FileUploadBase.isMultipartContent(new ServletRequestContext(request))) {
origin: psi-probe/psi-probe

 HttpServletResponse response) throws Exception {
if (FileUploadBase.isMultipartContent(new ServletRequestContext(request))) {
origin: org.apache.geronimo.ext.tomcat/util

/**
 * Utility method that determines whether the request contains multipart
 * content.
 *
 * @param request The servlet request to be evaluated. Must be non-null.
 *
 * @return <code>true</code> if the request is multipart;
 *         <code>false</code> otherwise.
 */
public static final boolean isMultipartContent(
    HttpServletRequest request) {
  if (!POST_METHOD.equalsIgnoreCase(request.getMethod())) {
    return false;
  }
  return FileUploadBase.isMultipartContent(new ServletRequestContext(request));
}
origin: codefollower/Tomcat-Research

/**
 * Utility method that determines whether the request contains multipart
 * content.
 *
 * @param request The servlet request to be evaluated. Must be non-null.
 *
 * @return <code>true</code> if the request is multipart;
 *         <code>false</code> otherwise.
 */
public static final boolean isMultipartContent(
    HttpServletRequest request) {
  if (!POST_METHOD.equalsIgnoreCase(request.getMethod())) {
    return false;
  }
  return FileUploadBase.isMultipartContent(new ServletRequestContext(request));
}
origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

/**
 * Utility method that determines whether the request contains multipart
 * content.
 *
 * @param request The servlet request to be evaluated. Must be non-null.
 *
 * @return <code>true</code> if the request is multipart;
 *         <code>false</code> otherwise.
 */
public static final boolean isMultipartContent(
    HttpServletRequest request) {
  if (!POST_METHOD.equalsIgnoreCase(request.getMethod())) {
    return false;
  }
  return FileUploadBase.isMultipartContent(new ServletRequestContext(request));
}
org.apache.tomcat.util.http.fileuploadFileUploadBaseisMultipartContent

Javadoc

Utility method that determines whether the request contains multipart content.

Popular methods of FileUploadBase

  • getFieldName
    Retrieves the field name from the Content-disposition header.
  • getFileItemFactory
    Returns the factory class used when creating file items.
  • getFileName
    Retrieves the file name from the Content-disposition header.
  • 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.
  • 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 post requests using okhttp
  • getApplicationContext (Context)
  • requestLocationUpdates (LocationManager)
  • getSystemService (Context)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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