Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for GetStatus (0.1 sec)

  1. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#received()
         */
        @Override
        public final void received () {
            if ( isAsync() && getStatus() == NtStatus.NT_STATUS_PENDING ) {
                synchronized ( this ) {
                    notifyAll();
                }
                return;
            }
            this.received = true;
            synchronized ( this ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 7.4K bytes
    - Viewed (0)
  2. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt

      }
    
      @JvmName("-deprecated_getStatus")
      @Deprecated(
        message = "moved to var",
        replaceWith = ReplaceWith(expression = "status"),
        level = DeprecationLevel.ERROR,
      )
      fun getStatus(): String = status
    
      fun setStatus(status: String) =
        apply {
          this.status = status
        }
    
      fun setResponseCode(code: Int): MockResponse {
        val reason =
          when (code) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#isErrorResponseStatus()
         */
        @Override
        protected boolean isErrorResponseStatus () {
            int status = getStatus();
            return status != NtStatus.NT_STATUS_INVALID_PARAMETER
                    && ! ( status == NtStatus.NT_STATUS_INVALID_PARAMETER
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 7.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/net/NetShareEnumResponse.java

            return 0;
        }
    
    
        @Override
        protected int readParametersWireFormat ( byte[] buffer, int bufferIndex, int len ) {
            int start = bufferIndex;
    
            setStatus(SMBUtil.readInt2(buffer, bufferIndex));
            bufferIndex += 2;
            this.converter = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            setNumEntries(SMBUtil.readInt2(buffer, bufferIndex));
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java

        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#isErrorResponseStatus()
         */
        @Override
        protected boolean isErrorResponseStatus () {
            return getStatus() != NtStatus.NT_STATUS_BUFFER_OVERFLOW && super.isErrorResponseStatus();
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 07:13:17 UTC 2018
    - 3.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

            this.response.reset();
            try {
                getTreeHandle().send(this.nextRequest, this.response);
                return this.response.getStatus() != NtStatus.NT_STATUS_NO_MORE_FILES;
            }
            catch ( SmbException e ) {
                if ( e.getNtStatus() == NtStatus.NT_STATUS_NO_MORE_FILES ) {
                    log.debug("No more entries", e);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 5.3K bytes
    - Viewed (0)
  7. samples/static-server/src/main/java/okhttp3/sample/SampleServer.java

        } catch (FileNotFoundException e) {
          return new MockResponse()
              .setStatus("HTTP/1.1 404")
              .addHeader("content-type: text/plain; charset=utf-8")
              .setBody("NOT FOUND: " + path);
        } catch (IOException e) {
          return new MockResponse()
              .setStatus("HTTP/1.1 500")
              .addHeader("content-type: text/plain; charset=utf-8")
              .setBody("SERVER ERROR: " + e);
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Jan 02 02:50:44 UTC 2019
    - 4.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/NtlmSsp.java

                }
            }
            else {
                resp.setHeader("WWW-Authenticate", "NTLM");
            }
            resp.setStatus(HttpServletResponse.SC_UNAUTHORIZED);
            resp.setContentLength(0);
            resp.flushBuffer();
            return null;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NtlmServlet.java

                        response.addHeader("WWW-Authenticate", "Basic realm=\"" + this.realm + "\"");
                    }
                    response.setHeader("Connection", "close");
                    response.setStatus(HttpServletResponse.SC_UNAUTHORIZED);
                    response.flushBuffer();
                    return;
                }
                HttpSession ssn = request.getSession();
                ssn.setAttribute("NtlmHttpAuth", ntlm);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponse.java

            this.available = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            setStatus(SMBUtil.readInt2(buffer, bufferIndex));
            return 6;
        }
    
    
        @Override
        protected int readDataWireFormat ( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.7K bytes
    - Viewed (0)
Back to top