org.jboss.resteasy.plugins.providers.multipart
Class MultipartInputImpl.PartImpl
java.lang.Object
org.jboss.resteasy.plugins.providers.multipart.MultipartInputImpl.PartImpl
- All Implemented Interfaces:
- InputPart
- Enclosing class:
- MultipartInputImpl
public class MultipartInputImpl.PartImpl
- extends java.lang.Object
- implements InputPart
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultipartInputImpl.PartImpl
public MultipartInputImpl.PartImpl()
getHeaders
public MultivaluedMap<java.lang.String,java.lang.String> getHeaders()
- Specified by:
getHeaders
in interface InputPart
startBody
public void startBody(int index)
endBody
public void endBody(int index)
addHeader
public void addHeader(java.lang.String header)
getBody
public java.io.InputStream getBody()
getBodyAsString
public java.lang.String getBodyAsString()
- Specified by:
getBodyAsString
in interface InputPart
getBody
public <T> T getBody(java.lang.Class<T> type,
java.lang.reflect.Type genericType)
throws java.io.IOException
- Specified by:
getBody
in interface InputPart
- Throws:
java.io.IOException
getBody
public <T> T getBody(GenericType<T> type)
throws java.io.IOException
- Specified by:
getBody
in interface InputPart
- Throws:
java.io.IOException
getMediaType
public MediaType getMediaType()
- Specified by:
getMediaType
in interface InputPart
Copyright © 2009. All Rights Reserved.