Class V2RequestConsumer

java.lang.Object
jp.cssj.driver.ctip.v2.V2RequestConsumer

public class V2RequestConsumer extends Object
  • Method Details

    • setCTIPSession

      protected void setCTIPSession(V2Session session)
    • property

      public void property(String name, String value) throws IOException
      Sends a property.
      Parameters:
      name - The property name.
      value - The value.
      Throws:
      IOException
    • clientResource

      public void clientResource(boolean on) throws IOException
      Sets the mode for resolving resources on the client.
      Parameters:
      on - true to enable the mode, false to disable it.
      Throws:
      IOException
    • startMain

      public void startMain(URI uri, String mimeType, String encoding, long length) throws IOException
      Signals the start of the main document.
      Parameters:
      uri - The virtual URI.
      mimeType - The MIME type.
      encoding - The character encoding.
      Throws:
      IOException
    • serverMain

      public void serverMain(URI uri) throws IOException
      Retrieves the main document on the server.
      Parameters:
      uri - The URI of the main document.
      Throws:
      IOException
    • data

      public void data(byte[] b, int off, int len) throws IOException
      Sends a data packet.
      Parameters:
      b - The byte array buffer.
      off - The starting offset of the data.
      len - The length of the data.
      Throws:
      IOException
    • startResource

      public void startResource(URI uri, String mimeType, String encoding, long length) throws IOException
      Signals the start of a resource.
      Parameters:
      uri - The virtual URI.
      mimeType - The MIME type.
      encoding - The character encoding.
      Throws:
      IOException
    • missingResource

      public void missingResource(URI uri) throws IOException
      Reports a resource as missing.
      Parameters:
      uri - The URI of the resource.
      Throws:
      IOException
    • eof

      public void eof() throws IOException
      Signals the end of data.
      Throws:
      IOException
    • continuous

      public void continuous(boolean continuous) throws IOException
      Switches the mode for combining multiple results.
      Parameters:
      continuous - The mode for combining results.
      Throws:
      IOException
    • join

      public void join() throws IOException
      Requests that the results be combined.
      Throws:
      IOException
    • abort

      public void abort(byte mode) throws IOException
      Requests that processing be aborted.
      Parameters:
      mode - The abort mode.
      Throws:
      IOException
    • reset

      public void reset() throws IOException
      Resets the state.
      Throws:
      IOException
    • close

      public void close() throws IOException
      Ends communication.
      Throws:
      IOException
    • serverInfo

      public void serverInfo(URI uri) throws IOException
      Requests server information.
      Parameters:
      uri - The URI of the server information.
      Throws:
      IOException