Constructor and Description |
---|
Headers(InputStream source,
String defaultContentTransferEncoding) |
Headers(List<String> headerLines,
String defaultContentTransferEncoding) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(String s) |
void |
dumpHeaders(OutputStream outputStream) |
String |
getBoundary() |
String |
getContentTransferEncoding() |
String |
getContentType() |
Map<String,String> |
getContentTypeAttributes()
Return the a Map of the ContentType attributes and their values.
|
Iterator<String> |
getNames() |
String[] |
getValues(String header) |
boolean |
isEmpty() |
boolean |
isMultipart() |
Iterator<String> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public Headers(InputStream source, String defaultContentTransferEncoding) throws IOException
IOException
public Map<String,String> getContentTypeAttributes()
public boolean isMultipart()
public String getBoundary()
public String getContentType()
public String getContentTransferEncoding()
public boolean isEmpty()
public boolean containsKey(String s)
public void dumpHeaders(OutputStream outputStream) throws IOException
IOException
Copyright © 2020 BouncyCastle.org. All rights reserved.