@Override public Optional<String> getDescription() { return this.resourceMethod.getDescription(); }
@Override public <T extends Annotation> Optional<T> getAnnotation(Class<T> annotationType) { return this.resourceMethod.getJavaAnnotation(annotationType); }
@Override public Optional<RamlEntity> getProducedType() { return this.resourceMethod.getProducedEntity().transform(new Function<JaxRsEntity, RamlEntity>() { @Override public RamlEntity apply(JaxRsEntity input) { return JaxRsRamlEntity.create(input); } }); }
@Override public Optional<RamlEntity> getConsumedType() { return this.resourceMethod.getConsumedEntity().transform(new Function<JaxRsEntity, RamlEntity>() { @Override public RamlEntity apply(JaxRsEntity input) { return JaxRsRamlEntity.create(input); } }); }
@Override public List<RamlHeaderParameter> getHeaderParameters() { return Utilities.toRamlHeaderParameters(this.resourceMethod.getHeaderParameters()).toList(); }
@Override public List<RamlMultiFormDataParameter> getMultiFormDataParameter() { return Utilities.toRamlMultiPartFormDataParameters(this.resourceMethod.getMultiPartFormDataParameters()).toList(); }
@Override public List<RamlMediaType> getProducedMediaTypes() { return Utilities.toRamlMediaTypes(this.resourceMethod.getProducedMediaTypes()).toList(); }
@Override public List<RamlMediaType> getConsumedMediaTypes() { return Utilities.toRamlMediaTypes(this.resourceMethod.getConsumedMediaTypes()).toList(); }
@Override public List<RamlFormParameter> getFormParameters() { return Utilities.toRamlFormParameters(this.resourceMethod.getFormParameters()).toList(); }
@Override public String getHttpMethod() { return this.resourceMethod.getHttpVerb().getString().toLowerCase(); }
@Override public Optional<RamlEntity> getProducedType() { return this.resourceMethod.getProducedEntity().transform(new Function<JaxRsEntity, RamlEntity>() { @Override public RamlEntity apply(JaxRsEntity input) { return JaxRsRamlEntity.create(input); } }); }
@Override public Optional<RamlEntity> getConsumedType() { return this.resourceMethod.getConsumedEntity().transform(new Function<JaxRsEntity, RamlEntity>() { @Override public RamlEntity apply(JaxRsEntity input) { return JaxRsRamlEntity.create(input); } }); }
@Override public List<RamlHeaderParameter> getHeaderParameters() { return Utilities.toRamlHeaderParameters(this.resourceMethod.getHeaderParameters()).toList(); }
@Override public List<RamlMultiFormDataParameter> getMultiFormDataParameter() { return Utilities.toRamlMultiPartFormDataParameters(this.resourceMethod.getMultiPartFormDataParameters()).toList(); }
@Override public List<RamlMediaType> getProducedMediaTypes() { return Utilities.toRamlMediaTypes(this.resourceMethod.getProducedMediaTypes()).toList(); }
@Override public List<RamlMediaType> getConsumedMediaTypes() { return Utilities.toRamlMediaTypes(this.resourceMethod.getConsumedMediaTypes()).toList(); }
@Override public List<RamlFormParameter> getFormParameters() { return Utilities.toRamlFormParameters(this.resourceMethod.getFormParameters()).toList(); }
@Override public String getHttpMethod() { return this.resourceMethod.getHttpVerb().getString().toLowerCase(); }
@Override public Optional<String> getDescription() { return this.resourceMethod.getDescription(); }
@Override public <T extends Annotation> Optional<T> getAnnotation(Class<T> annotationType) { return (Optional<T>) this.resourceMethod.getJavaAnnotation(annotationType); }