| 1 |
package org.jboss.resteasy.spi.interception; |
| 2 |
|
| 3 |
import javax.ws.rs.WebApplicationException; |
| 4 |
import javax.ws.rs.core.MediaType; |
| 5 |
import javax.ws.rs.core.MultivaluedMap; |
| 6 |
import java.io.IOException; |
| 7 |
import java.io.InputStream; |
| 8 |
import java.lang.annotation.Annotation; |
| 9 |
import java.lang.reflect.Type; |
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
@Deprecated |
| 21 |
public interface MessageBodyReaderContext |
| 22 |
{ |
| 23 |
Class getType(); |
| 24 |
|
| 25 |
void setType(Class type); |
| 26 |
|
| 27 |
Type getGenericType(); |
| 28 |
|
| 29 |
void setGenericType(Type genericType); |
| 30 |
|
| 31 |
Annotation[] getAnnotations(); |
| 32 |
|
| 33 |
void setAnnotations(Annotation[] annotations); |
| 34 |
|
| 35 |
MediaType getMediaType(); |
| 36 |
|
| 37 |
void setMediaType(MediaType mediaType); |
| 38 |
|
| 39 |
MultivaluedMap<String, String> getHeaders(); |
| 40 |
|
| 41 |
InputStream getInputStream(); |
| 42 |
|
| 43 |
void setInputStream(InputStream is); |
| 44 |
|
| 45 |
|
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
|
| 51 |
|
| 52 |
Object getAttribute(String attribute); |
| 53 |
|
| 54 |
void setAttribute(String name, Object value); |
| 55 |
|
| 56 |
void removeAttribute(String name); |
| 57 |
|
| 58 |
Object proceed() throws IOException, WebApplicationException; |
| 59 |
} |