org.jboss.resteasy.plugins.providers.multipart
Interface InputPart

All Known Implementing Classes:
MultipartInputImpl.PartImpl

public interface InputPart

Version:
$Revision: 1 $
Author:
Bill Burke

Method Summary
<T> T
getBody(java.lang.Class<T> type, java.lang.reflect.Type genericType)
           
<T> T
getBody(GenericType<T> type)
           
 java.lang.String getBodyAsString()
           
 MultivaluedMap<java.lang.String,java.lang.String> getHeaders()
           
 MediaType getMediaType()
           
 

Method Detail

getHeaders

MultivaluedMap<java.lang.String,java.lang.String> getHeaders()

getBodyAsString

java.lang.String getBodyAsString()

getBody

<T> T getBody(java.lang.Class<T> type,
              java.lang.reflect.Type genericType)
          throws java.io.IOException
Throws:
java.io.IOException

getBody

<T> T getBody(GenericType<T> type)
          throws java.io.IOException
Throws:
java.io.IOException

getMediaType

MediaType getMediaType()


Copyright © 2009. All Rights Reserved.