Tabnine Logo
Part.getName
Code IndexAdd Tabnine to your IDE (free)

How to use
getName
method
in
org.apache.commons.httpclient.methods.multipart.Part

Best Java code snippets using org.apache.commons.httpclient.methods.multipart.Part.getName (Showing top 10 results out of 315)

origin: commons-httpclient/commons-httpclient

/**
 * Return a string representation of this object.
 * @return A string representation of this object.
 * @see java.lang.Object#toString()
 */    
public String toString() {
  return this.getName();
}
origin: commons-httpclient/commons-httpclient

/**
 * Write the content disposition header to the specified output stream
 * 
 * @param out The output stream
 * @throws IOException If an IO problem occurs.
 */
protected void sendDispositionHeader(OutputStream out) throws IOException {
  LOG.trace("enter sendDispositionHeader(OutputStream out)");
  out.write(CONTENT_DISPOSITION_BYTES);
  out.write(QUOTE_BYTES);
  out.write(EncodingUtil.getAsciiBytes(getName()));
  out.write(QUOTE_BYTES);
}

origin: org.apache.commons/com.springsource.org.apache.commons.httpclient

/**
 * Return a string representation of this object.
 * @return A string representation of this object.
 * @see java.lang.Object#toString()
 */    
public String toString() {
  return this.getName();
}
origin: org.wso2.commons-httpclient/commons-httpclient

/**
 * Return a string representation of this object.
 * @return A string representation of this object.
 * @see java.lang.Object#toString()
 */    
public String toString() {
  return this.getName();
}
origin: org.apache.commons/httpclient

/**
 * Return a string representation of this object.
 * @return A string representation of this object.
 * @see java.lang.Object#toString()
 */    
public String toString() {
  return this.getName();
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-httpclient

/**
 * Return a string representation of this object.
 * @return A string representation of this object.
 * @see java.lang.Object#toString()
 */    
public String toString() {
  return this.getName();
}
origin: org.apache.commons/com.springsource.org.apache.commons.httpclient

/**
 * Write the content disposition header to the specified output stream
 * 
 * @param out The output stream
 * @throws IOException If an IO problem occurs.
 */
protected void sendDispositionHeader(OutputStream out) throws IOException {
  LOG.trace("enter sendDispositionHeader(OutputStream out)");
  out.write(CONTENT_DISPOSITION_BYTES);
  out.write(QUOTE_BYTES);
  out.write(EncodingUtil.getAsciiBytes(getName()));
  out.write(QUOTE_BYTES);
}

origin: org.wso2.commons-httpclient/commons-httpclient

/**
 * Write the content disposition header to the specified output stream
 * 
 * @param out The output stream
 * @throws IOException If an IO problem occurs.
 */
protected void sendDispositionHeader(OutputStream out) throws IOException {
  LOG.trace("enter sendDispositionHeader(OutputStream out)");
  out.write(CONTENT_DISPOSITION_BYTES);
  out.write(QUOTE_BYTES);
  out.write(EncodingUtil.getAsciiBytes(getName()));
  out.write(QUOTE_BYTES);
}

origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-httpclient

/**
 * Write the content disposition header to the specified output stream
 * 
 * @param out The output stream
 * @throws IOException If an IO problem occurs.
 */
protected void sendDispositionHeader(OutputStream out) throws IOException {
  LOG.trace("enter sendDispositionHeader(OutputStream out)");
  out.write(CONTENT_DISPOSITION_BYTES);
  out.write(QUOTE_BYTES);
  out.write(EncodingUtil.getAsciiBytes(getName()));
  out.write(QUOTE_BYTES);
}

origin: org.apache.commons/httpclient

/**
 * Write the content disposition header to the specified output stream
 * 
 * @param out The output stream
 * @throws IOException If an IO problem occurs.
 */
protected void sendDispositionHeader(OutputStream out) throws IOException {
  LOG.trace("enter sendDispositionHeader(OutputStream out)");
  out.write(CONTENT_DISPOSITION_BYTES);
  out.write(QUOTE_BYTES);
  out.write(EncodingUtil.getAsciiBytes(getName()));
  out.write(QUOTE_BYTES);
}

org.apache.commons.httpclient.methods.multipartPartgetName

Javadoc

Return the name of this part.

Popular methods of Part

  • getBoundary
    Return the boundary string.
  • getCharSet
    Return the character encoding of this part.
  • getContentType
    Returns the content type of this part.
  • getLengthOfParts
    Gets the length of the multipart message including the given parts.
  • getPartBoundary
    Gets the part boundary to be used.
  • getTransferEncoding
    Return the transfer encoding of this part.
  • isRepeatable
    Tests if this part can be sent more than once.
  • length
    Return the full length of all the data. If you override this method make sure to override #send(Outp
  • lengthOfData
    Return the length of the main content
  • send
    Write all the data to the output stream. If you override this method make sure to override #length()
  • sendContentTypeHeader
    Write the content type header to the specified output stream
  • sendData
    Write the data to the specified output stream
  • sendContentTypeHeader,
  • sendData,
  • sendDispositionHeader,
  • sendEnd,
  • sendEndOfHeader,
  • sendParts,
  • sendStart,
  • sendTransferEncodingHeader,
  • setPartBoundary

Popular in Java

  • Reactive rest calls using spring rest template
  • getSupportFragmentManager (FragmentActivity)
  • notifyDataSetChanged (ArrayAdapter)
  • putExtra (Intent)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Top Vim plugins
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