org.glassfish.admin.payload
Class TextPayloadImpl.Inbound

java.lang.Object
  extended by org.glassfish.admin.payload.PayloadImpl.Inbound
      extended by org.glassfish.admin.payload.TextPayloadImpl.Inbound
All Implemented Interfaces:
Payload.Inbound
Enclosing class:
TextPayloadImpl

public static class TextPayloadImpl.Inbound
extends PayloadImpl.Inbound


Method Summary
static TextPayloadImpl.Inbound newInstance(java.lang.String messageContentType, java.io.InputStream is)
           
 java.util.Iterator<Payload.Part> parts()
           
static boolean supportsContentType(java.lang.String contentType)
          Does this Inbound Payload implementation support the given content type?
 
Methods inherited from class org.glassfish.admin.payload.PayloadImpl.Inbound
getHeaderName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newInstance

public static TextPayloadImpl.Inbound newInstance(java.lang.String messageContentType,
                                                  java.io.InputStream is)

supportsContentType

public static boolean supportsContentType(java.lang.String contentType)
Does this Inbound Payload implementation support the given content type?

Returns:
true if the content type is supported

parts

public java.util.Iterator<Payload.Part> parts()


Copyright © 2012 GlassFish Community. All Rights Reserved.