Class StringBasedResult

All Implemented Interfaces:
ILocatorSupport, IMimeTypeSupport, IResult, IStreamResult

public class StringBasedResult extends StreamResult
  • Constructor Details

    • StringBasedResult

      public StringBasedResult(String contentType, String string)
  • Method Details

    • getLocator

      public ILocator getLocator()
      Description copied from interface: ILocatorSupport
      Return the ILocator that defines the physical resource location for the reciver.
      Returns:
      Return the ILocator that defines the physical resource location for the reciver.
    • getString

      public String getString()
    • toString

      public String toString()
      Overrides:
      toString in class Object