Class HttpPKIMessage

  • All Implemented Interfaces:
    com.netscape.certsrv.connector.IHttpPKIMessage, com.netscape.certsrv.connector.IPKIMessage, java.io.Serializable

    public class HttpPKIMessage
    extends java.lang.Object
    implements com.netscape.certsrv.connector.IHttpPKIMessage
    simple name/value pair message.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.slf4j.Logger logger  
      protected java.util.Vector<java.lang.Object> mNameVals  
      java.lang.String reqId  
      protected java.lang.String reqRealm  
      protected java.lang.String reqStatus  
      java.lang.String reqType  
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpPKIMessage()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void fromRequest​(com.netscape.certsrv.request.IRequest r)
      copy contents of request to make a simple name/value message.
      java.lang.String getReqId()
      Retrieves the request identifier.
      java.lang.String getReqRealm()
      Retrieves the request realm
      java.lang.String getReqStatus()
      Returns status of request.
      java.lang.String getReqType()
      Retrieves the request type.
      void toRequest​(com.netscape.certsrv.request.IRequest r)
      copy contents to request.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • logger

        public static org.slf4j.Logger logger
      • reqType

        public java.lang.String reqType
      • reqId

        public java.lang.String reqId
      • reqStatus

        protected java.lang.String reqStatus
      • reqRealm

        protected java.lang.String reqRealm
      • mNameVals

        protected java.util.Vector<java.lang.Object> mNameVals
    • Constructor Detail

      • HttpPKIMessage

        public HttpPKIMessage()
    • Method Detail

      • getReqStatus

        public java.lang.String getReqStatus()
        Description copied from interface: com.netscape.certsrv.connector.IPKIMessage
        Returns status of request.
        Specified by:
        getReqStatus in interface com.netscape.certsrv.connector.IPKIMessage
        Returns:
        String of request status.
      • getReqType

        public java.lang.String getReqType()
        Description copied from interface: com.netscape.certsrv.connector.IHttpPKIMessage
        Retrieves the request type.
        Specified by:
        getReqType in interface com.netscape.certsrv.connector.IHttpPKIMessage
        Specified by:
        getReqType in interface com.netscape.certsrv.connector.IPKIMessage
        Returns:
        String with the type of request.
      • getReqId

        public java.lang.String getReqId()
        Description copied from interface: com.netscape.certsrv.connector.IHttpPKIMessage
        Retrieves the request identifier.
        Specified by:
        getReqId in interface com.netscape.certsrv.connector.IHttpPKIMessage
        Specified by:
        getReqId in interface com.netscape.certsrv.connector.IPKIMessage
        Returns:
        String of name of request.
      • getReqRealm

        public java.lang.String getReqRealm()
        Description copied from interface: com.netscape.certsrv.connector.IPKIMessage
        Retrieves the request realm
        Specified by:
        getReqRealm in interface com.netscape.certsrv.connector.IPKIMessage
        Returns:
        String of authz realm
      • fromRequest

        public void fromRequest​(com.netscape.certsrv.request.IRequest r)
        copy contents of request to make a simple name/value message.
        Specified by:
        fromRequest in interface com.netscape.certsrv.connector.IHttpPKIMessage
        Specified by:
        fromRequest in interface com.netscape.certsrv.connector.IPKIMessage
        Parameters:
        r - Instance of IRequest to be copied from.
      • toRequest

        public void toRequest​(com.netscape.certsrv.request.IRequest r)
        copy contents to request.
        Specified by:
        toRequest in interface com.netscape.certsrv.connector.IHttpPKIMessage
        Specified by:
        toRequest in interface com.netscape.certsrv.connector.IPKIMessage
        Parameters:
        r - Instance of IRequest to be copied to.