Codota Logo
Part.getName
Code IndexAdd Codota 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)

  • Common ways to obtain Part
private void myMethod () {
Part p =
  • Codota IconString name;String value;new StringPart(name, value)
  • Codota IconString name;File file;new FilePart(name, file)
  • Codota IconString name;String fileName;File file;new FilePart(name, fileName, file)
  • Smart code suggestions by Codota
}
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
  • startActivity (Activity)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • onRequestPermissionsResult (Fragment)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Notification (javax.management)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now