Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for HttpServletResponse (0.16 sec)

  1. src/main/java/jcifs/http/NtlmSsp.java

     */
    
    package jcifs.http;
    
    
    import java.io.IOException;
    
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    
    import org.bouncycastle.util.encoders.Base64;
    
    import jcifs.CIFSContext;
    import jcifs.ntlmssp.NtlmFlags;
    import jcifs.ntlmssp.Type1Message;
    import jcifs.ntlmssp.Type2Message;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/api/WebApiResponse.java

    import java.io.PrintWriter;
    
    import org.apache.commons.io.output.ByteArrayOutputStream;
    
    import jakarta.servlet.http.HttpServletResponse;
    import jakarta.servlet.http.HttpServletResponseWrapper;
    
    public class WebApiResponse extends HttpServletResponseWrapper {
    
        public WebApiResponse(final HttpServletResponse response) {
            super(response);
        }
    
        @Override
        public PrintWriter getWriter() throws IOException {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/api/BaseApiManager.java

    import org.codelibs.fess.Constants;
    import org.lastaflute.web.util.LaRequestUtil;
    import org.lastaflute.web.util.LaResponseUtil;
    
    import jakarta.servlet.http.HttpServletRequest;
    import jakarta.servlet.http.HttpServletResponse;
    
    public abstract class BaseApiManager implements WebApiManager {
    
        private static final String API_FORMAT_TYPE = "apiFormatType";
    
        protected String pathPrefix;
    
        protected enum FormatType {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java

    import jakarta.annotation.Resource;
    import jakarta.servlet.http.HttpServletResponse;
    
    public class ThumbnailAction extends FessSearchAction {
    
        // ===================================================================================
        //                                                                           Attribute
        //
        @Resource
        protected HttpServletResponse response;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/cors/DefaultCorsHandler.java

        @Override
        public void process(final String origin, final ServletRequest request, final ServletResponse response) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final HttpServletResponse httpResponse = (HttpServletResponse) response;
            httpResponse.addHeader(ACCESS_CONTROL_ALLOW_ORIGIN, origin);
            httpResponse.addHeader(ACCESS_CONTROL_ALLOW_METHODS, fessConfig.getApiCorsAllowMethods());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/filter/CorsFilter.java

                    handler.process(origin, request, response);
    
                    if (OPTIONS.equals(httpRequest.getMethod())) {
                        final HttpServletResponse httpResponse = (HttpServletResponse) response;
                        httpResponse.setStatus(HttpServletResponse.SC_ACCEPTED);
                        return;
                    }
                } else if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/filter/WebApiFilter.java

    import jakarta.servlet.ServletException;
    import jakarta.servlet.ServletRequest;
    import jakarta.servlet.ServletResponse;
    import jakarta.servlet.http.HttpServletRequest;
    import jakarta.servlet.http.HttpServletResponse;
    
    public class WebApiFilter implements Filter {
    
        @Override
        public void init(final FilterConfig filterConfig) throws ServletException {
            // nothing
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/http/NtlmSsp.java

     */
    
    package jcifs.smb1.http;
    
    import java.io.IOException;
    
    import javax.servlet.ServletException;
    
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    
    import jcifs.smb1.ntlmssp.NtlmFlags;
    import jcifs.smb1.ntlmssp.Type1Message;
    import jcifs.smb1.ntlmssp.Type2Message;
    import jcifs.smb1.ntlmssp.Type3Message;
    import jcifs.smb1.smb1.NtlmPasswordAuthentication;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/http/NtlmServlet.java

    import jcifs.smb1.smb1.SmbAuthException;
    import jcifs.smb1.smb1.SmbSession;
    import jcifs.smb1.util.Base64;
    
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    
    /**
     * This servlet may be used with pre-2.3 servlet containers
     * to protect content with NTLM HTTP Authentication. Servlets that
     * extend this abstract base class may be authenticatied against an SMB
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.8K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java

                        throws java.io.IOException, ServletException {
    
                    if (!isMultipartRequest(request) || !request.getMethod().equals(HttpMethods.POST)) {
                        response.setStatus(HttpServletResponse.SC_BAD_REQUEST);
                        response.getWriter().println(HttpServletResponse.SC_BAD_REQUEST);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top