All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.techempower.gemini.path.NotImplementedHandler Maven / Gradle / Ivy

There is a newer version: 3.3.14
Show newest version
package com.techempower.gemini.path;

import com.techempower.gemini.Context;

public class NotImplementedHandler
  implements PathHandler
{
  @Override
  public boolean prehandle(PathSegments segments, C context) {
    //Do Nothing
    return false;
  }

  @Override
  public boolean handle(PathSegments segments, C context)
  {
    context.setStatus(501);
    return true;
  }

  @Override
  public void posthandle(PathSegments segments, C context)
  {
    // Do nothing
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy