Package org.glassfish.admin.payload
Class TextPayloadImpl.Inbound
- java.lang.Object
-
- org.glassfish.admin.payload.PayloadImpl.Inbound
-
- org.glassfish.admin.payload.TextPayloadImpl.Inbound
-
- All Implemented Interfaces:
Payload.Inbound
- Enclosing class:
- TextPayloadImpl
public static class TextPayloadImpl.Inbound extends PayloadImpl.Inbound
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TextPayloadImpl.Inbound
newInstance(String messageContentType, InputStream is)
Iterator<Payload.Part>
parts()
Returns the parts from the inbound payload.static boolean
supportsContentType(String contentType)
Does this Inbound Payload implementation support the given content type?-
Methods inherited from class org.glassfish.admin.payload.PayloadImpl.Inbound
getHeaderName
-
-
-
-
Method Detail
-
newInstance
public static TextPayloadImpl.Inbound newInstance(String messageContentType, InputStream is)
-
supportsContentType
public static boolean supportsContentType(String contentType)
Does this Inbound Payload implementation support the given content type?- Returns:
- true if the content type is supported
-
parts
public Iterator<Payload.Part> parts()
Description copied from interface:Payload.Inbound
Returns the parts from the inbound payload.- Returns:
- Iterator over the inbound Parts
-
-