Package org.apache.cxf.jaxrs.impl
Class EntityPartImpl
java.lang.Object
org.apache.cxf.jaxrs.impl.EntityPartImpl
- All Implemented Interfaces:
jakarta.ws.rs.core.EntityPart
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.ws.rs.core.EntityPart
jakarta.ws.rs.core.EntityPart.Builder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> TgetContent(jakarta.ws.rs.core.GenericType<T> asType) <T> TgetContent(Class<T> asType) jakarta.ws.rs.core.MediaTypegetName()
-
Constructor Details
-
EntityPartImpl
-
-
Method Details
-
getName
- Specified by:
getNamein interfacejakarta.ws.rs.core.EntityPart
-
getFileName
- Specified by:
getFileNamein interfacejakarta.ws.rs.core.EntityPart
-
getContent
- Specified by:
getContentin interfacejakarta.ws.rs.core.EntityPart
-
getContent
public <T> T getContent(Class<T> asType) throws IllegalArgumentException, IllegalStateException, IOException, jakarta.ws.rs.WebApplicationException - Specified by:
getContentin interfacejakarta.ws.rs.core.EntityPart- Throws:
IllegalArgumentExceptionIllegalStateExceptionIOExceptionjakarta.ws.rs.WebApplicationException
-
getContent
public <T> T getContent(jakarta.ws.rs.core.GenericType<T> asType) throws IllegalArgumentException, IllegalStateException, IOException, jakarta.ws.rs.WebApplicationException - Specified by:
getContentin interfacejakarta.ws.rs.core.EntityPart- Throws:
IllegalArgumentExceptionIllegalStateExceptionIOExceptionjakarta.ws.rs.WebApplicationException
-
getHeaders
- Specified by:
getHeadersin interfacejakarta.ws.rs.core.EntityPart
-
getMediaType
public jakarta.ws.rs.core.MediaType getMediaType()- Specified by:
getMediaTypein interfacejakarta.ws.rs.core.EntityPart
-